Skip to content

Commit

Permalink
Regenerate client from commit a4fe6c9 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 4, 2022
1 parent 1b07a9d commit 5222b46
Show file tree
Hide file tree
Showing 5 changed files with 280 additions and 144 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.5.1.dev2",
"regenerated": "2022-01-04 14:44:52.038371",
"spec_repo_commit": "116ef08"
"regenerated": "2022-01-04 17:34:44.464825",
"spec_repo_commit": "a4fe6c9"
},
"v2": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2022-01-04 14:44:52.058365",
"spec_repo_commit": "116ef08"
"regenerated": "2022-01-04 17:34:44.483965",
"spec_repo_commit": "a4fe6c9"
}
}
}
14 changes: 10 additions & 4 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12037,12 +12037,18 @@ components:
description: Maximum amount of records to be returned.
format: int64
type: integer
next_record_id:
description: The cursor to use to get the next results, if any. To make
the next request, use the same parameters with the addition of this next_record_id.
offset:
description: Records to be skipped before beginning to return.
format: int64
type: integer
sort_direction:
description: Direction to sort by.
type: string
sort_name:
description: Field to sort by.
type: string
total_number_of_records:
description: Total number of records. (deprecated after May 1st, 2021)
description: Total number of records.
format: int64
type: integer
type: object
Expand Down
80 changes: 66 additions & 14 deletions api/v1/datadog/docs/UsageAttributionPagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
Name | Type | Description | Notes
---- | ---- | ----------- | ------
**Limit** | Pointer to **int64** | Maximum amount of records to be returned. | [optional]
**NextRecordId** | Pointer to **string** | The cursor to use to get the next results, if any. To make the next request, use the same parameters with the addition of this next_record_id. | [optional]
**TotalNumberOfRecords** | Pointer to **int64** | Total number of records. (deprecated after May 1st, 2021) | [optional]
**Offset** | Pointer to **int64** | Records to be skipped before beginning to return. | [optional]
**SortDirection** | Pointer to **string** | Direction to sort by. | [optional]
**SortName** | Pointer to **string** | Field to sort by. | [optional]
**TotalNumberOfRecords** | Pointer to **int64** | Total number of records. | [optional]

## Methods

Expand Down Expand Up @@ -52,30 +54,80 @@ SetLimit sets Limit field to given value.

HasLimit returns a boolean if a field has been set.

### GetNextRecordId
### GetOffset

`func (o *UsageAttributionPagination) GetNextRecordId() string`
`func (o *UsageAttributionPagination) GetOffset() int64`

GetNextRecordId returns the NextRecordId field if non-nil, zero value otherwise.
GetOffset returns the Offset field if non-nil, zero value otherwise.

### GetNextRecordIdOk
### GetOffsetOk

`func (o *UsageAttributionPagination) GetNextRecordIdOk() (*string, bool)`
`func (o *UsageAttributionPagination) GetOffsetOk() (*int64, bool)`

GetNextRecordIdOk returns a tuple with the NextRecordId field if it's non-nil, zero value otherwise
GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetNextRecordId
### SetOffset

`func (o *UsageAttributionPagination) SetNextRecordId(v string)`
`func (o *UsageAttributionPagination) SetOffset(v int64)`

SetNextRecordId sets NextRecordId field to given value.
SetOffset sets Offset field to given value.

### HasNextRecordId
### HasOffset

`func (o *UsageAttributionPagination) HasNextRecordId() bool`
`func (o *UsageAttributionPagination) HasOffset() bool`

HasNextRecordId returns a boolean if a field has been set.
HasOffset returns a boolean if a field has been set.

### GetSortDirection

`func (o *UsageAttributionPagination) GetSortDirection() string`

GetSortDirection returns the SortDirection field if non-nil, zero value otherwise.

### GetSortDirectionOk

`func (o *UsageAttributionPagination) GetSortDirectionOk() (*string, bool)`

GetSortDirectionOk returns a tuple with the SortDirection field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetSortDirection

`func (o *UsageAttributionPagination) SetSortDirection(v string)`

SetSortDirection sets SortDirection field to given value.

### HasSortDirection

`func (o *UsageAttributionPagination) HasSortDirection() bool`

HasSortDirection returns a boolean if a field has been set.

### GetSortName

`func (o *UsageAttributionPagination) GetSortName() string`

GetSortName returns the SortName field if non-nil, zero value otherwise.

### GetSortNameOk

`func (o *UsageAttributionPagination) GetSortNameOk() (*string, bool)`

GetSortNameOk returns a tuple with the SortName field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetSortName

`func (o *UsageAttributionPagination) SetSortName(v string)`

SetSortName sets SortName field to given value.

### HasSortName

`func (o *UsageAttributionPagination) HasSortName() bool`

HasSortName returns a boolean if a field has been set.

### GetTotalNumberOfRecords

Expand Down
120 changes: 99 additions & 21 deletions api/v1/datadog/model_usage_attribution_pagination.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5222b46

Please sign in to comment.