Skip to content

Commit 230b459

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 7f2258a of spec repo (#172)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 37d9d78 commit 230b459

File tree

4 files changed

+5
-20
lines changed

4 files changed

+5
-20
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-25 09:41:14.966909",
8-
"spec_repo_commit": "7d970a8"
7+
"regenerated": "2020-11-25 12:07:54.558690",
8+
"spec_repo_commit": "7f2258a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.3.0",
12-
"regenerated": "2020-11-25 09:41:26.740419",
13-
"spec_repo_commit": "7d970a8"
12+
"regenerated": "2020-11-25 12:08:05.663112",
13+
"spec_repo_commit": "7f2258a"
1414
}
1515
}
1616
}

docs/v1/UsageMeteringApi.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,6 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
811811
start_month = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
812812
fields = "fields_example" # str | The specified field to search results for.
813813
end_month = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month. (optional)
814-
org_id = 1 # int | Include usage summaries for each sub-org. (optional)
815814
sort_direction = UsageSortDirection("desc") # UsageSortDirection | The direction to sort by: `[desc, asc]`. (optional)
816815
sort_name = UsageAttributionSort("custom_timeseries_usage") # UsageAttributionSort | The field to sort by. (optional)
817816

@@ -827,7 +826,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
827826
# and optional values
828827
try:
829828
# Get Usage Attribution
830-
api_response = api_instance.get_usage_attribution(start_month, fields, end_month=end_month, org_id=org_id, sort_direction=sort_direction, sort_name=sort_name)
829+
api_response = api_instance.get_usage_attribution(start_month, fields, end_month=end_month, sort_direction=sort_direction, sort_name=sort_name)
831830
pprint(api_response)
832831
except datadog_api_client.v1.ApiException as e:
833832
print("Exception when calling UsageMeteringApi->get_usage_attribution: %s\n" % e)
@@ -840,7 +839,6 @@ Name | Type | Description | Notes
840839
**start_month** | **datetime**| Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage beginning in this month. Maximum of 15 months ago. |
841840
**fields** | **str**| The specified field to search results for. |
842841
**end_month** | **datetime**| Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage ending this month. | [optional]
843-
**org_id** | **int**| Include usage summaries for each sub-org. | [optional]
844842
**sort_direction** | **UsageSortDirection**| The direction to sort by: &#x60;[desc, asc]&#x60;. | [optional]
845843
**sort_name** | **UsageAttributionSort**| The field to sort by. | [optional]
846844

src/datadog_api_client/v1/api/usage_metering_api.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,6 @@ def __get_usage_attribution(
10911091
10921092
Keyword Args:
10931093
end_month (datetime): Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage ending this month.. [optional]
1094-
org_id (int): Include usage summaries for each sub-org.. [optional]
10951094
sort_direction (UsageSortDirection): The direction to sort by: &#x60;[desc, asc]&#x60;.. [optional]
10961095
sort_name (UsageAttributionSort): The field to sort by.. [optional]
10971096
_return_http_data_only (bool): response data without head status
@@ -1161,7 +1160,6 @@ def __get_usage_attribution(
11611160
'start_month',
11621161
'fields',
11631162
'end_month',
1164-
'org_id',
11651163
'sort_direction',
11661164
'sort_name',
11671165
],
@@ -1188,8 +1186,6 @@ def __get_usage_attribution(
11881186
(str,),
11891187
'end_month':
11901188
(datetime,),
1191-
'org_id':
1192-
(int,),
11931189
'sort_direction':
11941190
(UsageSortDirection,),
11951191
'sort_name':
@@ -1199,15 +1195,13 @@ def __get_usage_attribution(
11991195
'start_month': 'start_month',
12001196
'fields': 'fields',
12011197
'end_month': 'end_month',
1202-
'org_id': 'org_id',
12031198
'sort_direction': 'sort_direction',
12041199
'sort_name': 'sort_name',
12051200
},
12061201
'location_map': {
12071202
'start_month': 'query',
12081203
'fields': 'query',
12091204
'end_month': 'query',
1210-
'org_id': 'query',
12111205
'sort_direction': 'query',
12121206
'sort_name': 'query',
12131207
},

src/datadog_api_client/v1/openapi.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15160,13 +15160,6 @@ paths:
1516015160
schema:
1516115161
format: date-time
1516215162
type: string
15163-
- description: Include usage summaries for each sub-org.
15164-
in: query
15165-
name: org_id
15166-
required: false
15167-
schema:
15168-
format: int64
15169-
type: integer
1517015163
- description: 'The direction to sort by: `[desc, asc]`.'
1517115164
in: query
1517215165
name: sort_direction

0 commit comments

Comments
 (0)