Skip to content

Commit a8d3d20

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit bdbc1cb of spec repo (#103)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent eaf8373 commit a8d3d20

File tree

8 files changed

+48
-4
lines changed

8 files changed

+48
-4
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.2.0",
7-
"regenerated": "2020-10-02 08:27:49.862345",
8-
"spec_repo_commit": "77e1e09"
7+
"regenerated": "2020-10-02 09:00:49.166789",
8+
"spec_repo_commit": "bdbc1cb"
99
},
1010
"v2": {
1111
"apigentools_version": "1.2.0",
12-
"regenerated": "2020-10-02 08:28:00.391939",
13-
"spec_repo_commit": "77e1e09"
12+
"regenerated": "2020-10-02 09:00:59.749925",
13+
"spec_repo_commit": "bdbc1cb"
1414
}
1515
}
1616
}

docs/v1/TableWidgetDefinition.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**requests** | [**[TableWidgetRequest]**](TableWidgetRequest.md) | Widget definition. |
88
**type** | [**TableWidgetDefinitionType**](TableWidgetDefinitionType.md) | |
99
**custom_links** | [**[WidgetCustomLink]**](WidgetCustomLink.md) | List of custom links. | [optional]
10+
**has_search_bar** | **str** | Controls the display of the search bar. | [optional] if omitted the server will use the default value of "auto"
1011
**time** | [**WidgetTime**](WidgetTime.md) | | [optional]
1112
**title** | **str** | Title of your widget. | [optional]
1213
**title_align** | [**WidgetTextAlign**](WidgetTextAlign.md) | | [optional]

docs/v1/TableWidgetRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**alias** | **str** | The column name (defaults to the metric name). | [optional]
99
**apm_query** | [**LogQueryDefinition**](LogQueryDefinition.md) | | [optional]
1010
**apm_stats_query** | [**ApmStatsQueryDefinition**](ApmStatsQueryDefinition.md) | | [optional]
11+
**cell_display_mode** | **[str]** | A list of display modes for each table cell. | [optional]
1112
**conditional_formats** | [**[WidgetConditionalFormat]**](WidgetConditionalFormat.md) | List of conditional formats. | [optional]
1213
**event_query** | [**EventQueryDefinition**](EventQueryDefinition.md) | | [optional]
1314
**limit** | **int** | For metric queries, the number of lines to show in the table. Only one request should have this property. | [optional]

docs/v1/WidgetDefinition.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Name | Type | Description | Notes
8181
**show_latency** | **bool** | Whether to show the latency metrics or not. | [optional]
8282
**show_resource_list** | **bool** | Whether to show the resource list or not. | [optional]
8383
**size_format** | [**WidgetSizeFormat**](WidgetSizeFormat.md) | | [optional]
84+
**has_search_bar** | **str** | Controls the display of the search bar. | [optional] if omitted the server will use the default value of "auto"
8485
**markers** | [**[WidgetMarker]**](WidgetMarker.md) | List of markers. | [optional]
8586
**right_yaxis** | [**WidgetAxis**](WidgetAxis.md) | | [optional]
8687
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

src/datadog_api_client/v1/model/table_widget_definition.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ class TableWidgetDefinition(ModelNormal):
6363
"""
6464

6565
allowed_values = {
66+
('has_search_bar',): {
67+
'ALWAYS': "always",
68+
'NEVER': "never",
69+
'AUTO': "auto",
70+
},
6671
}
6772

6873
validations = {
@@ -87,6 +92,7 @@ def openapi_types():
8792
'requests': ([TableWidgetRequest],), # noqa: E501
8893
'type': (TableWidgetDefinitionType,), # noqa: E501
8994
'custom_links': ([WidgetCustomLink],), # noqa: E501
95+
'has_search_bar': (str,), # noqa: E501
9096
'time': (WidgetTime,), # noqa: E501
9197
'title': (str,), # noqa: E501
9298
'title_align': (WidgetTextAlign,), # noqa: E501
@@ -102,6 +108,7 @@ def discriminator():
102108
'requests': 'requests', # noqa: E501
103109
'type': 'type', # noqa: E501
104110
'custom_links': 'custom_links', # noqa: E501
111+
'has_search_bar': 'has_search_bar', # noqa: E501
105112
'time': 'time', # noqa: E501
106113
'title': 'title', # noqa: E501
107114
'title_align': 'title_align', # noqa: E501
@@ -159,6 +166,7 @@ def __init__(self, requests, type, *args, **kwargs): # noqa: E501
159166
through its discriminator because we passed in
160167
_visited_composed_classes = (Animal,)
161168
custom_links ([WidgetCustomLink]): List of custom links.. [optional] # noqa: E501
169+
has_search_bar (str): Controls the display of the search bar.. [optional] if omitted the server will use the default value of "auto" # noqa: E501
162170
time (WidgetTime): [optional] # noqa: E501
163171
title (str): Title of your widget.. [optional] # noqa: E501
164172
title_align (WidgetTextAlign): [optional] # noqa: E501

src/datadog_api_client/v1/model/table_widget_request.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ class TableWidgetRequest(ModelNormal):
6767
"""
6868

6969
allowed_values = {
70+
('cell_display_mode',): {
71+
'NUMBER': "number",
72+
'BAR': "bar",
73+
},
7074
}
7175

7276
validations = {
@@ -92,6 +96,7 @@ def openapi_types():
9296
'alias': (str,), # noqa: E501
9397
'apm_query': (LogQueryDefinition,), # noqa: E501
9498
'apm_stats_query': (ApmStatsQueryDefinition,), # noqa: E501
99+
'cell_display_mode': ([str],), # noqa: E501
95100
'conditional_formats': ([WidgetConditionalFormat],), # noqa: E501
96101
'event_query': (EventQueryDefinition,), # noqa: E501
97102
'limit': (int,), # noqa: E501
@@ -114,6 +119,7 @@ def discriminator():
114119
'alias': 'alias', # noqa: E501
115120
'apm_query': 'apm_query', # noqa: E501
116121
'apm_stats_query': 'apm_stats_query', # noqa: E501
122+
'cell_display_mode': 'cell_display_mode', # noqa: E501
117123
'conditional_formats': 'conditional_formats', # noqa: E501
118124
'event_query': 'event_query', # noqa: E501
119125
'limit': 'limit', # noqa: E501
@@ -176,6 +182,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
176182
alias (str): The column name (defaults to the metric name).. [optional] # noqa: E501
177183
apm_query (LogQueryDefinition): [optional] # noqa: E501
178184
apm_stats_query (ApmStatsQueryDefinition): [optional] # noqa: E501
185+
cell_display_mode ([str]): A list of display modes for each table cell.. [optional] # noqa: E501
179186
conditional_formats ([WidgetConditionalFormat]): List of conditional formats.. [optional] # noqa: E501
180187
event_query (EventQueryDefinition): [optional] # noqa: E501
181188
limit (int): For metric queries, the number of lines to show in the table. Only one request should have this property.. [optional] # noqa: E501

src/datadog_api_client/v1/model/widget_definition.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ class WidgetDefinition(ModelComposed):
153153
"""
154154

155155
allowed_values = {
156+
('has_search_bar',): {
157+
'ALWAYS': "always",
158+
'NEVER': "never",
159+
'AUTO': "auto",
160+
},
156161
}
157162

158163
validations = {
@@ -314,6 +319,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
314319
show_latency (bool): Whether to show the latency metrics or not.. [optional] # noqa: E501
315320
show_resource_list (bool): Whether to show the resource list or not.. [optional] # noqa: E501
316321
size_format (WidgetSizeFormat): [optional] # noqa: E501
322+
has_search_bar (str): Controls the display of the search bar.. [optional] if omitted the server will use the default value of "auto" # noqa: E501
317323
markers ([WidgetMarker]): List of markers.. [optional] # noqa: E501
318324
right_yaxis (WidgetAxis): [optional] # noqa: E501
319325
"""

src/datadog_api_client/v1/openapi.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6828,6 +6828,15 @@ components:
68286828
items:
68296829
$ref: '#/components/schemas/WidgetCustomLink'
68306830
type: array
6831+
has_search_bar:
6832+
default: auto
6833+
description: Controls the display of the search bar.
6834+
enum:
6835+
- always
6836+
- never
6837+
- auto
6838+
example: auto
6839+
type: string
68316840
requests:
68326841
description: Widget definition.
68336842
example:
@@ -6872,6 +6881,17 @@ components:
68726881
$ref: '#/components/schemas/LogQueryDefinition'
68736882
apm_stats_query:
68746883
$ref: '#/components/schemas/ApmStatsQueryDefinition'
6884+
cell_display_mode:
6885+
description: A list of display modes for each table cell.
6886+
items:
6887+
default: number
6888+
description: Define a display mode for the table cell.
6889+
enum:
6890+
- number
6891+
- bar
6892+
example: number
6893+
type: string
6894+
type: array
68756895
conditional_formats:
68766896
description: List of conditional formats.
68776897
items:

0 commit comments

Comments
 (0)