Skip to content

Commit

Permalink
Regenerate client from commit 36ec328 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Oct 8, 2021
1 parent dbd5ee1 commit 8ba69c6
Show file tree
Hide file tree
Showing 9 changed files with 483 additions and 26 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": "2021-10-07 07:33:09.399541",
"spec_repo_commit": "7a4f3f3"
"regenerated": "2021-10-08 07:01:42.572082",
"spec_repo_commit": "36ec328"
},
"v2": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-10-07 07:33:49.411339",
"spec_repo_commit": "7a4f3f3"
"regenerated": "2021-10-08 07:02:19.427934",
"spec_repo_commit": "36ec328"
}
}
}
53 changes: 52 additions & 1 deletion api/v1/datadog/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19448,10 +19448,12 @@ components:
description: The response object of a list of SLO corrections.
example:
attributes:
duration: 1600000000
creator:
name: name
handle: handle
email: email
rrule: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
timezone: timezone
slo_id: slo_id
start: 6
Expand Down Expand Up @@ -19487,6 +19489,8 @@ components:
description: The data object associated with the SLO correction to be created.
example:
attributes:
duration: 1600000000
rrule: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
timezone: UTC
slo_id: sloId
start: 1600000000
Expand All @@ -19507,6 +19511,8 @@ components:
example:
data:
attributes:
duration: 1600000000
rrule: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
timezone: UTC
slo_id: sloId
start: 1600000000
Expand All @@ -19521,6 +19527,8 @@ components:
SLOCorrectionCreateRequestAttributes:
description: The attribute object associated with the SLO correction to be created.
example:
duration: 1600000000
rrule: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
timezone: UTC
slo_id: sloId
start: 1600000000
Expand All @@ -19533,11 +19541,21 @@ components:
description:
description: Description of the correction being made.
type: string
duration:
description: Length of time (in seconds) for a specified `rrule` recurring
SLO correction.
example: 1600000000
format: int64
type: integer
end:
description: Ending time of the correction in epoch seconds.
example: 1600000000
format: int64
type: integer
rrule:
description: Recurrence rules as defined in the iCalendar RFC 5545.
example: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
type: string
slo_id:
description: ID of the SLO that this correction will be applied to.
example: sloId
Expand All @@ -19554,7 +19572,6 @@ components:
type: string
required:
- category
- end
- slo_id
- start
type: object
Expand All @@ -19563,10 +19580,12 @@ components:
example:
data:
- attributes:
duration: 1600000000
creator:
name: name
handle: handle
email: email
rrule: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
timezone: timezone
slo_id: slo_id
start: 6
Expand All @@ -19576,10 +19595,12 @@ components:
id: id
type: correction
- attributes:
duration: 1600000000
creator:
name: name
handle: handle
email: email
rrule: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
timezone: timezone
slo_id: slo_id
start: 6
Expand All @@ -19606,10 +19627,12 @@ components:
example:
data:
attributes:
duration: 1600000000
creator:
name: name
handle: handle
email: email
rrule: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
timezone: timezone
slo_id: slo_id
start: 6
Expand All @@ -19625,10 +19648,12 @@ components:
SLOCorrectionResponseAttributes:
description: The attribute object associated with the SLO correction.
example:
duration: 1600000000
creator:
name: name
handle: handle
email: email
rrule: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
timezone: timezone
slo_id: slo_id
start: 6
Expand All @@ -19643,10 +19668,20 @@ components:
description:
description: Description of the correction being made.
type: string
duration:
description: Length of time (in seconds) for a specified `rrule` recurring
SLO correction.
example: 1600000000
format: int64
type: integer
end:
description: Ending time of the correction in epoch seconds.
format: int64
type: integer
rrule:
description: Recurrence rules as defined in the iCalendar RFC 5545.
example: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
type: string
slo_id:
description: ID of the SLO that this correction will be applied to.
type: string
Expand All @@ -19672,6 +19707,8 @@ components:
description: The data object associated with the SLO correction to be updated.
example:
attributes:
duration: 1600000000
rrule: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
timezone: UTC
start: 1600000000
description: description
Expand All @@ -19689,6 +19726,8 @@ components:
example:
data:
attributes:
duration: 1600000000
rrule: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
timezone: UTC
start: 1600000000
description: description
Expand All @@ -19702,6 +19741,8 @@ components:
SLOCorrectionUpdateRequestAttributes:
description: The attribute object associated with the SLO correction to be updated.
example:
duration: 1600000000
rrule: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
timezone: UTC
start: 1600000000
description: description
Expand All @@ -19713,11 +19754,21 @@ components:
description:
description: Description of the correction being made.
type: string
duration:
description: Length of time (in seconds) for a specified `rrule` recurring
SLO correction.
example: 1600000000
format: int64
type: integer
end:
description: Ending time of the correction in epoch seconds.
example: 1600000000
format: int64
type: integer
rrule:
description: Recurrence rules as defined in the iCalendar RFC 5545.
example: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
type: string
start:
description: Starting time of the correction in epoch seconds.
example: 1600000000
Expand Down
61 changes: 59 additions & 2 deletions api/v1/datadog/docs/SLOCorrectionCreateRequestAttributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ Name | Type | Description | Notes
---- | ---- | ----------- | ------
**Category** | [**SLOCorrectionCategory**](SLOCorrectionCategory.md) | |
**Description** | Pointer to **string** | Description of the correction being made. | [optional]
**End** | **int64** | Ending time of the correction in epoch seconds. |
**Duration** | Pointer to **int64** | Length of time (in seconds) for a specified `rrule` recurring SLO correction. | [optional]
**End** | Pointer to **int64** | Ending time of the correction in epoch seconds. | [optional]
**Rrule** | Pointer to **string** | Recurrence rules as defined in the iCalendar RFC 5545. | [optional]
**SloId** | **string** | ID of the SLO that this correction will be applied to. |
**Start** | **int64** | Starting time of the correction in epoch seconds. |
**Timezone** | Pointer to **string** | The timezone to display in the UI for the correction times (defaults to \"UTC\"). | [optional]
Expand All @@ -15,7 +17,7 @@ Name | Type | Description | Notes

### NewSLOCorrectionCreateRequestAttributes

`func NewSLOCorrectionCreateRequestAttributes(category SLOCorrectionCategory, end int64, sloId string, start int64) *SLOCorrectionCreateRequestAttributes`
`func NewSLOCorrectionCreateRequestAttributes(category SLOCorrectionCategory, sloId string, start int64) *SLOCorrectionCreateRequestAttributes`

NewSLOCorrectionCreateRequestAttributes instantiates a new SLOCorrectionCreateRequestAttributes object.
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -75,6 +77,31 @@ SetDescription sets Description field to given value.

HasDescription returns a boolean if a field has been set.

### GetDuration

`func (o *SLOCorrectionCreateRequestAttributes) GetDuration() int64`

GetDuration returns the Duration field if non-nil, zero value otherwise.

### GetDurationOk

`func (o *SLOCorrectionCreateRequestAttributes) GetDurationOk() (*int64, bool)`

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

### SetDuration

`func (o *SLOCorrectionCreateRequestAttributes) SetDuration(v int64)`

SetDuration sets Duration field to given value.

### HasDuration

`func (o *SLOCorrectionCreateRequestAttributes) HasDuration() bool`

HasDuration returns a boolean if a field has been set.

### GetEnd

`func (o *SLOCorrectionCreateRequestAttributes) GetEnd() int64`
Expand All @@ -94,6 +121,36 @@ and a boolean to check if the value has been set.

SetEnd sets End field to given value.

### HasEnd

`func (o *SLOCorrectionCreateRequestAttributes) HasEnd() bool`

HasEnd returns a boolean if a field has been set.

### GetRrule

`func (o *SLOCorrectionCreateRequestAttributes) GetRrule() string`

GetRrule returns the Rrule field if non-nil, zero value otherwise.

### GetRruleOk

`func (o *SLOCorrectionCreateRequestAttributes) GetRruleOk() (*string, bool)`

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

### SetRrule

`func (o *SLOCorrectionCreateRequestAttributes) SetRrule(v string)`

SetRrule sets Rrule field to given value.

### HasRrule

`func (o *SLOCorrectionCreateRequestAttributes) HasRrule() bool`

HasRrule returns a boolean if a field has been set.

### GetSloId

Expand Down
52 changes: 52 additions & 0 deletions api/v1/datadog/docs/SLOCorrectionResponseAttributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ Name | Type | Description | Notes
**Category** | Pointer to [**SLOCorrectionCategory**](SLOCorrectionCategory.md) | | [optional]
**Creator** | Pointer to [**Creator**](Creator.md) | | [optional]
**Description** | Pointer to **string** | Description of the correction being made. | [optional]
**Duration** | Pointer to **int64** | Length of time (in seconds) for a specified `rrule` recurring SLO correction. | [optional]
**End** | Pointer to **int64** | Ending time of the correction in epoch seconds. | [optional]
**Rrule** | Pointer to **string** | Recurrence rules as defined in the iCalendar RFC 5545. | [optional]
**SloId** | Pointer to **string** | ID of the SLO that this correction will be applied to. | [optional]
**Start** | Pointer to **int64** | Starting time of the correction in epoch seconds. | [optional]
**Timezone** | Pointer to **string** | The timezone to display in the UI for the correction times (defaults to \"UTC\"). | [optional]
Expand Down Expand Up @@ -106,6 +108,31 @@ SetDescription sets Description field to given value.

HasDescription returns a boolean if a field has been set.

### GetDuration

`func (o *SLOCorrectionResponseAttributes) GetDuration() int64`

GetDuration returns the Duration field if non-nil, zero value otherwise.

### GetDurationOk

`func (o *SLOCorrectionResponseAttributes) GetDurationOk() (*int64, bool)`

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

### SetDuration

`func (o *SLOCorrectionResponseAttributes) SetDuration(v int64)`

SetDuration sets Duration field to given value.

### HasDuration

`func (o *SLOCorrectionResponseAttributes) HasDuration() bool`

HasDuration returns a boolean if a field has been set.

### GetEnd

`func (o *SLOCorrectionResponseAttributes) GetEnd() int64`
Expand All @@ -131,6 +158,31 @@ SetEnd sets End field to given value.

HasEnd returns a boolean if a field has been set.

### GetRrule

`func (o *SLOCorrectionResponseAttributes) GetRrule() string`

GetRrule returns the Rrule field if non-nil, zero value otherwise.

### GetRruleOk

`func (o *SLOCorrectionResponseAttributes) GetRruleOk() (*string, bool)`

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

### SetRrule

`func (o *SLOCorrectionResponseAttributes) SetRrule(v string)`

SetRrule sets Rrule field to given value.

### HasRrule

`func (o *SLOCorrectionResponseAttributes) HasRrule() bool`

HasRrule returns a boolean if a field has been set.

### GetSloId

`func (o *SLOCorrectionResponseAttributes) GetSloId() string`
Expand Down
Loading

0 comments on commit 8ba69c6

Please sign in to comment.