Skip to content

Commit

Permalink
Regenerate client from commit aabcab59 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Dec 11, 2024
1 parent eaf610e commit af21473
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 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-12-11 14:25:06.215881",
"spec_repo_commit": "7a9d0200"
"regenerated": "2024-12-11 16:42:25.477129",
"spec_repo_commit": "aabcab59"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-11 14:25:06.233821",
"spec_repo_commit": "7a9d0200"
"regenerated": "2024-12-11 16:42:25.495006",
"spec_repo_commit": "aabcab59"
}
}
}
2 changes: 2 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21001,11 +21001,13 @@ components:
SLOReportInterval:
description: The frequency at which report data is to be generated.
enum:
- daily
- weekly
- monthly
example: weekly
type: string
x-enum-varnames:
- DAILY
- WEEKLY
- MONTHLY
SLOReportPostResponse:
Expand Down
5 changes: 4 additions & 1 deletion src/datadog_api_client/v2/model/slo_report_interval.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ class SLOReportInterval(ModelSimple):
"""
The frequency at which report data is to be generated.
:param value: Must be one of ["weekly", "monthly"].
:param value: Must be one of ["daily", "weekly", "monthly"].
:type value: str
"""

allowed_values = {
"daily",
"weekly",
"monthly",
}
DAILY: ClassVar["SLOReportInterval"]
WEEKLY: ClassVar["SLOReportInterval"]
MONTHLY: ClassVar["SLOReportInterval"]

Expand All @@ -34,5 +36,6 @@ def openapi_types(_):
}


SLOReportInterval.DAILY = SLOReportInterval("daily")
SLOReportInterval.WEEKLY = SLOReportInterval("weekly")
SLOReportInterval.MONTHLY = SLOReportInterval("monthly")

0 comments on commit af21473

Please sign in to comment.