Skip to content

Commit b0d26f8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add isUndefined synthetics assertion operator (#1527)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent b9eaa60 commit b0d26f8

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.4",
7-
"regenerated": "2023-06-15 13:52:13.247527",
8-
"spec_repo_commit": "cd68c9b8"
7+
"regenerated": "2023-06-15 14:21:28.331660",
8+
"spec_repo_commit": "aa16daa0"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-06-15 13:52:13.260886",
13-
"spec_repo_commit": "cd68c9b8"
12+
"regenerated": "2023-06-15 14:21:28.343850",
13+
"spec_repo_commit": "aa16daa0"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12408,6 +12408,7 @@ components:
1240812408
- isInMoreThan
1240912409
- isInLessThan
1241012410
- doesNotExist
12411+
- isUndefined
1241112412
example: contains
1241212413
type: string
1241312414
x-enum-varnames:
@@ -12425,6 +12426,7 @@ components:
1242512426
- IS_IN_MORE_DAYS_THAN
1242612427
- IS_IN_LESS_DAYS_THAN
1242712428
- DOES_NOT_EXIST
12429+
- IS_UNDEFINED
1242812430
SyntheticsAssertionTarget:
1242912431
description: An assertion which uses a simple target.
1243012432
properties:

src/datadog_api_client/v1/model/synthetics_assertion_operator.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SyntheticsAssertionOperator(ModelSimple):
1616
"""
1717
Assertion operator to apply.
1818
19-
:param value: Must be one of ["contains", "doesNotContain", "is", "isNot", "lessThan", "lessThanOrEqual", "moreThan", "moreThanOrEqual", "matches", "doesNotMatch", "validates", "isInMoreThan", "isInLessThan", "doesNotExist"].
19+
:param value: Must be one of ["contains", "doesNotContain", "is", "isNot", "lessThan", "lessThanOrEqual", "moreThan", "moreThanOrEqual", "matches", "doesNotMatch", "validates", "isInMoreThan", "isInLessThan", "doesNotExist", "isUndefined"].
2020
:type value: str
2121
"""
2222

@@ -35,6 +35,7 @@ class SyntheticsAssertionOperator(ModelSimple):
3535
"isInMoreThan",
3636
"isInLessThan",
3737
"doesNotExist",
38+
"isUndefined",
3839
}
3940
CONTAINS: ClassVar["SyntheticsAssertionOperator"]
4041
DOES_NOT_CONTAIN: ClassVar["SyntheticsAssertionOperator"]
@@ -50,6 +51,7 @@ class SyntheticsAssertionOperator(ModelSimple):
5051
IS_IN_MORE_DAYS_THAN: ClassVar["SyntheticsAssertionOperator"]
5152
IS_IN_LESS_DAYS_THAN: ClassVar["SyntheticsAssertionOperator"]
5253
DOES_NOT_EXIST: ClassVar["SyntheticsAssertionOperator"]
54+
IS_UNDEFINED: ClassVar["SyntheticsAssertionOperator"]
5355

5456
@cached_property
5557
def openapi_types(_):
@@ -72,3 +74,4 @@ def openapi_types(_):
7274
SyntheticsAssertionOperator.IS_IN_MORE_DAYS_THAN = SyntheticsAssertionOperator("isInMoreThan")
7375
SyntheticsAssertionOperator.IS_IN_LESS_DAYS_THAN = SyntheticsAssertionOperator("isInLessThan")
7476
SyntheticsAssertionOperator.DOES_NOT_EXIST = SyntheticsAssertionOperator("doesNotExist")
77+
SyntheticsAssertionOperator.IS_UNDEFINED = SyntheticsAssertionOperator("isUndefined")

0 commit comments

Comments
 (0)