Skip to content

Commit

Permalink
add seconds for start and end for take graph snapshots API description (
Browse files Browse the repository at this point in the history
#1700)

* Regenerate client from commit d749ce87 of spec repo

* pre-commit fixes

---------

Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Mar 7, 2023
1 parent 537c032 commit c5d27bd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
4 changes: 2 additions & 2 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 12 additions & 12 deletions src/main/java/com/datadog/api/client/v1/api/SnapshotsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ public GetGraphSnapshotOptionalParameters width(Long width) {
*
* <p>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
*/
Expand All @@ -146,8 +146,8 @@ public GraphSnapshot getGraphSnapshot(Long start, Long end) throws ApiException
*
* <p>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&lt;GraphSnapshot&gt;
*/
public CompletableFuture<GraphSnapshot> getGraphSnapshotAsync(Long start, Long end) {
Expand All @@ -163,8 +163,8 @@ public CompletableFuture<GraphSnapshot> getGraphSnapshotAsync(Long start, Long e
*
* <p>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
Expand All @@ -179,8 +179,8 @@ public GraphSnapshot getGraphSnapshot(
*
* <p>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&lt;GraphSnapshot&gt;
*/
Expand All @@ -197,8 +197,8 @@ public CompletableFuture<GraphSnapshot> getGraphSnapshotAsync(
* Take graph snapshots. <strong>Note</strong>: 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&lt;GraphSnapshot&gt;
* @throws ApiException if fails to make API call
Expand Down Expand Up @@ -273,8 +273,8 @@ public ApiResponse<GraphSnapshot> getGraphSnapshotWithHttpInfo(
*
* <p>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&lt;ApiResponse&lt;GraphSnapshot&gt;&gt;
*/
Expand Down

0 comments on commit c5d27bd

Please sign in to comment.