Skip to content

Commit 05c7789

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit b9a2b4b of spec repo (#426)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 268b70d commit 05c7789

File tree

8 files changed

+31
-30
lines changed

8 files changed

+31
-30
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.dev6",
7-
"regenerated": "2021-05-10 13:53:45.621068",
8-
"spec_repo_commit": "dcadb1c"
7+
"regenerated": "2021-05-10 15:07:07.260739",
8+
"spec_repo_commit": "b9a2b4b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev6",
12-
"regenerated": "2021-05-10 13:54:13.229744",
13-
"spec_repo_commit": "dcadb1c"
12+
"regenerated": "2021-05-10 15:07:35.493870",
13+
"spec_repo_commit": "b9a2b4b"
1414
}
1515
}
1616
}

docs/v1/SyntheticsApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ with ApiClient(configuration) as api_client:
341341
count=1,
342342
interval=3.14,
343343
),
344-
tick_every=SyntheticsTickInterval(60),
344+
tick_every=SyntheticsTickInterval(30),
345345
),
346346
public_id="public_id_example",
347347
status=SyntheticsTestPauseStatus("live"),
@@ -490,7 +490,7 @@ with ApiClient(configuration) as api_client:
490490
count=1,
491491
interval=3.14,
492492
),
493-
tick_every=SyntheticsTickInterval(60),
493+
tick_every=SyntheticsTickInterval(30),
494494
),
495495
public_id="public_id_example",
496496
status=SyntheticsTestPauseStatus("live"),
@@ -1842,7 +1842,7 @@ with ApiClient(configuration) as api_client:
18421842
count=1,
18431843
interval=3.14,
18441844
),
1845-
tick_every=SyntheticsTickInterval(60),
1845+
tick_every=SyntheticsTickInterval(30),
18461846
),
18471847
public_id="public_id_example",
18481848
status=SyntheticsTestPauseStatus("live"),
@@ -1993,7 +1993,7 @@ with ApiClient(configuration) as api_client:
19931993
count=1,
19941994
interval=3.14,
19951995
),
1996-
tick_every=SyntheticsTickInterval(60),
1996+
tick_every=SyntheticsTickInterval(30),
19971997
),
19981998
public_id="public_id_example",
19991999
status=SyntheticsTestPauseStatus("live"),

docs/v1/SyntheticsTestConfig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Configuration object for a Synthetic test.
55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**request** | [**SyntheticsTestRequest**](SyntheticsTestRequest.md) | |
98
**assertions** | [**[SyntheticsAssertion]**](SyntheticsAssertion.md) | Array of assertions used for the test. | defaults to []
109
**config_variables** | [**[SyntheticsConfigVariable]**](SyntheticsConfigVariable.md) | API tests only - array of variables used for the test. | [optional]
10+
**request** | [**SyntheticsTestRequest**](SyntheticsTestRequest.md) | | [optional]
1111
**variables** | [**[SyntheticsBrowserVariable]**](SyntheticsBrowserVariable.md) | Browser tests only - array of variables used for the test steps. | [optional]
1212

1313
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)

docs/v1/SyntheticsTickInterval.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The frequency at which to run the Synthetic test (in seconds).
55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**value** | **int** | The frequency at which to run the Synthetic test (in seconds). | must be one of [60, 300, 900, 1800, 3600, 21600, 43200, 86400, 604800, ]
8+
**value** | **int** | The frequency at which to run the Synthetic test (in seconds). | must be one of [30, 60, 300, 900, 1800, 3600, 21600, 43200, 86400, 604800, ]
99

1010
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
1111

src/datadog_api_client/v1/model/synthetics_test_config.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def openapi_types():
7979
lazy_import()
8080
return {
8181
"assertions": ([SyntheticsAssertion],), # noqa: E501
82-
"request": (SyntheticsTestRequest,), # noqa: E501
8382
"config_variables": ([SyntheticsConfigVariable],), # noqa: E501
83+
"request": (SyntheticsTestRequest,), # noqa: E501
8484
"variables": ([SyntheticsBrowserVariable],), # noqa: E501
8585
}
8686

@@ -90,8 +90,8 @@ def discriminator():
9090

9191
attribute_map = {
9292
"assertions": "assertions", # noqa: E501
93-
"request": "request", # noqa: E501
9493
"config_variables": "configVariables", # noqa: E501
94+
"request": "request", # noqa: E501
9595
"variables": "variables", # noqa: E501
9696
}
9797

@@ -109,11 +109,10 @@ def discriminator():
109109
)
110110

111111
@convert_js_args_to_python_args
112-
def __init__(self, request, *args, **kwargs): # noqa: E501
112+
def __init__(self, *args, **kwargs): # noqa: E501
113113
"""SyntheticsTestConfig - a model defined in OpenAPI
114114
115115
Args:
116-
request (SyntheticsTestRequest):
117116
118117
Keyword Args:
119118
assertions ([SyntheticsAssertion]): Array of assertions used for the test.. defaults to [] # noqa: E501
@@ -148,6 +147,7 @@ def __init__(self, request, *args, **kwargs): # noqa: E501
148147
through its discriminator because we passed in
149148
_visited_composed_classes = (Animal,)
150149
config_variables ([SyntheticsConfigVariable]): API tests only - array of variables used for the test.. [optional] # noqa: E501
150+
request (SyntheticsTestRequest): [optional] # noqa: E501
151151
variables ([SyntheticsBrowserVariable]): Browser tests only - array of variables used for the test steps.. [optional] # noqa: E501
152152
"""
153153

@@ -177,7 +177,6 @@ def __init__(self, request, *args, **kwargs): # noqa: E501
177177
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
178178

179179
self.assertions = assertions
180-
self.request = request
181180
for var_name, var_value in kwargs.items():
182181
if (
183182
var_name not in self.attribute_map

src/datadog_api_client/v1/model/synthetics_tick_interval.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class SyntheticsTickInterval(ModelSimple):
4444

4545
allowed_values = {
4646
("value",): {
47+
"THIRTY_SECONDS": 30,
4748
"MINUTE": 60,
4849
"FIVE_MINUTES": 300,
4950
"FIFTEEN_MINUTES": 900,
@@ -102,10 +103,10 @@ def __init__(self, *args, **kwargs):
102103
Note that value can be passed either in args or in kwargs, but not in both.
103104
104105
Args:
105-
args[0] (int): The frequency at which to run the Synthetic test (in seconds).., must be one of [60, 300, 900, 1800, 3600, 21600, 43200, 86400, 604800, ] # noqa: E501
106+
args[0] (int): The frequency at which to run the Synthetic test (in seconds).., must be one of [30, 60, 300, 900, 1800, 3600, 21600, 43200, 86400, 604800, ] # noqa: E501
106107
107108
Keyword Args:
108-
value (int): The frequency at which to run the Synthetic test (in seconds).., must be one of [60, 300, 900, 1800, 3600, 21600, 43200, 86400, 604800, ] # noqa: E501
109+
value (int): The frequency at which to run the Synthetic test (in seconds).., must be one of [30, 60, 300, 900, 1800, 3600, 21600, 43200, 86400, 604800, ] # noqa: E501
109110
_check_type (bool): if True, values for parameters in openapi_types
110111
will be type checked and a TypeError will be
111112
raised if the wrong type is input.

src/datadog_api_client/v1/openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8498,7 +8498,6 @@ components:
84988498
$ref: '#/components/schemas/SyntheticsBrowserVariable'
84998499
type: array
85008500
required:
8501-
- request
85028501
- assertions
85038502
type: object
85048503
SyntheticsTestDetails:
@@ -8776,6 +8775,7 @@ components:
87768775
SyntheticsTickInterval:
87778776
description: The frequency at which to run the Synthetic test (in seconds).
87788777
enum:
8778+
- 30
87798779
- 60
87808780
- 300
87818781
- 900
@@ -8788,6 +8788,7 @@ components:
87888788
format: int64
87898789
type: integer
87908790
x-enum-varnames:
8791+
- THIRTY_SECONDS
87918792
- MINUTE
87928793
- FIVE_MINUTES
87938794
- FIFTEEN_MINUTES

0 commit comments

Comments
 (0)