Skip to content

Commit

Permalink
Document support for BYDAY in SLO corrections (#2357)
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 committed Jan 19, 2024
1 parent 78355ea commit 4055be9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 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.6",
"regenerated": "2024-01-18 22:51:58.199195",
"spec_repo_commit": "4d921fb1"
"regenerated": "2024-01-19 00:00:01.299640",
"spec_repo_commit": "7dba000a"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-01-18 22:51:58.221645",
"spec_repo_commit": "4d921fb1"
"regenerated": "2024-01-19 00:00:01.331313",
"spec_repo_commit": "7dba000a"
}
}
}
6 changes: 3 additions & 3 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10074,7 +10074,7 @@ components:
description: 'The recurrence rules as defined in the iCalendar RFC 5545.
The supported rules for SLO corrections

are `FREQ`, `INTERVAL`, `COUNT` and `UNTIL`.'
are `FREQ`, `INTERVAL`, `COUNT`, `UNTIL` and `BYDAY`.'
example: FREQ=DAILY;INTERVAL=10;COUNT=5
type: string
slo_id:
Expand Down Expand Up @@ -10151,7 +10151,7 @@ components:
description: 'The recurrence rules as defined in the iCalendar RFC 5545.
The supported rules for SLO corrections

are `FREQ`, `INTERVAL`, `COUNT`, and `UNTIL`.'
are `FREQ`, `INTERVAL`, `COUNT`, `UNTIL` and `BYDAY`.'
example: FREQ=DAILY;INTERVAL=10;COUNT=5
nullable: true
type: string
Expand Down Expand Up @@ -10227,7 +10227,7 @@ components:
description: 'The recurrence rules as defined in the iCalendar RFC 5545.
The supported rules for SLO corrections

are `FREQ`, `INTERVAL`, `COUNT`, and `UNTIL`.'
are `FREQ`, `INTERVAL`, `COUNT`, `UNTIL` and `BYDAY`.'
example: FREQ=DAILY;INTERVAL=10;COUNT=5
type: string
start:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type SLOCorrectionCreateRequestAttributes struct {
// Ending time of the correction in epoch seconds.
End *int64 `json:"end,omitempty"`
// The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections
// are `FREQ`, `INTERVAL`, `COUNT` and `UNTIL`.
// are `FREQ`, `INTERVAL`, `COUNT`, `UNTIL` and `BYDAY`.
Rrule *string `json:"rrule,omitempty"`
// ID of the SLO that this correction applies to.
SloId string `json:"slo_id"`
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_slo_correction_response_attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type SLOCorrectionResponseAttributes struct {
// Modifier of the object.
Modifier NullableSLOCorrectionResponseAttributesModifier `json:"modifier,omitempty"`
// The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections
// are `FREQ`, `INTERVAL`, `COUNT`, and `UNTIL`.
// are `FREQ`, `INTERVAL`, `COUNT`, `UNTIL` and `BYDAY`.
Rrule datadog.NullableString `json:"rrule,omitempty"`
// ID of the SLO that this correction applies to.
SloId *string `json:"slo_id,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type SLOCorrectionUpdateRequestAttributes struct {
// Ending time of the correction in epoch seconds.
End *int64 `json:"end,omitempty"`
// The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections
// are `FREQ`, `INTERVAL`, `COUNT`, and `UNTIL`.
// are `FREQ`, `INTERVAL`, `COUNT`, `UNTIL` and `BYDAY`.
Rrule *string `json:"rrule,omitempty"`
// Starting time of the correction in epoch seconds.
Start *int64 `json:"start,omitempty"`
Expand Down

0 comments on commit 4055be9

Please sign in to comment.