Skip to content

Commit b440e25

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 7af099d of spec repo (#170)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 240d6a6 commit b440e25

File tree

9 files changed

+13
-18
lines changed

9 files changed

+13
-18
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.3.0",
7-
"regenerated": "2020-11-24 15:02:29.562802",
8-
"spec_repo_commit": "217b6e8"
7+
"regenerated": "2020-11-24 16:52:18.458924",
8+
"spec_repo_commit": "7af099d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.3.0",
12-
"regenerated": "2020-11-24 15:02:41.111923",
13-
"spec_repo_commit": "217b6e8"
12+
"regenerated": "2020-11-24 16:52:29.040713",
13+
"spec_repo_commit": "7af099d"
1414
}
1515
}
1616
}

.openapi-generator/FILES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ datadog_api_client/v2/api_client.py
1616
datadog_api_client/v2/apis/__init__.py
1717
datadog_api_client/v2/configuration.py
1818
datadog_api_client/v2/exceptions.py
19-
datadog_api_client/v2/model/__init__.py
2019
datadog_api_client/v2/model/api_error_response.py
2120
datadog_api_client/v2/model/creator.py
2221
datadog_api_client/v2/model/dashboard_list_add_items_request.py
@@ -238,6 +237,7 @@ datadog_api_client/v2/model/users_response.py
238237
datadog_api_client/v2/model/users_type.py
239238
datadog_api_client/v2/model_utils.py
240239
datadog_api_client/v2/models/__init__.py
240+
datadog_api_client/v2/models/__init__.py
241241
datadog_api_client/v2/rest.py
242242
docs/APIErrorResponse.md
243243
docs/Creator.md

docs/v1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
55

66
- API version: 1.0
77
- Package version: 0.1.0
8-
- Build package: org.openapitools.codegen.languages.PythonClientExperimentalCodegen
8+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99
For more information, please visit [https://www.datadoghq.com/support/](https://www.datadoghq.com/support/)
1010

1111
## Requirements.

docs/v2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
55

66
- API version: 1.0
77
- Package version: 0.1.0
8-
- Build package: org.openapitools.codegen.languages.PythonClientExperimentalCodegen
8+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99
For more information, please visit [https://www.datadoghq.com/support/](https://www.datadoghq.com/support/)
1010

1111
## Requirements.

src/datadog_api_client/v1/configuration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ def __init__(self, host=None,
218218
"get_monthly_custom_reports": False,
219219
"get_specified_daily_custom_reports": False,
220220
"get_specified_monthly_custom_reports": False,
221+
"get_usage_attribution": False,
221222
}
222223

223224
def __deepcopy__(self, memo):

src/datadog_api_client/v1/model/__init__.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/datadog_api_client/v1/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15195,6 +15195,9 @@ paths:
1519515195
summary: Get Usage Attribution
1519615196
tags:
1519715197
- Usage Metering
15198+
x-unstable: '**Note**: This endpoint is in public beta.
15199+
15200+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
1519815201
/api/v1/usage/aws_lambda:
1519915202
get:
1520015203
description: Get hourly usage for lambda.

src/datadog_api_client/v2/model/__init__.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/v1/features/usage_metering.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ Feature: Usage Metering
182182

183183
@generated @skip
184184
Scenario: Get Usage Attribution returns "OK" response
185-
Given new "GetUsageAttribution" request
185+
Given operation "GetUsageAttribution" enabled
186+
And new "GetUsageAttribution" request
186187
When the request is sent
187188
Then the response status is 200 OK

0 commit comments

Comments
 (0)