Skip to content

Commit

Permalink
Regenerate client from commit b3ab4f75 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 6, 2025
1 parent eed3ef9 commit 3bc90f1
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 8 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.6",
"regenerated": "2025-02-04 14:10:00.992806",
"spec_repo_commit": "4fb9047a"
"regenerated": "2025-02-06 15:30:43.394233",
"spec_repo_commit": "b3ab4f75"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-04 14:10:01.007762",
"spec_repo_commit": "4fb9047a"
"regenerated": "2025-02-06 15:30:43.409280",
"spec_repo_commit": "b3ab4f75"
}
}
}
10 changes: 9 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40197,7 +40197,7 @@ paths:
required: false
schema:
type: boolean
- description: '(Beta) Filter custom metrics that have or have not been queried
- description: '(Preview) Filter custom metrics that have or have not been queried
in the specified window[seconds].

If no window is provided or the window is less than 2 hours, a default of
Expand All @@ -40218,6 +40218,14 @@ paths:
required: false
schema:
type: string
- description: (Preview) Filter metrics that are used in dashboards, monitors,
notebooks, SLOs.
example: true
in: query
name: filter[related_assets]
required: false
schema:
type: boolean
- description: 'The number of seconds of look back (from now) to apply to a
filter[tag] or filter[queried] query.

Expand Down
26 changes: 23 additions & 3 deletions src/main/java/com/datadog/api/client/v2/api/MetricsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -1452,6 +1452,7 @@ public static class ListTagConfigurationsOptionalParameters {
private Boolean filterIncludePercentiles;
private Boolean filterQueried;
private String filterTags;
private Boolean filterRelatedAssets;
private Long windowSeconds;
private Integer pageSize;
private String pageCursor;
Expand Down Expand Up @@ -1507,9 +1508,9 @@ public ListTagConfigurationsOptionalParameters filterIncludePercentiles(
/**
* Set filterQueried.
*
* @param filterQueried (Beta) Filter custom metrics that have or have not been queried in the
* specified window[seconds]. If no window is provided or the window is less than 2 hours, a
* default of 2 hours will be applied. (optional)
* @param filterQueried (Preview) Filter custom metrics that have or have not been queried in
* the specified window[seconds]. If no window is provided or the window is less than 2
* hours, a default of 2 hours will be applied. (optional)
* @return ListTagConfigurationsOptionalParameters
*/
public ListTagConfigurationsOptionalParameters filterQueried(Boolean filterQueried) {
Expand All @@ -1530,6 +1531,19 @@ public ListTagConfigurationsOptionalParameters filterTags(String filterTags) {
return this;
}

/**
* Set filterRelatedAssets.
*
* @param filterRelatedAssets (Preview) Filter metrics that are used in dashboards, monitors,
* notebooks, SLOs. (optional)
* @return ListTagConfigurationsOptionalParameters
*/
public ListTagConfigurationsOptionalParameters filterRelatedAssets(
Boolean filterRelatedAssets) {
this.filterRelatedAssets = filterRelatedAssets;
return this;
}

/**
* Set windowSeconds.
*
Expand Down Expand Up @@ -1712,6 +1726,7 @@ public ApiResponse<MetricsAndMetricTagConfigurationsResponse> listTagConfigurati
Boolean filterIncludePercentiles = parameters.filterIncludePercentiles;
Boolean filterQueried = parameters.filterQueried;
String filterTags = parameters.filterTags;
Boolean filterRelatedAssets = parameters.filterRelatedAssets;
Long windowSeconds = parameters.windowSeconds;
Integer pageSize = parameters.pageSize;
String pageCursor = parameters.pageCursor;
Expand All @@ -1731,6 +1746,8 @@ public ApiResponse<MetricsAndMetricTagConfigurationsResponse> listTagConfigurati
apiClient.parameterToPairs("", "filter[include_percentiles]", filterIncludePercentiles));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[queried]", filterQueried));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[tags]", filterTags));
localVarQueryParams.addAll(
apiClient.parameterToPairs("", "filter[related_assets]", filterRelatedAssets));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "window[seconds]", windowSeconds));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[size]", pageSize));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[cursor]", pageCursor));
Expand Down Expand Up @@ -1772,6 +1789,7 @@ public ApiResponse<MetricsAndMetricTagConfigurationsResponse> listTagConfigurati
Boolean filterIncludePercentiles = parameters.filterIncludePercentiles;
Boolean filterQueried = parameters.filterQueried;
String filterTags = parameters.filterTags;
Boolean filterRelatedAssets = parameters.filterRelatedAssets;
Long windowSeconds = parameters.windowSeconds;
Integer pageSize = parameters.pageSize;
String pageCursor = parameters.pageCursor;
Expand All @@ -1791,6 +1809,8 @@ public ApiResponse<MetricsAndMetricTagConfigurationsResponse> listTagConfigurati
apiClient.parameterToPairs("", "filter[include_percentiles]", filterIncludePercentiles));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[queried]", filterQueried));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[tags]", filterTags));
localVarQueryParams.addAll(
apiClient.parameterToPairs("", "filter[related_assets]", filterRelatedAssets));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "window[seconds]", windowSeconds));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[size]", pageSize));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[cursor]", pageCursor));
Expand Down

0 comments on commit 3bc90f1

Please sign in to comment.