Skip to content

Commit 2565c1e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 8dce4be of spec repo (#437)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 67a1ae6 commit 2565c1e

File tree

8 files changed

+33
-32
lines changed

8 files changed

+33
-32
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-14 07:18:03.233995",
8-
"spec_repo_commit": "cc429de"
7+
"regenerated": "2021-05-14 12:55:54.385081",
8+
"spec_repo_commit": "8dce4be"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev6",
12-
"regenerated": "2021-05-14 07:18:30.721525",
13-
"spec_repo_commit": "cc429de"
12+
"regenerated": "2021-05-14 12:56:19.479126",
13+
"spec_repo_commit": "8dce4be"
1414
}
1515
}
1616
}

docs/v1/SyntheticsAPITest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Name | Type | Description | Notes
88
**config** | [**SyntheticsAPITestConfig**](SyntheticsAPITestConfig.md) | | [optional]
99
**locations** | **[str]** | Array of locations used to run the test. | [optional]
1010
**message** | **str** | Notification message associated with the test. | [optional]
11-
**monitor_id** | **int** | The associated monitor ID. | [optional]
11+
**monitor_id** | **int** | The associated monitor ID. | [optional] [readonly]
1212
**name** | **str** | Name of the test. | [optional]
1313
**options** | [**SyntheticsTestOptions**](SyntheticsTestOptions.md) | | [optional]
14-
**public_id** | **str** | The public ID for the test. | [optional]
14+
**public_id** | **str** | The public ID for the test. | [optional] [readonly]
1515
**status** | [**SyntheticsTestPauseStatus**](SyntheticsTestPauseStatus.md) | | [optional]
1616
**subtype** | [**SyntheticsTestDetailsSubType**](SyntheticsTestDetailsSubType.md) | | [optional]
1717
**tags** | **[str]** | Array of tags attached to the test. | [optional]

docs/v1/SyntheticsBrowserTest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Name | Type | Description | Notes
88
**message** | **str** | Notification message associated with the test. Message can either be text or an empty string. |
99
**config** | [**SyntheticsBrowserTestConfig**](SyntheticsBrowserTestConfig.md) | | [optional]
1010
**locations** | **[str]** | Array of locations used to run the test. | [optional]
11-
**monitor_id** | **int** | The associated monitor ID. | [optional]
11+
**monitor_id** | **int** | The associated monitor ID. | [optional] [readonly]
1212
**name** | **str** | Name of the test. | [optional]
1313
**options** | [**SyntheticsTestOptions**](SyntheticsTestOptions.md) | | [optional]
14-
**public_id** | **str** | The public ID of the test. | [optional]
14+
**public_id** | **str** | The public ID of the test. | [optional] [readonly]
1515
**status** | [**SyntheticsTestPauseStatus**](SyntheticsTestPauseStatus.md) | | [optional]
1616
**steps** | [**[SyntheticsStep]**](SyntheticsStep.md) | The steps of the test. | [optional]
1717
**tags** | **[str]** | Array of tags attached to the test. | [optional]

docs/v1/SyntheticsGlobalVariableValue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Value of the global variable.
55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**value** | **str** | Value of the global variable. When reading a global variable, the value will not be present if the variable is secure. |
98
**secure** | **bool** | Determines if the variable is secure. | [optional]
9+
**value** | **str** | Value of the global variable. When reading a global variable, the value will not be present if the variable is secure. | [optional]
1010

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

docs/v1/SyntheticsTestDetails.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Name | Type | Description | Notes
88
**config** | [**SyntheticsTestConfig**](SyntheticsTestConfig.md) | | [optional]
99
**locations** | **[str]** | Array of locations used to run the test. | [optional]
1010
**message** | **str** | Notification message associated with the test. | [optional]
11-
**monitor_id** | **int** | The associated monitor ID. | [optional]
11+
**monitor_id** | **int** | The associated monitor ID. | [optional] [readonly]
1212
**name** | **str** | Name of the test. | [optional]
1313
**options** | [**SyntheticsTestOptions**](SyntheticsTestOptions.md) | | [optional]
14-
**public_id** | **str** | The test public ID. | [optional]
14+
**public_id** | **str** | The test public ID. | [optional] [readonly]
1515
**status** | [**SyntheticsTestPauseStatus**](SyntheticsTestPauseStatus.md) | | [optional]
1616
**steps** | [**[SyntheticsStep]**](SyntheticsStep.md) | For browser test, the steps of the test. | [optional]
1717
**subtype** | [**SyntheticsTestDetailsSubType**](SyntheticsTestDetailsSubType.md) | | [optional]

src/datadog_api_client/v1/model/synthetics_global_variable_value.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,17 @@ def openapi_types():
6565
and the value is attribute type.
6666
"""
6767
return {
68-
"value": (str,), # noqa: E501
6968
"secure": (bool,), # noqa: E501
69+
"value": (str,), # noqa: E501
7070
}
7171

7272
@cached_property
7373
def discriminator():
7474
return None
7575

7676
attribute_map = {
77-
"value": "value", # noqa: E501
7877
"secure": "secure", # noqa: E501
78+
"value": "value", # noqa: E501
7979
}
8080

8181
_composed_schemas = {}
@@ -92,12 +92,9 @@ def discriminator():
9292
)
9393

9494
@convert_js_args_to_python_args
95-
def __init__(self, value, *args, **kwargs): # noqa: E501
95+
def __init__(self, *args, **kwargs): # noqa: E501
9696
"""SyntheticsGlobalVariableValue - a model defined in OpenAPI
9797
98-
Args:
99-
value (str): Value of the global variable. When reading a global variable, the value will not be present if the variable is secure.
100-
10198
Keyword Args:
10299
_check_type (bool): if True, values for parameters in openapi_types
103100
will be type checked and a TypeError will be
@@ -130,6 +127,7 @@ def __init__(self, value, *args, **kwargs): # noqa: E501
130127
through its discriminator because we passed in
131128
_visited_composed_classes = (Animal,)
132129
secure (bool): Determines if the variable is secure.. [optional] # noqa: E501
130+
value (str): Value of the global variable. When reading a global variable, the value will not be present if the variable is secure.. [optional] # noqa: E501
133131
"""
134132

135133
_check_type = kwargs.pop("_check_type", True)
@@ -156,7 +154,6 @@ def __init__(self, value, *args, **kwargs): # noqa: E501
156154
self._configuration = _configuration
157155
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
158156

159-
self.value = value
160157
for var_name, var_value in kwargs.items():
161158
if (
162159
var_name not in self.attribute_map

src/datadog_api_client/v1/openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7945,6 +7945,7 @@ components:
79457945
monitor_id:
79467946
description: The associated monitor ID.
79477947
format: int64
7948+
readOnly: true
79487949
type: integer
79497950
name:
79507951
description: Name of the test.
@@ -7953,6 +7954,7 @@ components:
79537954
$ref: '#/components/schemas/SyntheticsTestOptions'
79547955
public_id:
79557956
description: The public ID for the test.
7957+
readOnly: true
79567958
type: string
79577959
status:
79587960
$ref: '#/components/schemas/SyntheticsTestPauseStatus'
@@ -8283,6 +8285,7 @@ components:
82838285
monitor_id:
82848286
description: The associated monitor ID.
82858287
format: int64
8288+
readOnly: true
82868289
type: integer
82878290
name:
82888291
description: Name of the test.
@@ -8291,6 +8294,7 @@ components:
82918294
$ref: '#/components/schemas/SyntheticsTestOptions'
82928295
public_id:
82938296
description: The public ID of the test.
8297+
readOnly: true
82948298
type: string
82958299
status:
82968300
$ref: '#/components/schemas/SyntheticsTestPauseStatus'
@@ -8882,8 +8886,6 @@ components:
88828886
the value will not be present if the variable is secure.'
88838887
example: example-value
88848888
type: string
8885-
required:
8886-
- value
88878889
type: object
88888890
SyntheticsListTestsResponse:
88898891
description: Object containing an array of Synthetic tests configuration.
@@ -9304,6 +9306,7 @@ components:
93049306
monitor_id:
93059307
description: The associated monitor ID.
93069308
format: int64
9309+
readOnly: true
93079310
type: integer
93089311
name:
93099312
description: Name of the test.
@@ -9312,6 +9315,7 @@ components:
93129315
$ref: '#/components/schemas/SyntheticsTestOptions'
93139316
public_id:
93149317
description: The test public ID.
9318+
readOnly: true
93159319
type: string
93169320
status:
93179321
$ref: '#/components/schemas/SyntheticsTestPauseStatus'

0 commit comments

Comments
 (0)