Skip to content

Commit bf0d49c

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e288601 of spec repo
1 parent 9648bb6 commit bf0d49c

File tree

4 files changed

+52
-4
lines changed

4 files changed

+52
-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.5.1.dev2",
7-
"regenerated": "2022-01-05 07:38:55.651805",
8-
"spec_repo_commit": "d72de97"
7+
"regenerated": "2022-01-10 16:39:26.035883",
8+
"spec_repo_commit": "e288601"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2022-01-05 07:38:55.673576",
13-
"spec_repo_commit": "d72de97"
12+
"regenerated": "2022-01-10 16:39:26.057532",
13+
"spec_repo_commit": "e288601"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12023,6 +12023,11 @@ components:
1202312023
values:
1202412024
$ref: '#/components/schemas/UsageAttributionValues'
1202512025
type: object
12026+
UsageAttributionLimit:
12027+
default: 5000
12028+
description: Maximum number of records to be returned.
12029+
format: int64
12030+
type: integer
1202612031
UsageAttributionMetadata:
1202712032
description: The object containing document metadata.
1202812033
properties:
@@ -12031,6 +12036,11 @@ components:
1203112036
pagination:
1203212037
$ref: '#/components/schemas/UsageAttributionPagination'
1203312038
type: object
12039+
UsageAttributionOffset:
12040+
default: 0
12041+
description: Number of records to skip before beginning to return.
12042+
format: int64
12043+
type: integer
1203412044
UsageAttributionPagination:
1203512045
description: The metadata for the current pagination.
1203612046
properties:
@@ -24310,6 +24320,18 @@ paths:
2431024320
schema:
2431124321
default: false
2431224322
type: boolean
24323+
- description: Number of records to skip before beginning to return.
24324+
in: query
24325+
name: offset
24326+
required: false
24327+
schema:
24328+
$ref: '#/components/schemas/UsageAttributionOffset'
24329+
- description: Maximum number of records to be returned.
24330+
in: query
24331+
name: limit
24332+
required: false
24333+
schema:
24334+
$ref: '#/components/schemas/UsageAttributionLimit'
2431324335
responses:
2431424336
'200':
2431524337
content:

api/v1/datadog/api_usage_metering.go

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1/datadog/docs/UsageMeteringApi.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,11 +710,15 @@ func main() {
710710
sortDirection := datadog.UsageSortDirection("desc") // UsageSortDirection | The direction to sort by: `[desc, asc]`. (optional) (default to "desc")
711711
sortName := datadog.UsageAttributionSort("api_percentage") // UsageAttributionSort | The field to sort by. (optional) (default to "custom_timeseries_usage")
712712
includeDescendants := true // bool | Include child org usage in the response. Defaults to false. (optional) (default to false)
713+
offset := int64(789) // int64 | Number of records to skip before beginning to return. (optional) (default to 0)
714+
limit := int64(789) // int64 | Maximum number of records to be returned. (optional) (default to 5000)
713715
optionalParams := datadog.GetUsageAttributionOptionalParameters{
714716
EndMonth: &endMonth,
715717
SortDirection: &sortDirection,
716718
SortName: &sortName,
717719
IncludeDescendants: &includeDescendants,
720+
Offset: &offset,
721+
Limit: &limit,
718722
}
719723

720724
configuration := datadog.NewConfiguration()
@@ -754,6 +758,8 @@ Name | Type | Description | Notes
754758
**sortDirection** | [**UsageSortDirection**](UsageSortDirection.md) | The direction to sort by: `[desc, asc]`. | [default to "desc"]
755759
**sortName** | [**UsageAttributionSort**](UsageAttributionSort.md) | The field to sort by. | [default to "custom_timeseries_usage"]
756760
**includeDescendants** | **bool** | Include child org usage in the response. Defaults to false. | [default to false]
761+
**offset** | **int64** | Number of records to skip before beginning to return. | [default to 0]
762+
**limit** | **int64** | Maximum number of records to be returned. | [default to 5000]
757763

758764
### Return type
759765

0 commit comments

Comments
 (0)