Skip to content

Commit 2b6f52f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Regenerate client from commit e6c8320 of spec repo (#473)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 696aa08 commit 2b6f52f

File tree

6 files changed

+48
-17
lines changed

6 files changed

+48
-17
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.4.1.dev8",
7-
"regenerated": "2021-06-08 12:35:42.764856",
8-
"spec_repo_commit": "6fd1064"
7+
"regenerated": "2021-06-08 14:40:53.143657",
8+
"spec_repo_commit": "e6c8320"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev8",
12-
"regenerated": "2021-06-08 12:36:09.047977",
13-
"spec_repo_commit": "6fd1064"
12+
"regenerated": "2021-06-08 14:41:16.671111",
13+
"spec_repo_commit": "e6c8320"
1414
}
1515
}
1616
}

docs/v1/SyntheticsApi.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,11 @@ with ApiClient(configuration) as api_client:
335335
follow_redirects=True,
336336
min_failure_duration=1,
337337
min_location_failed=1,
338+
monitor_name="monitor_name_example",
338339
monitor_options=SyntheticsTestOptionsMonitorOptions(
339340
renotify_interval=0,
340341
),
342+
monitor_priority=1,
341343
no_screenshot=True,
342344
retry=SyntheticsTestOptionsRetry(
343345
count=1,
@@ -484,9 +486,11 @@ with ApiClient(configuration) as api_client:
484486
follow_redirects=True,
485487
min_failure_duration=1,
486488
min_location_failed=1,
489+
monitor_name="monitor_name_example",
487490
monitor_options=SyntheticsTestOptionsMonitorOptions(
488491
renotify_interval=0,
489492
),
493+
monitor_priority=1,
490494
no_screenshot=True,
491495
retry=SyntheticsTestOptionsRetry(
492496
count=1,
@@ -1898,9 +1902,11 @@ with ApiClient(configuration) as api_client:
18981902
follow_redirects=True,
18991903
min_failure_duration=1,
19001904
min_location_failed=1,
1905+
monitor_name="monitor_name_example",
19011906
monitor_options=SyntheticsTestOptionsMonitorOptions(
19021907
renotify_interval=0,
19031908
),
1909+
monitor_priority=1,
19041910
no_screenshot=True,
19051911
retry=SyntheticsTestOptionsRetry(
19061912
count=1,
@@ -2049,9 +2055,11 @@ with ApiClient(configuration) as api_client:
20492055
follow_redirects=True,
20502056
min_failure_duration=1,
20512057
min_location_failed=1,
2058+
monitor_name="monitor_name_example",
20522059
monitor_options=SyntheticsTestOptionsMonitorOptions(
20532060
renotify_interval=0,
20542061
),
2062+
monitor_priority=1,
20552063
no_screenshot=True,
20562064
retry=SyntheticsTestOptionsRetry(
20572065
count=1,

docs/v1/SyntheticsTestOptions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ Name | Type | Description | Notes
1212
**follow_redirects** | **bool** | For API HTTP test, whether or not the test should follow redirects. | [optional]
1313
**min_failure_duration** | **int** | Minimum amount of time in failure required to trigger an alert. | [optional]
1414
**min_location_failed** | **int** | Minimum number of locations in failure required to trigger an alert. | [optional]
15+
**monitor_name** | **str** | The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs. | [optional]
1516
**monitor_options** | [**SyntheticsTestOptionsMonitorOptions**](SyntheticsTestOptionsMonitorOptions.md) | | [optional]
17+
**monitor_priority** | **int** | Integer from 1 (high) to 5 (low) indicating alert severity. | [optional]
1618
**no_screenshot** | **bool** | Prevents saving screenshots of the steps. | [optional]
1719
**retry** | [**SyntheticsTestOptionsRetry**](SyntheticsTestOptionsRetry.md) | | [optional]
1820
**tick_every** | [**SyntheticsTickInterval**](SyntheticsTickInterval.md) | | [optional]

src/datadog_api_client/v1/model/synthetics_test_options.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ class SyntheticsTestOptions(ModelNormal):
6060

6161
allowed_values = {}
6262

63-
validations = {}
63+
validations = {
64+
("monitor_priority",): {
65+
"inclusive_maximum": 5,
66+
"inclusive_minimum": 1,
67+
},
68+
}
6469

6570
additional_properties_type = None
6671

@@ -85,7 +90,9 @@ def openapi_types():
8590
"follow_redirects": (bool,), # noqa: E501
8691
"min_failure_duration": (int,), # noqa: E501
8792
"min_location_failed": (int,), # noqa: E501
93+
"monitor_name": (str,), # noqa: E501
8894
"monitor_options": (SyntheticsTestOptionsMonitorOptions,), # noqa: E501
95+
"monitor_priority": (int,), # noqa: E501
8996
"no_screenshot": (bool,), # noqa: E501
9097
"retry": (SyntheticsTestOptionsRetry,), # noqa: E501
9198
"tick_every": (SyntheticsTickInterval,), # noqa: E501
@@ -103,7 +110,9 @@ def discriminator():
103110
"follow_redirects": "follow_redirects", # noqa: E501
104111
"min_failure_duration": "min_failure_duration", # noqa: E501
105112
"min_location_failed": "min_location_failed", # noqa: E501
113+
"monitor_name": "monitor_name", # noqa: E501
106114
"monitor_options": "monitor_options", # noqa: E501
115+
"monitor_priority": "monitor_priority", # noqa: E501
107116
"no_screenshot": "noScreenshot", # noqa: E501
108117
"retry": "retry", # noqa: E501
109118
"tick_every": "tick_every", # noqa: E501
@@ -164,7 +173,9 @@ def __init__(self, *args, **kwargs): # noqa: E501
164173
follow_redirects (bool): For API HTTP test, whether or not the test should follow redirects.. [optional] # noqa: E501
165174
min_failure_duration (int): Minimum amount of time in failure required to trigger an alert.. [optional] # noqa: E501
166175
min_location_failed (int): Minimum number of locations in failure required to trigger an alert.. [optional] # noqa: E501
176+
monitor_name (str): The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.. [optional] # noqa: E501
167177
monitor_options (SyntheticsTestOptionsMonitorOptions): [optional] # noqa: E501
178+
monitor_priority (int): Integer from 1 (high) to 5 (low) indicating alert severity.. [optional] # noqa: E501
168179
no_screenshot (bool): Prevents saving screenshots of the steps.. [optional] # noqa: E501
169180
retry (SyntheticsTestOptionsRetry): [optional] # noqa: E501
170181
tick_every (SyntheticsTickInterval): [optional] # noqa: E501

src/datadog_api_client/v1/openapi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9778,6 +9778,10 @@ components:
97789778
an alert.'
97799779
format: int64
97809780
type: integer
9781+
monitor_name:
9782+
description: The monitor name is used for the alert title as well as for
9783+
all monitor dashboard widgets and SLOs.
9784+
type: string
97819785
monitor_options:
97829786
description: 'Object containing the options for a Synthetic test as a monitor
97839787

@@ -9793,6 +9797,12 @@ components:
97939797
minimum: 0
97949798
type: integer
97959799
type: object
9800+
monitor_priority:
9801+
description: Integer from 1 (high) to 5 (low) indicating alert severity.
9802+
format: int32
9803+
maximum: 5
9804+
minimum: 1
9805+
type: integer
97969806
noScreenshot:
97979807
description: Prevents saving screenshots of the steps.
97989808
type: boolean

0 commit comments

Comments
 (0)