Skip to content

Commit 26f4f72

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5e0396ec of spec repo
1 parent f2fa297 commit 26f4f72

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-03 09:24:16.469657",
8-
"spec_repo_commit": "5906d277"
7+
"regenerated": "2025-06-04 09:15:02.299410",
8+
"spec_repo_commit": "5e0396ec"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-03 09:24:16.484530",
13-
"spec_repo_commit": "5906d277"
12+
"regenerated": "2025-06-04 09:15:02.315323",
13+
"spec_repo_commit": "5e0396ec"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17166,13 +17166,21 @@ components:
1716617166
description: DNS server port to use for DNS tests.
1716717167
type: string
1716817168
files:
17169-
description: Files to be used as part of the request in the test.
17169+
description: Files to be used as part of the request in the test. Only valid
17170+
if `bodyType` is `multipart/form-data`.
1717017171
items:
1717117172
$ref: '#/components/schemas/SyntheticsTestRequestBodyFile'
1717217173
type: array
1717317174
follow_redirects:
1717417175
description: Specifies whether or not the request follows redirects.
1717517176
type: boolean
17177+
form:
17178+
additionalProperties:
17179+
description: A single form entry.
17180+
type: string
17181+
description: Form to be used as part of the request in the test. Only valid
17182+
if `bodyType` is `multipart/form-data`.
17183+
type: object
1717617184
headers:
1717717185
$ref: '#/components/schemas/SyntheticsTestHeaders'
1717817186
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,
@@ -67,6 +67,7 @@ def openapi_types(_):
6767
"dns_server_port": (str,),
6868
"files": ([SyntheticsTestRequestBodyFile],),
6969
"follow_redirects": (bool,),
70+
"form": ({str: (str,)},),
7071
"headers": (SyntheticsTestHeaders,),
7172
"host": (str,),
7273
"http_version": (SyntheticsTestOptionsHTTPVersion,),
@@ -100,6 +101,7 @@ def openapi_types(_):
100101
"dns_server_port": "dnsServerPort",
101102
"files": "files",
102103
"follow_redirects": "follow_redirects",
104+
"form": "form",
103105
"headers": "headers",
104106
"host": "host",
105107
"http_version": "httpVersion",
@@ -143,6 +145,7 @@ def __init__(
143145
dns_server_port: Union[str, UnsetType] = unset,
144146
files: Union[List[SyntheticsTestRequestBodyFile], UnsetType] = unset,
145147
follow_redirects: Union[bool, UnsetType] = unset,
148+
form: Union[Dict[str, str], UnsetType] = unset,
146149
headers: Union[SyntheticsTestHeaders, UnsetType] = unset,
147150
host: Union[str, UnsetType] = unset,
148151
http_version: Union[SyntheticsTestOptionsHTTPVersion, UnsetType] = unset,
@@ -198,12 +201,15 @@ def __init__(
198201
:param dns_server_port: DNS server port to use for DNS tests.
199202
:type dns_server_port: str, optional
200203
201-
:param files: Files to be used as part of the request in the test.
204+
:param files: Files to be used as part of the request in the test. Only valid if ``bodyType`` is ``multipart/form-data``.
202205
:type files: [SyntheticsTestRequestBodyFile], optional
203206
204207
:param follow_redirects: Specifies whether or not the request follows redirects.
205208
:type follow_redirects: bool, optional
206209
210+
:param form: Form to be used as part of the request in the test. Only valid if ``bodyType`` is ``multipart/form-data``.
211+
:type form: {str: (str,)}, optional
212+
207213
:param headers: Headers to include when performing the test.
208214
:type headers: SyntheticsTestHeaders, optional
209215
@@ -283,6 +289,8 @@ def __init__(
283289
kwargs["files"] = files
284290
if follow_redirects is not unset:
285291
kwargs["follow_redirects"] = follow_redirects
292+
if form is not unset:
293+
kwargs["form"] = form
286294
if headers is not unset:
287295
kwargs["headers"] = headers
288296
if host is not unset:

0 commit comments

Comments
 (0)