From c5d27bd78419f973a1e327a23a30e62ed4fbb416 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Tue, 7 Mar 2023 14:21:39 +0000 Subject: [PATCH] add seconds for start and end for take graph snapshots API description (#1700) * Regenerate client from commit d749ce87 of spec repo * pre-commit fixes --------- Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 +++---- .generator/schemas/v1/openapi.yaml | 4 ++-- .../api/client/v1/api/SnapshotsApi.java | 24 +++++++++---------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index e7b15cb9779..767e8125c18 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2023-03-06 21:45:28.999304", - "spec_repo_commit": "c9d1fe42" + "regenerated": "2023-03-06 21:58:44.919155", + "spec_repo_commit": "d749ce87" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2023-03-06 21:45:29.012263", - "spec_repo_commit": "c9d1fe42" + "regenerated": "2023-03-06 21:58:44.934778", + "spec_repo_commit": "d749ce87" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 9aa643de2f4..155ca08eafe 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -20761,14 +20761,14 @@ paths: name: metric_query schema: type: string - - description: The POSIX timestamp of the start of the query. + - description: The POSIX timestamp of the start of the query in seconds. in: query name: start required: true schema: format: int64 type: integer - - description: The POSIX timestamp of the end of the query. + - description: The POSIX timestamp of the end of the query in seconds. in: query name: end required: true diff --git a/src/main/java/com/datadog/api/client/v1/api/SnapshotsApi.java b/src/main/java/com/datadog/api/client/v1/api/SnapshotsApi.java index 2448e8775df..6234cdd8ac4 100644 --- a/src/main/java/com/datadog/api/client/v1/api/SnapshotsApi.java +++ b/src/main/java/com/datadog/api/client/v1/api/SnapshotsApi.java @@ -131,8 +131,8 @@ public GetGraphSnapshotOptionalParameters width(Long width) { * *

See {@link #getGraphSnapshotWithHttpInfo}. * - * @param start The POSIX timestamp of the start of the query. (required) - * @param end The POSIX timestamp of the end of the query. (required) + * @param start The POSIX timestamp of the start of the query in seconds. (required) + * @param end The POSIX timestamp of the end of the query in seconds. (required) * @return GraphSnapshot * @throws ApiException if fails to make API call */ @@ -146,8 +146,8 @@ public GraphSnapshot getGraphSnapshot(Long start, Long end) throws ApiException * *

See {@link #getGraphSnapshotWithHttpInfoAsync}. * - * @param start The POSIX timestamp of the start of the query. (required) - * @param end The POSIX timestamp of the end of the query. (required) + * @param start The POSIX timestamp of the start of the query in seconds. (required) + * @param end The POSIX timestamp of the end of the query in seconds. (required) * @return CompletableFuture<GraphSnapshot> */ public CompletableFuture getGraphSnapshotAsync(Long start, Long end) { @@ -163,8 +163,8 @@ public CompletableFuture getGraphSnapshotAsync(Long start, Long e * *

See {@link #getGraphSnapshotWithHttpInfo}. * - * @param start The POSIX timestamp of the start of the query. (required) - * @param end The POSIX timestamp of the end of the query. (required) + * @param start The POSIX timestamp of the start of the query in seconds. (required) + * @param end The POSIX timestamp of the end of the query in seconds. (required) * @param parameters Optional parameters for the request. * @return GraphSnapshot * @throws ApiException if fails to make API call @@ -179,8 +179,8 @@ public GraphSnapshot getGraphSnapshot( * *

See {@link #getGraphSnapshotWithHttpInfoAsync}. * - * @param start The POSIX timestamp of the start of the query. (required) - * @param end The POSIX timestamp of the end of the query. (required) + * @param start The POSIX timestamp of the start of the query in seconds. (required) + * @param end The POSIX timestamp of the end of the query in seconds. (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<GraphSnapshot> */ @@ -197,8 +197,8 @@ public CompletableFuture getGraphSnapshotAsync( * Take graph snapshots. Note: When a snapshot is created, there is some delay * before it is available. * - * @param start The POSIX timestamp of the start of the query. (required) - * @param end The POSIX timestamp of the end of the query. (required) + * @param start The POSIX timestamp of the start of the query in seconds. (required) + * @param end The POSIX timestamp of the end of the query in seconds. (required) * @param parameters Optional parameters for the request. * @return ApiResponse<GraphSnapshot> * @throws ApiException if fails to make API call @@ -273,8 +273,8 @@ public ApiResponse getGraphSnapshotWithHttpInfo( * *

See {@link #getGraphSnapshotWithHttpInfo}. * - * @param start The POSIX timestamp of the start of the query. (required) - * @param end The POSIX timestamp of the end of the query. (required) + * @param start The POSIX timestamp of the start of the query in seconds. (required) + * @param end The POSIX timestamp of the end of the query in seconds. (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<ApiResponse<GraphSnapshot>> */