Skip to content

Commit

Permalink
Regenerate client from commit 0b6bfbed of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Aug 11, 2023
1 parent dcda584 commit b41c730
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.5",
"regenerated": "2023-08-10 19:08:19.092814",
"spec_repo_commit": "991b8a6f"
"regenerated": "2023-08-11 17:08:58.152185",
"spec_repo_commit": "0b6bfbed"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-08-10 19:08:19.108755",
"spec_repo_commit": "991b8a6f"
"regenerated": "2023-08-11 17:08:58.164642",
"spec_repo_commit": "0b6bfbed"
}
}
}
2 changes: 2 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19320,13 +19320,15 @@ components:
WidgetComparator:
description: Comparator to apply.
enum:
- '='
- '>'
- '>='
- <
- <=
example: '>'
type: string
x-enum-varnames:
- EQUAL_TO
- GREATER_THAN
- GREATER_THAN_OR_EQUAL_TO
- LESS_THAN
Expand Down
5 changes: 4 additions & 1 deletion src/datadog_api_client/v1/model/widget_comparator.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,18 @@ class WidgetComparator(ModelSimple):
"""
Comparator to apply.
:param value: Must be one of [">", ">=", "<", "<="].
:param value: Must be one of ["=", ">", ">=", "<", "<="].
:type value: str
"""

allowed_values = {
"=",
">",
">=",
"<",
"<=",
}
EQUAL_TO: ClassVar["WidgetComparator"]
GREATER_THAN: ClassVar["WidgetComparator"]
GREATER_THAN_OR_EQUAL_TO: ClassVar["WidgetComparator"]
LESS_THAN: ClassVar["WidgetComparator"]
Expand All @@ -38,6 +40,7 @@ def openapi_types(_):
}


WidgetComparator.EQUAL_TO = WidgetComparator("=")
WidgetComparator.GREATER_THAN = WidgetComparator(">")
WidgetComparator.GREATER_THAN_OR_EQUAL_TO = WidgetComparator(">=")
WidgetComparator.LESS_THAN = WidgetComparator("<")
Expand Down

0 comments on commit b41c730

Please sign in to comment.