Skip to content

Commit 3b08e6b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9757e1ea of spec repo
1 parent 5462536 commit 3b08e6b

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
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.6.6",
7-
"regenerated": "2025-06-13 12:52:57.407023",
8-
"spec_repo_commit": "a4fc362f"
7+
"regenerated": "2025-06-13 13:39:11.219540",
8+
"spec_repo_commit": "9757e1ea"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-13 12:52:57.504376",
13-
"spec_repo_commit": "a4fc362f"
12+
"regenerated": "2025-06-13 13:39:11.262516",
13+
"spec_repo_commit": "9757e1ea"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17207,13 +17207,21 @@ components:
1720717207
description: DNS server port to use for DNS tests.
1720817208
type: string
1720917209
files:
17210-
description: Files to be used as part of the request in the test.
17210+
description: Files to be used as part of the request in the test. Only valid
17211+
if `bodyType` is `multipart/form-data`.
1721117212
items:
1721217213
$ref: '#/components/schemas/SyntheticsTestRequestBodyFile'
1721317214
type: array
1721417215
follow_redirects:
1721517216
description: Specifies whether or not the request follows redirects.
1721617217
type: boolean
17218+
form:
17219+
additionalProperties:
17220+
description: A single form entry.
17221+
type: string
17222+
description: Form to be used as part of the request in the test. Only valid
17223+
if `bodyType` is `multipart/form-data`.
17224+
type: object
1721717225
headers:
1721817226
$ref: '#/components/schemas/SyntheticsTestHeaders'
1721917227
host:

src/datadog_api_client/v1/model/synthetics_test_request.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import List, Union, TYPE_CHECKING
6+
from typing import Dict, List, Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
@@ -68,6 +68,7 @@ def openapi_types(_):
6868
"dns_server_port": (str,),
6969
"files": ([SyntheticsTestRequestBodyFile],),
7070
"follow_redirects": (bool,),
71+
"form": ({str: (str,)},),
7172
"headers": (SyntheticsTestHeaders,),
7273
"host": (str,),
7374
"http_version": (SyntheticsTestOptionsHTTPVersion,),
@@ -103,6 +104,7 @@ def openapi_types(_):
103104
"dns_server_port": "dnsServerPort",
104105
"files": "files",
105106
"follow_redirects": "follow_redirects",
107+
"form": "form",
106108
"headers": "headers",
107109
"host": "host",
108110
"http_version": "httpVersion",
@@ -148,6 +150,7 @@ def __init__(
148150
dns_server_port: Union[str, UnsetType] = unset,
149151
files: Union[List[SyntheticsTestRequestBodyFile], UnsetType] = unset,
150152
follow_redirects: Union[bool, UnsetType] = unset,
153+
form: Union[Dict[str, str], UnsetType] = unset,
151154
headers: Union[SyntheticsTestHeaders, UnsetType] = unset,
152155
host: Union[str, UnsetType] = unset,
153156
http_version: Union[SyntheticsTestOptionsHTTPVersion, UnsetType] = unset,
@@ -207,12 +210,15 @@ def __init__(
207210
:param dns_server_port: DNS server port to use for DNS tests.
208211
:type dns_server_port: str, optional
209212
210-
:param files: Files to be used as part of the request in the test.
213+
:param files: Files to be used as part of the request in the test. Only valid if ``bodyType`` is ``multipart/form-data``.
211214
:type files: [SyntheticsTestRequestBodyFile], optional
212215
213216
:param follow_redirects: Specifies whether or not the request follows redirects.
214217
:type follow_redirects: bool, optional
215218
219+
:param form: Form to be used as part of the request in the test. Only valid if ``bodyType`` is ``multipart/form-data``.
220+
:type form: {str: (str,)}, optional
221+
216222
:param headers: Headers to include when performing the test.
217223
:type headers: SyntheticsTestHeaders, optional
218224
@@ -297,6 +303,8 @@ def __init__(
297303
kwargs["files"] = files
298304
if follow_redirects is not unset:
299305
kwargs["follow_redirects"] = follow_redirects
306+
if form is not unset:
307+
kwargs["form"] = form
300308
if headers is not unset:
301309
kwargs["headers"] = headers
302310
if host is not unset:

0 commit comments

Comments
 (0)