Skip to content

Commit 6a8de0c

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9a2112a of spec repo
1 parent 4209e2a commit 6a8de0c

File tree

56 files changed

+50
-807
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+50
-807
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.dev11",
7-
"regenerated": "2021-07-23 09:17:27.076054",
8-
"spec_repo_commit": "0b10309"
7+
"regenerated": "2021-07-23 13:00:07.328956",
8+
"spec_repo_commit": "9a2112a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev11",
12-
"regenerated": "2021-07-23 09:17:49.537097",
13-
"spec_repo_commit": "0b10309"
12+
"regenerated": "2021-07-23 13:00:33.728213",
13+
"spec_repo_commit": "9a2112a"
1414
}
1515
}
1616
}

.openapi-generator/FILES

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ datadog_api_client/v2/model/users_response.py
341341
datadog_api_client/v2/model/users_type.py
342342
datadog_api_client/v2/model_utils.py
343343
datadog_api_client/v2/models/__init__.py
344-
datadog_api_client/v2/models/__init__.py
345344
datadog_api_client/v2/rest.py
346345
docs/APIErrorResponse.md
347346
docs/APIKeyCreateAttributes.md

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.1.0-SNAPSHOT
1+
5.2.1-SNAPSHOT

docs/v1/DashboardListsApi.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,7 @@ with ApiClient(configuration) as api_client:
3535
# Create an instance of the API class
3636
api_instance = dashboard_lists_api.DashboardListsApi(api_client)
3737
body = DashboardList(
38-
author=Creator(
39-
email="email_example",
40-
handle="handle_example",
41-
name="name_example",
42-
),
43-
created=dateutil_parser('1970-01-01T00:00:00.00Z'),
44-
dashboard_count=1,
45-
id=1,
46-
is_favorite=True,
47-
modified=dateutil_parser('1970-01-01T00:00:00.00Z'),
4838
name="My Dashboard",
49-
type="manual_dashboard_list",
5039
) # DashboardList | Create a dashboard list request body.
5140

5241
# example passing only required values which don't have defaults set
@@ -300,18 +289,7 @@ with ApiClient(configuration) as api_client:
300289
api_instance = dashboard_lists_api.DashboardListsApi(api_client)
301290
list_id = 1 # int | ID of the dashboard list to update.
302291
body = DashboardList(
303-
author=Creator(
304-
email="email_example",
305-
handle="handle_example",
306-
name="name_example",
307-
),
308-
created=dateutil_parser('1970-01-01T00:00:00.00Z'),
309-
dashboard_count=1,
310-
id=1,
311-
is_favorite=True,
312-
modified=dateutil_parser('1970-01-01T00:00:00.00Z'),
313292
name="My Dashboard",
314-
type="manual_dashboard_list",
315293
) # DashboardList | Update a dashboard list request body.
316294

317295
# example passing only required values which don't have defaults set

docs/v1/DashboardsApi.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,9 @@ with ApiClient(configuration) as api_client:
3838
# Create an instance of the API class
3939
api_instance = dashboards_api.DashboardsApi(api_client)
4040
body = Dashboard(
41-
author_handle="[email protected]",
42-
created_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
4341
description="description_example",
44-
id="123-abc-456",
4542
is_read_only=False,
4643
layout_type=DashboardLayoutType("ordered"),
47-
modified_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
4844
notify_list=[
4945
"notify_list_example",
5046
],
@@ -71,7 +67,6 @@ with ApiClient(configuration) as api_client:
7167
),
7268
],
7369
title="",
74-
url="/dashboard/123-abc-456/example-dashboard-title",
7570
widgets=[
7671
Widget(
7772
definition=WidgetDefinition(),
@@ -488,13 +483,9 @@ with ApiClient(configuration) as api_client:
488483
api_instance = dashboards_api.DashboardsApi(api_client)
489484
dashboard_id = "dashboard_id_example" # str | The ID of the dashboard.
490485
body = Dashboard(
491-
author_handle="[email protected]",
492-
created_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
493486
description="description_example",
494-
id="123-abc-456",
495487
is_read_only=False,
496488
layout_type=DashboardLayoutType("ordered"),
497-
modified_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
498489
notify_list=[
499490
"notify_list_example",
500491
],
@@ -521,7 +512,6 @@ with ApiClient(configuration) as api_client:
521512
),
522513
],
523514
title="",
524-
url="/dashboard/123-abc-456/example-dashboard-title",
525515
widgets=[
526516
Widget(
527517
definition=WidgetDefinition(),

docs/v1/DowntimesApi.md

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -167,38 +167,8 @@ with ApiClient(configuration) as api_client:
167167
# Create an instance of the API class
168168
api_instance = downtimes_api.DowntimesApi(api_client)
169169
body = Downtime(
170-
active=True,
171-
active_child=DowntimeChild(
172-
active=True,
173-
canceled=1412799983,
174-
creator_id=123456,
175-
disabled=False,
176-
downtime_type=2,
177-
end=1412793983,
178-
id=1626,
179-
message="Message on the downtime",
180-
monitor_id=123456,
181-
monitor_tags=["*"],
182-
parent_id=123,
183-
recurrence=DowntimeRecurrence(
184-
period=1,
185-
rrule="FREQ=MONTHLY;BYSETPOS=3;BYDAY=WE;INTERVAL=1",
186-
type="weeks",
187-
until_date=1447786293,
188-
until_occurrences=2,
189-
week_days=["Mon","Tue"],
190-
),
191-
scope=["env:staging"],
192-
start=1412792983,
193-
timezone="America/New_York",
194-
updater_id=123456,
195-
),
196-
canceled=1412799983,
197-
creator_id=123456,
198170
disabled=False,
199-
downtime_type=2,
200171
end=1412793983,
201-
id=1625,
202172
message="Message on the downtime",
203173
monitor_id=123456,
204174
monitor_tags=["*"],
@@ -214,7 +184,6 @@ with ApiClient(configuration) as api_client:
214184
scope=["env:staging"],
215185
start=1412792983,
216186
timezone="America/New_York",
217-
updater_id=123456,
218187
) # Downtime | Schedule a downtime request body.
219188

220189
# example passing only required values which don't have defaults set
@@ -473,38 +442,8 @@ with ApiClient(configuration) as api_client:
473442
api_instance = downtimes_api.DowntimesApi(api_client)
474443
downtime_id = 123456 # int | ID of the downtime to update.
475444
body = Downtime(
476-
active=True,
477-
active_child=DowntimeChild(
478-
active=True,
479-
canceled=1412799983,
480-
creator_id=123456,
481-
disabled=False,
482-
downtime_type=2,
483-
end=1412793983,
484-
id=1626,
485-
message="Message on the downtime",
486-
monitor_id=123456,
487-
monitor_tags=["*"],
488-
parent_id=123,
489-
recurrence=DowntimeRecurrence(
490-
period=1,
491-
rrule="FREQ=MONTHLY;BYSETPOS=3;BYDAY=WE;INTERVAL=1",
492-
type="weeks",
493-
until_date=1447786293,
494-
until_occurrences=2,
495-
week_days=["Mon","Tue"],
496-
),
497-
scope=["env:staging"],
498-
start=1412792983,
499-
timezone="America/New_York",
500-
updater_id=123456,
501-
),
502-
canceled=1412799983,
503-
creator_id=123456,
504445
disabled=False,
505-
downtime_type=2,
506446
end=1412793983,
507-
id=1625,
508447
message="Message on the downtime",
509448
monitor_id=123456,
510449
monitor_tags=["*"],
@@ -520,7 +459,6 @@ with ApiClient(configuration) as api_client:
520459
scope=["env:staging"],
521460
start=1412792983,
522461
timezone="America/New_York",
523-
updater_id=123456,
524462
) # Downtime | Update a downtime request body.
525463

526464
# example passing only required values which don't have defaults set

docs/v1/EventsApi.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,12 @@ with ApiClient(configuration) as api_client:
3838
date_happened=1,
3939
device_name="device_name_example",
4040
host="host_example",
41-
id=1,
42-
payload="{}",
4341
priority=EventPriority("normal"),
4442
related_event_id=1,
4543
source_type_name="source_type_name_example",
4644
tags=["environment:test"],
4745
text="Oh boy!",
4846
title="Did you hear the news today?",
49-
url="url_example",
5047
) # EventCreateRequest | Event request object
5148

5249
# example passing only required values which don't have defaults set

docs/v1/KeyManagementApi.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ with ApiClient(configuration) as api_client:
4040
# Create an instance of the API class
4141
api_instance = key_management_api.KeyManagementApi(api_client)
4242
body = ApiKey(
43-
created="2019-08-02 15:31:07",
44-
created_by="[email protected]",
45-
key="1234512345123456abcabc912349abcd",
4643
name="example user",
4744
) # ApiKey |
4845

@@ -109,9 +106,7 @@ with ApiClient(configuration) as api_client:
109106
# Create an instance of the API class
110107
api_instance = key_management_api.KeyManagementApi(api_client)
111108
body = ApplicationKey(
112-
hash="1234512345123459cda4eb9ced49a3d84fd0138c",
113109
name="example user",
114-
owner="example.com",
115110
) # ApplicationKey |
116111

117112
# example passing only required values which don't have defaults set
@@ -554,9 +549,6 @@ with ApiClient(configuration) as api_client:
554549
api_instance = key_management_api.KeyManagementApi(api_client)
555550
key = "key_example" # str | The specific API key you are working with.
556551
body = ApiKey(
557-
created="2019-08-02 15:31:07",
558-
created_by="[email protected]",
559-
key="1234512345123456abcabc912349abcd",
560552
name="example user",
561553
) # ApiKey |
562554

@@ -626,9 +618,7 @@ with ApiClient(configuration) as api_client:
626618
api_instance = key_management_api.KeyManagementApi(api_client)
627619
key = "key_example" # str | The specific APP key you are working with.
628620
body = ApplicationKey(
629-
hash="1234512345123459cda4eb9ced49a3d84fd0138c",
630621
name="example user",
631-
owner="example.com",
632622
) # ApplicationKey |
633623

634624
# example passing only required values which don't have defaults set

docs/v1/LogsIndexesApi.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ with ApiClient(configuration) as api_client:
5050
filter=LogsFilter(
5151
query="source:python",
5252
),
53-
is_rate_limited=False,
5453
name="main",
5554
num_retention_days=15,
5655
) # LogsIndex | Object containing the new index.

docs/v1/LogsPipelinesApi.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,11 @@ with ApiClient(configuration) as api_client:
4040
filter=LogsFilter(
4141
query="source:python",
4242
),
43-
id="id_example",
4443
is_enabled=True,
45-
is_read_only=True,
4644
name="",
4745
processors=[
4846
LogsProcessor(),
4947
],
50-
type="pipeline",
5148
) # LogsPipeline | Definition of the new pipeline.
5249

5350
# example passing only required values which don't have defaults set
@@ -369,14 +366,11 @@ with ApiClient(configuration) as api_client:
369366
filter=LogsFilter(
370367
query="source:python",
371368
),
372-
id="id_example",
373369
is_enabled=True,
374-
is_read_only=True,
375370
name="",
376371
processors=[
377372
LogsProcessor(),
378373
],
379-
type="pipeline",
380374
) # LogsPipeline | New definition of the pipeline.
381375

382376
# example passing only required values which don't have defaults set

0 commit comments

Comments
 (0)