Skip to content

Commit e181590

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add daily as a valid enum for SLOReportInterval (#2316)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 9ac8cd6 commit e181590

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
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:31.187829",
8-
"spec_repo_commit": "f0c3c0f4"
7+
"regenerated": "2024-12-12 14:27:18.166809",
8+
"spec_repo_commit": "3ebe762b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-12 13:29:31.206413",
13-
"spec_repo_commit": "f0c3c0f4"
12+
"regenerated": "2024-12-12 14:27:18.187622",
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:

src/datadog_api_client/v2/model/slo_report_interval.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@ class SLOReportInterval(ModelSimple):
1616
"""
1717
The frequency at which report data is to be generated.
1818
19-
:param value: Must be one of ["weekly", "monthly"].
19+
:param value: Must be one of ["daily", "weekly", "monthly"].
2020
:type value: str
2121
"""
2222

2323
allowed_values = {
24+
"daily",
2425
"weekly",
2526
"monthly",
2627
}
28+
DAILY: ClassVar["SLOReportInterval"]
2729
WEEKLY: ClassVar["SLOReportInterval"]
2830
MONTHLY: ClassVar["SLOReportInterval"]
2931

@@ -34,5 +36,6 @@ def openapi_types(_):
3436
}
3537

3638

39+
SLOReportInterval.DAILY = SLOReportInterval("daily")
3740
SLOReportInterval.WEEKLY = SLOReportInterval("weekly")
3841
SLOReportInterval.MONTHLY = SLOReportInterval("monthly")

0 commit comments

Comments
 (0)