Skip to content

Commit 3b781af

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 63d0439 of spec repo
1 parent e766426 commit 3b781af

File tree

5 files changed

+76
-30
lines changed

5 files changed

+76
-30
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": "2021-11-11 13:58:59.077884",
8-
"spec_repo_commit": "084ca04"
7+
"regenerated": "2021-11-12 10:50:52.800117",
8+
"spec_repo_commit": "63d0439"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-11-11 13:58:59.096149",
13-
"spec_repo_commit": "084ca04"
12+
"regenerated": "2021-11-12 10:50:52.820782",
13+
"spec_repo_commit": "63d0439"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7641,6 +7641,7 @@ components:
76417641
SLO correction.
76427642
example: 3600
76437643
format: int64
7644+
nullable: true
76447645
type: integer
76457646
end:
76467647
description: Ending time of the correction in epoch seconds.
@@ -7649,6 +7650,7 @@ components:
76497650
rrule:
76507651
description: Recurrence rules as defined in the iCalendar RFC 5545.
76517652
example: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
7653+
nullable: true
76527654
type: string
76537655
slo_id:
76547656
description: ID of the SLO that this correction will be applied to.

api/v1/datadog/api/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20298,6 +20298,7 @@ components:
2029820298
SLO correction.
2029920299
example: 3600
2030020300
format: int64
20301+
nullable: true
2030120302
type: integer
2030220303
end:
2030320304
description: Ending time of the correction in epoch seconds.
@@ -20306,6 +20307,7 @@ components:
2030620307
rrule:
2030720308
description: Recurrence rules as defined in the iCalendar RFC 5545.
2030820309
example: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
20310+
nullable: true
2030920311
type: string
2031020312
slo_id:
2031120313
description: ID of the SLO that this correction will be applied to.

api/v1/datadog/docs/SLOCorrectionResponseAttributes.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Name | Type | Description | Notes
77
**Category** | Pointer to [**SLOCorrectionCategory**](SLOCorrectionCategory.md) | | [optional]
88
**Creator** | Pointer to [**Creator**](Creator.md) | | [optional]
99
**Description** | Pointer to **string** | Description of the correction being made. | [optional]
10-
**Duration** | Pointer to **int64** | Length of time (in seconds) for a specified `rrule` recurring SLO correction. | [optional]
10+
**Duration** | Pointer to **NullableInt64** | Length of time (in seconds) for a specified `rrule` recurring SLO correction. | [optional]
1111
**End** | Pointer to **int64** | Ending time of the correction in epoch seconds. | [optional]
12-
**Rrule** | Pointer to **string** | Recurrence rules as defined in the iCalendar RFC 5545. | [optional]
12+
**Rrule** | Pointer to **NullableString** | Recurrence rules as defined in the iCalendar RFC 5545. | [optional]
1313
**SloId** | Pointer to **string** | ID of the SLO that this correction will be applied to. | [optional]
1414
**Start** | Pointer to **int64** | Starting time of the correction in epoch seconds. | [optional]
1515
**Timezone** | Pointer to **string** | The timezone to display in the UI for the correction times (defaults to \"UTC\"). | [optional]
@@ -133,6 +133,16 @@ SetDuration sets Duration field to given value.
133133

134134
HasDuration returns a boolean if a field has been set.
135135

136+
### SetDurationNil
137+
138+
`func (o *SLOCorrectionResponseAttributes) SetDurationNil(b bool)`
139+
140+
SetDurationNil sets the value for Duration to be an explicit nil
141+
142+
### UnsetDuration
143+
`func (o *SLOCorrectionResponseAttributes) UnsetDuration()`
144+
145+
UnsetDuration ensures that no value is present for Duration, not even an explicit nil
136146
### GetEnd
137147

138148
`func (o *SLOCorrectionResponseAttributes) GetEnd() int64`
@@ -183,6 +193,16 @@ SetRrule sets Rrule field to given value.
183193

184194
HasRrule returns a boolean if a field has been set.
185195

196+
### SetRruleNil
197+
198+
`func (o *SLOCorrectionResponseAttributes) SetRruleNil(b bool)`
199+
200+
SetRruleNil sets the value for Rrule to be an explicit nil
201+
202+
### UnsetRrule
203+
`func (o *SLOCorrectionResponseAttributes) UnsetRrule()`
204+
205+
UnsetRrule ensures that no value is present for Rrule, not even an explicit nil
186206
### GetSloId
187207

188208
`func (o *SLOCorrectionResponseAttributes) GetSloId() string`

api/v1/datadog/model_slo_correction_response_attributes.go

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

0 commit comments

Comments
 (0)