Skip to content

Commit

Permalink
Regenerate client from commit bdb7b215 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 25, 2024
1 parent 516e24a commit 4894d79
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 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-24 20:59:43.240865",
"spec_repo_commit": "9d7a3d85"
"regenerated": "2024-01-25 15:52:49.056273",
"spec_repo_commit": "bdb7b215"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-01-24 20:59:43.256115",
"spec_repo_commit": "9d7a3d85"
"regenerated": "2024-01-25 15:52:49.073732",
"spec_repo_commit": "bdb7b215"
}
}
}
3 changes: 3 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16759,8 +16759,11 @@ components:
expiration_date:
description: A Unix millisecond timestamp giving an expiration date for
the suppression rule. After this date, it won't suppress signals anymore.
If unset, the expiration date of the suppression rule is left untouched.
If set to `null`, the expiration date is removed.
example: 1703187336000
format: int64
nullable: true
type: integer
name:
description: The name of the suppression rule.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from datadog_api_client.model_utils import (
ModelNormal,
cached_property,
none_type,
unset,
UnsetType,
)
Expand All @@ -25,7 +26,7 @@ def openapi_types(_):
return {
"description": (str,),
"enabled": (bool,),
"expiration_date": (int,),
"expiration_date": (int, none_type),
"name": (str,),
"rule_query": (str,),
"suppression_query": (str,),
Expand All @@ -46,7 +47,7 @@ def __init__(
self_,
description: Union[str, UnsetType] = unset,
enabled: Union[bool, UnsetType] = unset,
expiration_date: Union[int, UnsetType] = unset,
expiration_date: Union[int, none_type, UnsetType] = unset,
name: Union[str, UnsetType] = unset,
rule_query: Union[str, UnsetType] = unset,
suppression_query: Union[str, UnsetType] = unset,
Expand All @@ -62,8 +63,8 @@ def __init__(
:param enabled: Whether the suppression rule is enabled.
:type enabled: bool, optional
:param expiration_date: A Unix millisecond timestamp giving an expiration date for the suppression rule. After this date, it won't suppress signals anymore.
:type expiration_date: int, optional
:param expiration_date: A Unix millisecond timestamp giving an expiration date for the suppression rule. After this date, it won't suppress signals anymore. If unset, the expiration date of the suppression rule is left untouched. If set to ``null`` , the expiration date is removed.
:type expiration_date: int, none_type, optional
:param name: The name of the suppression rule.
:type name: str, optional
Expand Down

0 comments on commit 4894d79

Please sign in to comment.