Skip to content

Commit

Permalink
Regenerate client from commit b8f0eb7 of spec repo (#1333)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Feb 16, 2022
1 parent 4663b51 commit fb4ce2b
Show file tree
Hide file tree
Showing 15 changed files with 192 additions and 234 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.6.2",
"regenerated": "2022-02-16 09:18:17.196392",
"spec_repo_commit": "0047b09"
"regenerated": "2022-02-16 12:30:42.539068",
"spec_repo_commit": "b8f0eb7"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-02-16 09:18:17.207929",
"spec_repo_commit": "0047b09"
"regenerated": "2022-02-16 12:30:42.550642",
"spec_repo_commit": "b8f0eb7"
}
}
}
102 changes: 30 additions & 72 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1686,6 +1686,33 @@ components:
oneOf:
- $ref: '#/components/schemas/User'
type: object
IncidentResponseMeta:
description: The metadata object containing pagination metadata.
properties:
pagination:
$ref: '#/components/schemas/IncidentResponseMetaPagination'
readOnly: true
type: object
IncidentResponseMetaPagination:
description: Pagination properties.
properties:
next_offset:
description: The index of the first element in the next page of results.
Equal to page size added to the current offset.
example: 1000
format: int64
type: integer
offset:
description: The index of the first element in the results.
example: 10
format: int64
type: integer
size:
description: Maximum size of pages to return.
example: 1000
format: int64
type: integer
type: object
IncidentResponseRelationships:
description: The incident's relationships from a response.
properties:
Expand Down Expand Up @@ -1855,30 +1882,7 @@ components:
readOnly: true
type: array
meta:
description: The metadata object containing pagination metadata.
properties:
pagination:
description: Pagination properties.
properties:
next_offset:
description: The index of the first element in the next page of
results. Equal to page size added to the current offset.
example: 1000
format: int64
type: integer
offset:
description: The index of the first element in the results.
example: 10
format: int64
type: integer
size:
description: Maximum size of pages to return.
example: 1000
format: int64
type: integer
type: object
readOnly: true
type: object
$ref: '#/components/schemas/IncidentResponseMeta'
required:
- data
type: object
Expand Down Expand Up @@ -2036,30 +2040,7 @@ components:
readOnly: true
type: array
meta:
description: The metadata object containing pagination metadata.
properties:
pagination:
description: Pagination properties.
properties:
next_offset:
description: The index of the first element in the next page of
results. Equal to page size added to the current offset.
example: 1000
format: int64
type: integer
offset:
description: The index of the first element in the results.
example: 10
format: int64
type: integer
size:
description: Maximum size of pages to return.
example: 1000
format: int64
type: integer
type: object
readOnly: true
type: object
$ref: '#/components/schemas/IncidentResponseMeta'
required:
- data
type: object
Expand Down Expand Up @@ -2305,30 +2286,7 @@ components:
readOnly: true
type: array
meta:
description: The metadata object containing pagination metadata.
properties:
pagination:
description: Pagination properties.
properties:
next_offset:
description: The index of the first element in the next page of
results. Equal to page size added to the current offset.
example: 1000
format: int64
type: integer
offset:
description: The index of the first element in the results.
example: 10
format: int64
type: integer
size:
description: Maximum size of pages to return.
example: 1000
format: int64
type: integer
type: object
readOnly: true
type: object
$ref: '#/components/schemas/IncidentResponseMeta'
required:
- data
type: object
Expand Down
8 changes: 4 additions & 4 deletions api/v2/datadog/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ docs/IncidentResponse.md
docs/IncidentResponseAttributes.md
docs/IncidentResponseData.md
docs/IncidentResponseIncludedItem.md
docs/IncidentResponseMeta.md
docs/IncidentResponseMetaPagination.md
docs/IncidentResponseRelationships.md
docs/IncidentServiceCreateAttributes.md
docs/IncidentServiceCreateData.md
Expand All @@ -129,8 +131,6 @@ docs/IncidentServiceUpdateData.md
docs/IncidentServiceUpdateRequest.md
docs/IncidentServicesApi.md
docs/IncidentServicesResponse.md
docs/IncidentServicesResponseMeta.md
docs/IncidentServicesResponseMetaPagination.md
docs/IncidentTeamCreateAttributes.md
docs/IncidentTeamCreateData.md
docs/IncidentTeamCreateRequest.md
Expand Down Expand Up @@ -509,6 +509,8 @@ model_incident_response.go
model_incident_response_attributes.go
model_incident_response_data.go
model_incident_response_included_item.go
model_incident_response_meta.go
model_incident_response_meta_pagination.go
model_incident_response_relationships.go
model_incident_service_create_attributes.go
model_incident_service_create_data.go
Expand All @@ -523,8 +525,6 @@ model_incident_service_update_attributes.go
model_incident_service_update_data.go
model_incident_service_update_request.go
model_incident_services_response.go
model_incident_services_response_meta.go
model_incident_services_response_meta_pagination.go
model_incident_team_create_attributes.go
model_incident_team_create_data.go
model_incident_team_create_request.go
Expand Down
4 changes: 2 additions & 2 deletions api/v2/datadog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ All URIs are relative to *https://api.datadoghq.com*
- [IncidentResponseAttributes](docs/IncidentResponseAttributes.md)
- [IncidentResponseData](docs/IncidentResponseData.md)
- [IncidentResponseIncludedItem](docs/IncidentResponseIncludedItem.md)
- [IncidentResponseMeta](docs/IncidentResponseMeta.md)
- [IncidentResponseMetaPagination](docs/IncidentResponseMetaPagination.md)
- [IncidentResponseRelationships](docs/IncidentResponseRelationships.md)
- [IncidentServiceCreateAttributes](docs/IncidentServiceCreateAttributes.md)
- [IncidentServiceCreateData](docs/IncidentServiceCreateData.md)
Expand All @@ -300,8 +302,6 @@ All URIs are relative to *https://api.datadoghq.com*
- [IncidentServiceUpdateData](docs/IncidentServiceUpdateData.md)
- [IncidentServiceUpdateRequest](docs/IncidentServiceUpdateRequest.md)
- [IncidentServicesResponse](docs/IncidentServicesResponse.md)
- [IncidentServicesResponseMeta](docs/IncidentServicesResponseMeta.md)
- [IncidentServicesResponseMetaPagination](docs/IncidentServicesResponseMetaPagination.md)
- [IncidentTeamCreateAttributes](docs/IncidentTeamCreateAttributes.md)
- [IncidentTeamCreateData](docs/IncidentTeamCreateData.md)
- [IncidentTeamCreateRequest](docs/IncidentTeamCreateRequest.md)
Expand Down
53 changes: 53 additions & 0 deletions api/v2/datadog/docs/IncidentResponseMeta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# IncidentResponseMeta

## Properties

| Name | Type | Description | Notes |
| -------------- | ---------------------------------------------------------------------------------- | ----------- | ---------- |
| **Pagination** | Pointer to [**IncidentResponseMetaPagination**](IncidentResponseMetaPagination.md) | | [optional] |

## Methods

### NewIncidentResponseMeta

`func NewIncidentResponseMeta() *IncidentResponseMeta`

NewIncidentResponseMeta instantiates a new IncidentResponseMeta object.
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed.

### NewIncidentResponseMetaWithDefaults

`func NewIncidentResponseMetaWithDefaults() *IncidentResponseMeta`

NewIncidentResponseMetaWithDefaults instantiates a new IncidentResponseMeta object.
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set.

### GetPagination

`func (o *IncidentResponseMeta) GetPagination() IncidentResponseMetaPagination`

GetPagination returns the Pagination field if non-nil, zero value otherwise.

### GetPaginationOk

`func (o *IncidentResponseMeta) GetPaginationOk() (*IncidentResponseMetaPagination, bool)`

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

### SetPagination

`func (o *IncidentResponseMeta) SetPagination(v IncidentResponseMetaPagination)`

SetPagination sets Pagination field to given value.

### HasPagination

`func (o *IncidentResponseMeta) HasPagination() bool`

HasPagination returns a boolean if a field has been set.

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# IncidentServicesResponseMetaPagination
# IncidentResponseMetaPagination

## Properties

Expand All @@ -10,95 +10,95 @@

## Methods

### NewIncidentServicesResponseMetaPagination
### NewIncidentResponseMetaPagination

`func NewIncidentServicesResponseMetaPagination() *IncidentServicesResponseMetaPagination`
`func NewIncidentResponseMetaPagination() *IncidentResponseMetaPagination`

NewIncidentServicesResponseMetaPagination instantiates a new IncidentServicesResponseMetaPagination object.
NewIncidentResponseMetaPagination instantiates a new IncidentResponseMetaPagination object.
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed.

### NewIncidentServicesResponseMetaPaginationWithDefaults
### NewIncidentResponseMetaPaginationWithDefaults

`func NewIncidentServicesResponseMetaPaginationWithDefaults() *IncidentServicesResponseMetaPagination`
`func NewIncidentResponseMetaPaginationWithDefaults() *IncidentResponseMetaPagination`

NewIncidentServicesResponseMetaPaginationWithDefaults instantiates a new IncidentServicesResponseMetaPagination object.
NewIncidentResponseMetaPaginationWithDefaults instantiates a new IncidentResponseMetaPagination object.
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set.

### GetNextOffset

`func (o *IncidentServicesResponseMetaPagination) GetNextOffset() int64`
`func (o *IncidentResponseMetaPagination) GetNextOffset() int64`

GetNextOffset returns the NextOffset field if non-nil, zero value otherwise.

### GetNextOffsetOk

`func (o *IncidentServicesResponseMetaPagination) GetNextOffsetOk() (*int64, bool)`
`func (o *IncidentResponseMetaPagination) GetNextOffsetOk() (*int64, bool)`

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

### SetNextOffset

`func (o *IncidentServicesResponseMetaPagination) SetNextOffset(v int64)`
`func (o *IncidentResponseMetaPagination) SetNextOffset(v int64)`

SetNextOffset sets NextOffset field to given value.

### HasNextOffset

`func (o *IncidentServicesResponseMetaPagination) HasNextOffset() bool`
`func (o *IncidentResponseMetaPagination) HasNextOffset() bool`

HasNextOffset returns a boolean if a field has been set.

### GetOffset

`func (o *IncidentServicesResponseMetaPagination) GetOffset() int64`
`func (o *IncidentResponseMetaPagination) GetOffset() int64`

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

### GetOffsetOk

`func (o *IncidentServicesResponseMetaPagination) GetOffsetOk() (*int64, bool)`
`func (o *IncidentResponseMetaPagination) GetOffsetOk() (*int64, bool)`

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.

### SetOffset

`func (o *IncidentServicesResponseMetaPagination) SetOffset(v int64)`
`func (o *IncidentResponseMetaPagination) SetOffset(v int64)`

SetOffset sets Offset field to given value.

### HasOffset

`func (o *IncidentServicesResponseMetaPagination) HasOffset() bool`
`func (o *IncidentResponseMetaPagination) HasOffset() bool`

HasOffset returns a boolean if a field has been set.

### GetSize

`func (o *IncidentServicesResponseMetaPagination) GetSize() int64`
`func (o *IncidentResponseMetaPagination) GetSize() int64`

GetSize returns the Size field if non-nil, zero value otherwise.

### GetSizeOk

`func (o *IncidentServicesResponseMetaPagination) GetSizeOk() (*int64, bool)`
`func (o *IncidentResponseMetaPagination) GetSizeOk() (*int64, bool)`

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

### SetSize

`func (o *IncidentServicesResponseMetaPagination) SetSize(v int64)`
`func (o *IncidentResponseMetaPagination) SetSize(v int64)`

SetSize sets Size field to given value.

### HasSize

`func (o *IncidentServicesResponseMetaPagination) HasSize() bool`
`func (o *IncidentResponseMetaPagination) HasSize() bool`

HasSize returns a boolean if a field has been set.

Expand Down
Loading

0 comments on commit fb4ce2b

Please sign in to comment.