Skip to content

Commit 46e81b7

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit a75da1e of spec repo (#685)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 75156da commit 46e81b7

8 files changed

+17
-16
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.1.dev8",
7-
"regenerated": "2021-03-08 08:26:25.585432",
8-
"spec_repo_commit": "317577f"
7+
"regenerated": "2021-03-08 11:23:20.688526",
8+
"spec_repo_commit": "a75da1e"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev8",
12-
"regenerated": "2021-03-08 08:26:37.065132",
13-
"spec_repo_commit": "317577f"
12+
"regenerated": "2021-03-08 11:23:30.713144",
13+
"spec_repo_commit": "a75da1e"
1414
}
1515
}
1616
}

api_docs/v1/FormulaAndFunctionEventQueryDefinition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
**dataSource** | **FormulaAndFunctionEventsDataSource** | |
1212
**groupBy** | [**List&lt;FormulaAndFunctionEventQueryGroupBy&gt;**](FormulaAndFunctionEventQueryGroupBy.md) | Group by options. | [optional]
1313
**indexes** | **List&lt;String&gt;** | An array of index names to query in the stream. Omit or use &#x60;[]&#x60; to query all indexes at once. | [optional]
14-
**name** | **String** | Name of the query for use in formulas. | [optional]
14+
**name** | **String** | Name of the query for use in formulas. |
1515
**search** | [**FormulaAndFunctionEventQueryDefinitionSearch**](FormulaAndFunctionEventQueryDefinitionSearch.md) | | [optional]
1616

1717

api_docs/v1/FormulaAndFunctionMetricQueryDefinition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
1010
**aggregator** | **FormulaAndFunctionMetricAggregation** | | [optional]
1111
**dataSource** | **FormulaAndFunctionMetricDataSource** | |
12-
**name** | **String** | Name of the query for use in formulas. | [optional]
12+
**name** | **String** | Name of the query for use in formulas. |
1313
**query** | **String** | Metrics query definition. |
1414

1515

api_docs/v1/FormulaAndFunctionProcessQueryDefinition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
1212
**isNormalizedCpu** | **Boolean** | Whether to normalize the CPU percentages. | [optional]
1313
**limit** | **Long** | Number of hits to return. | [optional]
1414
**metric** | **String** | Process metric name. |
15-
**name** | **String** | Name of query for use in formulas. | [optional]
15+
**name** | **String** | Name of query for use in formulas. |
1616
**sort** | **QuerySortOrder** | | [optional]
1717
**tagFilters** | **List&lt;String&gt;** | An array of tags to filter by. | [optional]
1818
**textFilter** | **String** | Text to use as filter. | [optional]

src/main/java/com/datadog/api/v1/client/model/FormulaAndFunctionEventQueryDefinition.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,9 @@ public FormulaAndFunctionEventQueryDefinition name(String name) {
184184
* Name of the query for use in formulas.
185185
* @return name
186186
**/
187-
@javax.annotation.Nullable
188-
@ApiModelProperty(example = "query_errors", value = "Name of the query for use in formulas.")
187+
@ApiModelProperty(example = "query_errors", required = true, value = "Name of the query for use in formulas.")
189188
@JsonProperty(JSON_PROPERTY_NAME)
190-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
189+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
191190

192191
public String getName() {
193192
return name;

src/main/java/com/datadog/api/v1/client/model/FormulaAndFunctionMetricQueryDefinition.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,9 @@ public FormulaAndFunctionMetricQueryDefinition name(String name) {
109109
* Name of the query for use in formulas.
110110
* @return name
111111
**/
112-
@javax.annotation.Nullable
113-
@ApiModelProperty(example = "my_query", value = "Name of the query for use in formulas.")
112+
@ApiModelProperty(example = "my_query", required = true, value = "Name of the query for use in formulas.")
114113
@JsonProperty(JSON_PROPERTY_NAME)
115-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
114+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
116115

117116
public String getName() {
118117
return name;

src/main/java/com/datadog/api/v1/client/model/FormulaAndFunctionProcessQueryDefinition.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,9 @@ public FormulaAndFunctionProcessQueryDefinition name(String name) {
203203
* Name of query for use in formulas.
204204
* @return name
205205
**/
206-
@javax.annotation.Nullable
207-
@ApiModelProperty(value = "Name of query for use in formulas.")
206+
@ApiModelProperty(example = "query_errors", required = true, value = "Name of query for use in formulas.")
208207
@JsonProperty(JSON_PROPERTY_NAME)
209-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
208+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
210209

211210
public String getName() {
212211
return name;

src/main/java/com/datadog/api/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,6 +1657,7 @@ components:
16571657
required:
16581658
- data_source
16591659
- compute
1660+
- name
16601661
type: object
16611662
FormulaAndFunctionEventQueryGroupBy:
16621663
description: List of objects used to group by.
@@ -1753,6 +1754,7 @@ components:
17531754
required:
17541755
- data_source
17551756
- query
1757+
- name
17561758
type: object
17571759
FormulaAndFunctionProcessQueryDataSource:
17581760
description: Data sources that rely on the process backend.
@@ -1783,6 +1785,7 @@ components:
17831785
type: string
17841786
name:
17851787
description: Name of query for use in formulas.
1788+
example: query_errors
17861789
type: string
17871790
sort:
17881791
$ref: '#/components/schemas/QuerySortOrder'
@@ -1798,6 +1801,7 @@ components:
17981801
required:
17991802
- data_source
18001803
- metric
1804+
- name
18011805
type: object
18021806
FormulaAndFunctionQueryDefinition:
18031807
description: A formula and function query.

0 commit comments

Comments
 (0)