Skip to content

Commit 39f3f54

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 9f3c740 of spec repo (#1291)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 045adce commit 39f3f54

File tree

10 files changed

+440
-71
lines changed

10 files changed

+440
-71
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.5.1.dev2",
7-
"regenerated": "2022-01-12 15:42:16.255976",
8-
"spec_repo_commit": "9a4c69f"
7+
"regenerated": "2022-01-12 16:36:53.454472",
8+
"spec_repo_commit": "9f3c740"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2022-01-12 15:42:16.277368",
13-
"spec_repo_commit": "9a4c69f"
12+
"regenerated": "2022-01-12 16:36:53.476238",
13+
"spec_repo_commit": "9f3c740"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12260,9 +12260,6 @@ components:
1226012260
required:
1226112261
- type
1226212262
- requests
12263-
- size_by
12264-
- color_by
12265-
- group_by
1226612263
type: object
1226712264
TreeMapWidgetDefinitionType:
1226812265
default: treemap
@@ -12276,9 +12273,23 @@ components:
1227612273
TreeMapWidgetRequest:
1227712274
description: An updated treemap widget.
1227812275
properties:
12276+
formulas:
12277+
description: List of formulas that operate on queries. **This feature is
12278+
currently in beta.**
12279+
items:
12280+
$ref: '#/components/schemas/WidgetFormula'
12281+
type: array
1227912282
q:
1228012283
description: The widget metrics query.
1228112284
type: string
12285+
queries:
12286+
description: List of queries that can be returned directly or used in formulas.
12287+
**This feature is currently in beta.**
12288+
items:
12289+
$ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
12290+
type: array
12291+
response_format:
12292+
$ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
1228212293
type: object
1228312294
UsageAnalyzedLogsHour:
1228412295
description: The number of analyzed logs for each hour for a given organization.

api/v1/datadog/docs/TreeMapWidgetDefinition.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44

55
| Name | Type | Description | Notes |
66
| ------------ | ----------------------------------------------------------------- | --------------------------------- | ------------------------------------------------ |
7-
| **ColorBy** | [**TreeMapColorBy**](TreeMapColorBy.md) | | [default to TREEMAPCOLORBY_USER] |
8-
| **GroupBy** | [**TreeMapGroupBy**](TreeMapGroupBy.md) | |
7+
| **ColorBy** | Pointer to [**TreeMapColorBy**](TreeMapColorBy.md) | | [optional] [default to TREEMAPCOLORBY_USER] |
8+
| **GroupBy** | Pointer to [**TreeMapGroupBy**](TreeMapGroupBy.md) | | [optional] |
99
| **Requests** | [**[]TreeMapWidgetRequest**](TreeMapWidgetRequest.md) | List of top list widget requests. |
10-
| **SizeBy** | [**TreeMapSizeBy**](TreeMapSizeBy.md) | |
10+
| **SizeBy** | Pointer to [**TreeMapSizeBy**](TreeMapSizeBy.md) | | [optional] |
1111
| **Title** | Pointer to **string** | Title of your widget. | [optional] |
1212
| **Type** | [**TreeMapWidgetDefinitionType**](TreeMapWidgetDefinitionType.md) | | [default to TREEMAPWIDGETDEFINITIONTYPE_TREEMAP] |
1313

1414
## Methods
1515

1616
### NewTreeMapWidgetDefinition
1717

18-
`func NewTreeMapWidgetDefinition(colorBy TreeMapColorBy, groupBy TreeMapGroupBy, requests []TreeMapWidgetRequest, sizeBy TreeMapSizeBy, type_ TreeMapWidgetDefinitionType) *TreeMapWidgetDefinition`
18+
`func NewTreeMapWidgetDefinition(requests []TreeMapWidgetRequest, type_ TreeMapWidgetDefinitionType) *TreeMapWidgetDefinition`
1919

2020
NewTreeMapWidgetDefinition instantiates a new TreeMapWidgetDefinition object.
2121
This constructor will assign default values to properties that have it defined,
@@ -49,6 +49,12 @@ and a boolean to check if the value has been set.
4949

5050
SetColorBy sets ColorBy field to given value.
5151

52+
### HasColorBy
53+
54+
`func (o *TreeMapWidgetDefinition) HasColorBy() bool`
55+
56+
HasColorBy returns a boolean if a field has been set.
57+
5258
### GetGroupBy
5359

5460
`func (o *TreeMapWidgetDefinition) GetGroupBy() TreeMapGroupBy`
@@ -68,6 +74,12 @@ and a boolean to check if the value has been set.
6874

6975
SetGroupBy sets GroupBy field to given value.
7076

77+
### HasGroupBy
78+
79+
`func (o *TreeMapWidgetDefinition) HasGroupBy() bool`
80+
81+
HasGroupBy returns a boolean if a field has been set.
82+
7183
### GetRequests
7284

7385
`func (o *TreeMapWidgetDefinition) GetRequests() []TreeMapWidgetRequest`
@@ -106,6 +118,12 @@ and a boolean to check if the value has been set.
106118

107119
SetSizeBy sets SizeBy field to given value.
108120

121+
### HasSizeBy
122+
123+
`func (o *TreeMapWidgetDefinition) HasSizeBy() bool`
124+
125+
HasSizeBy returns a boolean if a field has been set.
126+
109127
### GetTitle
110128

111129
`func (o *TreeMapWidgetDefinition) GetTitle() string`

api/v1/datadog/docs/TreeMapWidgetRequest.md

Lines changed: 81 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22

33
## Properties
44

5-
| Name | Type | Description | Notes |
6-
| ----- | --------------------- | ------------------------- | ---------- |
7-
| **Q** | Pointer to **string** | The widget metrics query. | [optional] |
5+
| Name | Type | Description | Notes |
6+
| ------------------ | ------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------- | ---------- |
7+
| **Formulas** | Pointer to [**[]WidgetFormula**](WidgetFormula.md) | List of formulas that operate on queries. **This feature is currently in beta.** | [optional] |
8+
| **Q** | Pointer to **string** | The widget metrics query. | [optional] |
9+
| **Queries** | Pointer to [**[]FormulaAndFunctionQueryDefinition**](FormulaAndFunctionQueryDefinition.md) | List of queries that can be returned directly or used in formulas. **This feature is currently in beta.** | [optional] |
10+
| **ResponseFormat** | Pointer to [**FormulaAndFunctionResponseFormat**](FormulaAndFunctionResponseFormat.md) | | [optional] |
811

912
## Methods
1013

@@ -25,6 +28,31 @@ NewTreeMapWidgetRequestWithDefaults instantiates a new TreeMapWidgetRequest obje
2528
This constructor will only assign default values to properties that have it defined,
2629
but it doesn't guarantee that properties required by API are set.
2730

31+
### GetFormulas
32+
33+
`func (o *TreeMapWidgetRequest) GetFormulas() []WidgetFormula`
34+
35+
GetFormulas returns the Formulas field if non-nil, zero value otherwise.
36+
37+
### GetFormulasOk
38+
39+
`func (o *TreeMapWidgetRequest) GetFormulasOk() (*[]WidgetFormula, bool)`
40+
41+
GetFormulasOk returns a tuple with the Formulas field if it's non-nil, zero value otherwise
42+
and a boolean to check if the value has been set.
43+
44+
### SetFormulas
45+
46+
`func (o *TreeMapWidgetRequest) SetFormulas(v []WidgetFormula)`
47+
48+
SetFormulas sets Formulas field to given value.
49+
50+
### HasFormulas
51+
52+
`func (o *TreeMapWidgetRequest) HasFormulas() bool`
53+
54+
HasFormulas returns a boolean if a field has been set.
55+
2856
### GetQ
2957

3058
`func (o *TreeMapWidgetRequest) GetQ() string`
@@ -50,4 +78,54 @@ SetQ sets Q field to given value.
5078

5179
HasQ returns a boolean if a field has been set.
5280

81+
### GetQueries
82+
83+
`func (o *TreeMapWidgetRequest) GetQueries() []FormulaAndFunctionQueryDefinition`
84+
85+
GetQueries returns the Queries field if non-nil, zero value otherwise.
86+
87+
### GetQueriesOk
88+
89+
`func (o *TreeMapWidgetRequest) GetQueriesOk() (*[]FormulaAndFunctionQueryDefinition, bool)`
90+
91+
GetQueriesOk returns a tuple with the Queries field if it's non-nil, zero value otherwise
92+
and a boolean to check if the value has been set.
93+
94+
### SetQueries
95+
96+
`func (o *TreeMapWidgetRequest) SetQueries(v []FormulaAndFunctionQueryDefinition)`
97+
98+
SetQueries sets Queries field to given value.
99+
100+
### HasQueries
101+
102+
`func (o *TreeMapWidgetRequest) HasQueries() bool`
103+
104+
HasQueries returns a boolean if a field has been set.
105+
106+
### GetResponseFormat
107+
108+
`func (o *TreeMapWidgetRequest) GetResponseFormat() FormulaAndFunctionResponseFormat`
109+
110+
GetResponseFormat returns the ResponseFormat field if non-nil, zero value otherwise.
111+
112+
### GetResponseFormatOk
113+
114+
`func (o *TreeMapWidgetRequest) GetResponseFormatOk() (*FormulaAndFunctionResponseFormat, bool)`
115+
116+
GetResponseFormatOk returns a tuple with the ResponseFormat field if it's non-nil, zero value otherwise
117+
and a boolean to check if the value has been set.
118+
119+
### SetResponseFormat
120+
121+
`func (o *TreeMapWidgetRequest) SetResponseFormat(v FormulaAndFunctionResponseFormat)`
122+
123+
SetResponseFormat sets ResponseFormat field to given value.
124+
125+
### HasResponseFormat
126+
127+
`func (o *TreeMapWidgetRequest) HasResponseFormat() bool`
128+
129+
HasResponseFormat returns a boolean if a field has been set.
130+
53131
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

0 commit comments

Comments
 (0)