Skip to content

Commit 31036f6

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 609ca23 of spec repo
1 parent d1cb955 commit 31036f6

File tree

10 files changed

+31
-253
lines changed

10 files changed

+31
-253
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-21 15:11:55.610953",
8-
"spec_repo_commit": "8327a94"
7+
"regenerated": "2021-06-21 16:53:58.937124",
8+
"spec_repo_commit": "609ca23"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev8",
12-
"regenerated": "2021-06-21 15:12:23.084029",
13-
"spec_repo_commit": "8327a94"
12+
"regenerated": "2021-06-21 16:54:23.397056",
13+
"spec_repo_commit": "609ca23"
1414
}
1515
}
1616
}

docs/v1/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,6 @@ Class | Method | HTTP request | Description
727727
- [SyntheticsTestRequest](SyntheticsTestRequest.md)
728728
- [SyntheticsTestRequestCertificate](SyntheticsTestRequestCertificate.md)
729729
- [SyntheticsTestRequestCertificateItem](SyntheticsTestRequestCertificateItem.md)
730-
- [SyntheticsTickInterval](SyntheticsTickInterval.md)
731730
- [SyntheticsTiming](SyntheticsTiming.md)
732731
- [SyntheticsTriggerCITestLocation](SyntheticsTriggerCITestLocation.md)
733732
- [SyntheticsTriggerCITestRunResult](SyntheticsTriggerCITestRunResult.md)

docs/v1/SyntheticsApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ with ApiClient(configuration) as api_client:
345345
count=1,
346346
interval=3.14,
347347
),
348-
tick_every=SyntheticsTickInterval(30),
348+
tick_every=30,
349349
),
350350
public_id="public_id_example",
351351
status=SyntheticsTestPauseStatus("live"),
@@ -496,7 +496,7 @@ with ApiClient(configuration) as api_client:
496496
count=1,
497497
interval=3.14,
498498
),
499-
tick_every=SyntheticsTickInterval(30),
499+
tick_every=30,
500500
),
501501
public_id="public_id_example",
502502
status=SyntheticsTestPauseStatus("live"),
@@ -1912,7 +1912,7 @@ with ApiClient(configuration) as api_client:
19121912
count=1,
19131913
interval=3.14,
19141914
),
1915-
tick_every=SyntheticsTickInterval(30),
1915+
tick_every=30,
19161916
),
19171917
public_id="public_id_example",
19181918
status=SyntheticsTestPauseStatus("live"),
@@ -2065,7 +2065,7 @@ with ApiClient(configuration) as api_client:
20652065
count=1,
20662066
interval=3.14,
20672067
),
2068-
tick_every=SyntheticsTickInterval(30),
2068+
tick_every=30,
20692069
),
20702070
public_id="public_id_example",
20712071
status=SyntheticsTestPauseStatus("live"),

docs/v1/SyntheticsTestOptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
1717
**monitor_priority** | **int** | Integer from 1 (high) to 5 (low) indicating alert severity. | [optional]
1818
**no_screenshot** | **bool** | Prevents saving screenshots of the steps. | [optional]
1919
**retry** | [**SyntheticsTestOptionsRetry**](SyntheticsTestOptionsRetry.md) | | [optional]
20-
**tick_every** | [**SyntheticsTickInterval**](SyntheticsTickInterval.md) | | [optional]
20+
**tick_every** | **int** | The frequency at which to run the Synthetic test (in seconds). | [optional]
2121

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

docs/v1/SyntheticsTickInterval.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/datadog_api_client/v1/model/synthetics_test_options.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,10 @@ def lazy_import():
2626
from datadog_api_client.v1.model.synthetics_device_id import SyntheticsDeviceID
2727
from datadog_api_client.v1.model.synthetics_test_options_monitor_options import SyntheticsTestOptionsMonitorOptions
2828
from datadog_api_client.v1.model.synthetics_test_options_retry import SyntheticsTestOptionsRetry
29-
from datadog_api_client.v1.model.synthetics_tick_interval import SyntheticsTickInterval
3029

3130
globals()["SyntheticsDeviceID"] = SyntheticsDeviceID
3231
globals()["SyntheticsTestOptionsMonitorOptions"] = SyntheticsTestOptionsMonitorOptions
3332
globals()["SyntheticsTestOptionsRetry"] = SyntheticsTestOptionsRetry
34-
globals()["SyntheticsTickInterval"] = SyntheticsTickInterval
3533

3634

3735
class SyntheticsTestOptions(ModelNormal):
@@ -65,6 +63,10 @@ class SyntheticsTestOptions(ModelNormal):
6563
"inclusive_maximum": 5,
6664
"inclusive_minimum": 1,
6765
},
66+
("tick_every",): {
67+
"inclusive_maximum": 604800,
68+
"inclusive_minimum": 30,
69+
},
6870
}
6971

7072
additional_properties_type = None
@@ -95,7 +97,7 @@ def openapi_types():
9597
"monitor_priority": (int,), # noqa: E501
9698
"no_screenshot": (bool,), # noqa: E501
9799
"retry": (SyntheticsTestOptionsRetry,), # noqa: E501
98-
"tick_every": (SyntheticsTickInterval,), # noqa: E501
100+
"tick_every": (int,), # noqa: E501
99101
}
100102

101103
@cached_property
@@ -178,7 +180,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
178180
monitor_priority (int): Integer from 1 (high) to 5 (low) indicating alert severity.. [optional] # noqa: E501
179181
no_screenshot (bool): Prevents saving screenshots of the steps.. [optional] # noqa: E501
180182
retry (SyntheticsTestOptionsRetry): [optional] # noqa: E501
181-
tick_every (SyntheticsTickInterval): [optional] # noqa: E501
183+
tick_every (int): The frequency at which to run the Synthetic test (in seconds).. [optional] # noqa: E501
182184
"""
183185

184186
_check_type = kwargs.pop("_check_type", True)

src/datadog_api_client/v1/model/synthetics_tick_interval.py

Lines changed: 0 additions & 188 deletions
This file was deleted.

src/datadog_api_client/v1/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,6 @@
484484
from datadog_api_client.v1.model.synthetics_test_request import SyntheticsTestRequest
485485
from datadog_api_client.v1.model.synthetics_test_request_certificate import SyntheticsTestRequestCertificate
486486
from datadog_api_client.v1.model.synthetics_test_request_certificate_item import SyntheticsTestRequestCertificateItem
487-
from datadog_api_client.v1.model.synthetics_tick_interval import SyntheticsTickInterval
488487
from datadog_api_client.v1.model.synthetics_timing import SyntheticsTiming
489488
from datadog_api_client.v1.model.synthetics_trigger_ci_test_location import SyntheticsTriggerCITestLocation
490489
from datadog_api_client.v1.model.synthetics_trigger_ci_test_run_result import SyntheticsTriggerCITestRunResult

src/datadog_api_client/v1/openapi.yaml

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9837,7 +9837,11 @@ components:
98379837
retry:
98389838
$ref: '#/components/schemas/SyntheticsTestOptionsRetry'
98399839
tick_every:
9840-
$ref: '#/components/schemas/SyntheticsTickInterval'
9840+
description: The frequency at which to run the Synthetic test (in seconds).
9841+
format: int64
9842+
maximum: 604800
9843+
minimum: 30
9844+
type: integer
98419845
type: object
98429846
SyntheticsTestOptionsRetry:
98439847
description: Object describing the retry strategy to apply to a Synthetic test.
@@ -9959,32 +9963,6 @@ components:
99599963
description: Date of update of the certificate or key, ISO format.
99609964
type: string
99619965
type: object
9962-
SyntheticsTickInterval:
9963-
description: The frequency at which to run the Synthetic test (in seconds).
9964-
enum:
9965-
- 30
9966-
- 60
9967-
- 300
9968-
- 900
9969-
- 1800
9970-
- 3600
9971-
- 21600
9972-
- 43200
9973-
- 86400
9974-
- 604800
9975-
format: int64
9976-
type: integer
9977-
x-enum-varnames:
9978-
- THIRTY_SECONDS
9979-
- MINUTE
9980-
- FIVE_MINUTES
9981-
- FIFTEEN_MINUTES
9982-
- THIRTY_MINUTES
9983-
- HOUR
9984-
- SIX_HOURS
9985-
- TWELVE_HOURS
9986-
- DAY
9987-
- WEEK
99889966
SyntheticsTiming:
99899967
description: 'Object containing all metrics and their values collected for a
99909968
Synthetic API test.

0 commit comments

Comments
 (0)