Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add seconds for start and end for take graph snapshots API description #1700

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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