Skip to content

Commit 26c191b

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add daily as a valid enum for SLOReportInterval (#1957)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 4b4a8ae commit 26c191b

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
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.6.6",
7-
"regenerated": "2024-12-12 13:29:32.071714",
8-
"spec_repo_commit": "f0c3c0f4"
7+
"regenerated": "2024-12-12 14:27:07.718319",
8+
"spec_repo_commit": "3ebe762b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-12 13:29:32.090710",
13-
"spec_repo_commit": "f0c3c0f4"
12+
"regenerated": "2024-12-12 14:27:07.738249",
13+
"spec_repo_commit": "3ebe762b"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21110,11 +21110,13 @@ components:
2111021110
SLOReportInterval:
2111121111
description: The frequency at which report data is to be generated.
2111221112
enum:
21113+
- daily
2111321114
- weekly
2111421115
- monthly
2111521116
example: weekly
2111621117
type: string
2111721118
x-enum-varnames:
21119+
- DAILY
2111821120
- WEEKLY
2111921121
- MONTHLY
2112021122
SLOReportPostResponse:

packages/datadog-api-client-v2/models/ObjectSerializer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1808,7 +1808,7 @@ const enumsMap: { [key: string]: any[] } = {
18081808
RumMetricUniquenessWhen: ["match", "end"],
18091809
RunHistoricalJobRequestDataType: ["historicalDetectionsJobCreate"],
18101810
SAMLAssertionAttributesType: ["saml_assertion_attributes"],
1811-
SLOReportInterval: ["weekly", "monthly"],
1811+
SLOReportInterval: ["daily", "weekly", "monthly"],
18121812
SLOReportStatus: [
18131813
"in_progress",
18141814
"completed",

packages/datadog-api-client-v2/models/SLOReportInterval.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ import { UnparsedObject } from "../../datadog-api-client-common/util";
1010
* The frequency at which report data is to be generated.
1111
*/
1212

13-
export type SLOReportInterval = typeof WEEKLY | typeof MONTHLY | UnparsedObject;
13+
export type SLOReportInterval =
14+
| typeof DAILY
15+
| typeof WEEKLY
16+
| typeof MONTHLY
17+
| UnparsedObject;
18+
export const DAILY = "daily";
1419
export const WEEKLY = "weekly";
1520
export const MONTHLY = "monthly";

0 commit comments

Comments
 (0)