Skip to content

Commit 577519d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit bfe8474 of spec repo (#220)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 758a812 commit 577519d

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
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.dev2",
7-
"regenerated": "2021-01-11 14:01:57.868139",
8-
"spec_repo_commit": "fc003cf"
7+
"regenerated": "2021-01-11 15:35:16.792907",
8+
"spec_repo_commit": "bfe8474"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev2",
12-
"regenerated": "2021-01-11 14:02:10.187584",
13-
"spec_repo_commit": "fc003cf"
12+
"regenerated": "2021-01-11 15:35:27.197601",
13+
"spec_repo_commit": "bfe8474"
1414
}
1515
}
1616
}

docs/v1/SyntheticsApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
7777
id="id_example",
7878
name="MY_VARIABLE",
7979
parse_test_options=SyntheticsGlobalVariableParseTestOptions(
80+
field="content-type",
8081
parser=SyntheticsGlobalVariableParseTestOptionsParser(
8182
type=SyntheticsGlobalVariableParserType("raw"),
8283
value="value_example",
@@ -705,6 +706,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
705706
id="id_example",
706707
name="MY_VARIABLE",
707708
parse_test_options=SyntheticsGlobalVariableParseTestOptions(
709+
field="content-type",
708710
parser=SyntheticsGlobalVariableParseTestOptionsParser(
709711
type=SyntheticsGlobalVariableParserType("raw"),
710712
value="value_example",

docs/v1/SyntheticsGlobalVariableParseTestOptions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**parser** | [**SyntheticsGlobalVariableParseTestOptionsParser**](SyntheticsGlobalVariableParseTestOptionsParser.md) | |
88
**type** | [**SyntheticsGlobalVariableParseTestOptionsType**](SyntheticsGlobalVariableParseTestOptionsType.md) | |
9+
**field** | **str** | When type is &#x60;http_header&#x60;, name of the header to use to extract the value. | [optional]
910

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

src/datadog_api_client/v1/model/synthetics_global_variable_parse_test_options.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def openapi_types():
7878
return {
7979
'parser': (SyntheticsGlobalVariableParseTestOptionsParser,), # noqa: E501
8080
'type': (SyntheticsGlobalVariableParseTestOptionsType,), # noqa: E501
81+
'field': (str,), # noqa: E501
8182
}
8283

8384
@cached_property
@@ -88,6 +89,7 @@ def discriminator():
8889
attribute_map = {
8990
'parser': 'parser', # noqa: E501
9091
'type': 'type', # noqa: E501
92+
'field': 'field', # noqa: E501
9193
}
9294

9395
_composed_schemas = {}
@@ -140,6 +142,7 @@ def __init__(self, parser, type, *args, **kwargs): # noqa: E501
140142
Animal class but this time we won't travel
141143
through its discriminator because we passed in
142144
_visited_composed_classes = (Animal,)
145+
field (str): When type is `http_header`, name of the header to use to extract the value.. [optional] # noqa: E501
143146
"""
144147

145148
_check_type = kwargs.pop('_check_type', True)

src/datadog_api_client/v1/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6313,6 +6313,11 @@ components:
63136313
description: Parser options to use for retrieving a Synthetics global variable
63146314
from a Synthetics Test. Used in conjunction with `parse_test_public_id`.
63156315
properties:
6316+
field:
6317+
description: When type is `http_header`, name of the header to use to
6318+
extract the value.
6319+
example: content-type
6320+
type: string
63166321
parser:
63176322
description: Details of the parser to use for the global variable.
63186323
example:

0 commit comments

Comments
 (0)