Skip to content

Commit

Permalink
Regenerate client from commit 9a2112a of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jul 23, 2021
1 parent 4209e2a commit 6a8de0c
Show file tree
Hide file tree
Showing 56 changed files with 50 additions and 807 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.4.1.dev11",
"regenerated": "2021-07-23 09:17:27.076054",
"spec_repo_commit": "0b10309"
"regenerated": "2021-07-23 13:00:07.328956",
"spec_repo_commit": "9a2112a"
},
"v2": {
"apigentools_version": "1.4.1.dev11",
"regenerated": "2021-07-23 09:17:49.537097",
"spec_repo_commit": "0b10309"
"regenerated": "2021-07-23 13:00:33.728213",
"spec_repo_commit": "9a2112a"
}
}
}
1 change: 0 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ datadog_api_client/v2/model/users_response.py
datadog_api_client/v2/model/users_type.py
datadog_api_client/v2/model_utils.py
datadog_api_client/v2/models/__init__.py
datadog_api_client/v2/models/__init__.py
datadog_api_client/v2/rest.py
docs/APIErrorResponse.md
docs/APIKeyCreateAttributes.md
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.1.0-SNAPSHOT
5.2.1-SNAPSHOT
22 changes: 0 additions & 22 deletions docs/v1/DashboardListsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,7 @@ with ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dashboard_lists_api.DashboardListsApi(api_client)
body = DashboardList(
author=Creator(
email="email_example",
handle="handle_example",
name="name_example",
),
created=dateutil_parser('1970-01-01T00:00:00.00Z'),
dashboard_count=1,
id=1,
is_favorite=True,
modified=dateutil_parser('1970-01-01T00:00:00.00Z'),
name="My Dashboard",
type="manual_dashboard_list",
) # DashboardList | Create a dashboard list request body.

# example passing only required values which don't have defaults set
Expand Down Expand Up @@ -300,18 +289,7 @@ with ApiClient(configuration) as api_client:
api_instance = dashboard_lists_api.DashboardListsApi(api_client)
list_id = 1 # int | ID of the dashboard list to update.
body = DashboardList(
author=Creator(
email="email_example",
handle="handle_example",
name="name_example",
),
created=dateutil_parser('1970-01-01T00:00:00.00Z'),
dashboard_count=1,
id=1,
is_favorite=True,
modified=dateutil_parser('1970-01-01T00:00:00.00Z'),
name="My Dashboard",
type="manual_dashboard_list",
) # DashboardList | Update a dashboard list request body.

# example passing only required values which don't have defaults set
Expand Down
10 changes: 0 additions & 10 deletions docs/v1/DashboardsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,9 @@ with ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dashboards_api.DashboardsApi(api_client)
body = Dashboard(
author_handle="[email protected]",
created_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
description="description_example",
id="123-abc-456",
is_read_only=False,
layout_type=DashboardLayoutType("ordered"),
modified_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
notify_list=[
"notify_list_example",
],
Expand All @@ -71,7 +67,6 @@ with ApiClient(configuration) as api_client:
),
],
title="",
url="/dashboard/123-abc-456/example-dashboard-title",
widgets=[
Widget(
definition=WidgetDefinition(),
Expand Down Expand Up @@ -488,13 +483,9 @@ with ApiClient(configuration) as api_client:
api_instance = dashboards_api.DashboardsApi(api_client)
dashboard_id = "dashboard_id_example" # str | The ID of the dashboard.
body = Dashboard(
author_handle="[email protected]",
created_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
description="description_example",
id="123-abc-456",
is_read_only=False,
layout_type=DashboardLayoutType("ordered"),
modified_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
notify_list=[
"notify_list_example",
],
Expand All @@ -521,7 +512,6 @@ with ApiClient(configuration) as api_client:
),
],
title="",
url="/dashboard/123-abc-456/example-dashboard-title",
widgets=[
Widget(
definition=WidgetDefinition(),
Expand Down
62 changes: 0 additions & 62 deletions docs/v1/DowntimesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,38 +167,8 @@ with ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = downtimes_api.DowntimesApi(api_client)
body = Downtime(
active=True,
active_child=DowntimeChild(
active=True,
canceled=1412799983,
creator_id=123456,
disabled=False,
downtime_type=2,
end=1412793983,
id=1626,
message="Message on the downtime",
monitor_id=123456,
monitor_tags=["*"],
parent_id=123,
recurrence=DowntimeRecurrence(
period=1,
rrule="FREQ=MONTHLY;BYSETPOS=3;BYDAY=WE;INTERVAL=1",
type="weeks",
until_date=1447786293,
until_occurrences=2,
week_days=["Mon","Tue"],
),
scope=["env:staging"],
start=1412792983,
timezone="America/New_York",
updater_id=123456,
),
canceled=1412799983,
creator_id=123456,
disabled=False,
downtime_type=2,
end=1412793983,
id=1625,
message="Message on the downtime",
monitor_id=123456,
monitor_tags=["*"],
Expand All @@ -214,7 +184,6 @@ with ApiClient(configuration) as api_client:
scope=["env:staging"],
start=1412792983,
timezone="America/New_York",
updater_id=123456,
) # Downtime | Schedule a downtime request body.

# example passing only required values which don't have defaults set
Expand Down Expand Up @@ -473,38 +442,8 @@ with ApiClient(configuration) as api_client:
api_instance = downtimes_api.DowntimesApi(api_client)
downtime_id = 123456 # int | ID of the downtime to update.
body = Downtime(
active=True,
active_child=DowntimeChild(
active=True,
canceled=1412799983,
creator_id=123456,
disabled=False,
downtime_type=2,
end=1412793983,
id=1626,
message="Message on the downtime",
monitor_id=123456,
monitor_tags=["*"],
parent_id=123,
recurrence=DowntimeRecurrence(
period=1,
rrule="FREQ=MONTHLY;BYSETPOS=3;BYDAY=WE;INTERVAL=1",
type="weeks",
until_date=1447786293,
until_occurrences=2,
week_days=["Mon","Tue"],
),
scope=["env:staging"],
start=1412792983,
timezone="America/New_York",
updater_id=123456,
),
canceled=1412799983,
creator_id=123456,
disabled=False,
downtime_type=2,
end=1412793983,
id=1625,
message="Message on the downtime",
monitor_id=123456,
monitor_tags=["*"],
Expand All @@ -520,7 +459,6 @@ with ApiClient(configuration) as api_client:
scope=["env:staging"],
start=1412792983,
timezone="America/New_York",
updater_id=123456,
) # Downtime | Update a downtime request body.

# example passing only required values which don't have defaults set
Expand Down
3 changes: 0 additions & 3 deletions docs/v1/EventsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,12 @@ with ApiClient(configuration) as api_client:
date_happened=1,
device_name="device_name_example",
host="host_example",
id=1,
payload="{}",
priority=EventPriority("normal"),
related_event_id=1,
source_type_name="source_type_name_example",
tags=["environment:test"],
text="Oh boy!",
title="Did you hear the news today?",
url="url_example",
) # EventCreateRequest | Event request object

# example passing only required values which don't have defaults set
Expand Down
10 changes: 0 additions & 10 deletions docs/v1/KeyManagementApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ with ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = key_management_api.KeyManagementApi(api_client)
body = ApiKey(
created="2019-08-02 15:31:07",
created_by="[email protected]",
key="1234512345123456abcabc912349abcd",
name="example user",
) # ApiKey |

Expand Down Expand Up @@ -109,9 +106,7 @@ with ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = key_management_api.KeyManagementApi(api_client)
body = ApplicationKey(
hash="1234512345123459cda4eb9ced49a3d84fd0138c",
name="example user",
owner="example.com",
) # ApplicationKey |

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

Expand Down Expand Up @@ -626,9 +618,7 @@ with ApiClient(configuration) as api_client:
api_instance = key_management_api.KeyManagementApi(api_client)
key = "key_example" # str | The specific APP key you are working with.
body = ApplicationKey(
hash="1234512345123459cda4eb9ced49a3d84fd0138c",
name="example user",
owner="example.com",
) # ApplicationKey |

# example passing only required values which don't have defaults set
Expand Down
1 change: 0 additions & 1 deletion docs/v1/LogsIndexesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ with ApiClient(configuration) as api_client:
filter=LogsFilter(
query="source:python",
),
is_rate_limited=False,
name="main",
num_retention_days=15,
) # LogsIndex | Object containing the new index.
Expand Down
6 changes: 0 additions & 6 deletions docs/v1/LogsPipelinesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,11 @@ with ApiClient(configuration) as api_client:
filter=LogsFilter(
query="source:python",
),
id="id_example",
is_enabled=True,
is_read_only=True,
name="",
processors=[
LogsProcessor(),
],
type="pipeline",
) # LogsPipeline | Definition of the new pipeline.

# example passing only required values which don't have defaults set
Expand Down Expand Up @@ -369,14 +366,11 @@ with ApiClient(configuration) as api_client:
filter=LogsFilter(
query="source:python",
),
id="id_example",
is_enabled=True,
is_read_only=True,
name="",
processors=[
LogsProcessor(),
],
type="pipeline",
) # LogsPipeline | New definition of the pipeline.

# example passing only required values which don't have defaults set
Expand Down
1 change: 0 additions & 1 deletion docs/v1/MetricsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ with ApiClient(configuration) as api_client:
metric_name = "metric_name_example" # str | Name of the metric for which to edit metadata.
body = MetricMetadata(
description="description_example",
integration="integration_example",
per_unit="second",
short_name="short_name_example",
statsd_interval=1,
Expand Down
Loading

0 comments on commit 6a8de0c

Please sign in to comment.