Skip to content

Commit d34602c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 98e3371 of spec repo (#2781)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 2b8be9d commit d34602c

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "335aa67",
3-
"generated": "2025-08-27 07:13:55.321"
2+
"spec_repo_commit": "98e3371",
3+
"generated": "2025-08-27 08:45:21.765"
44
}

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15696,6 +15696,10 @@ components:
1569615696
type: string
1569715697
description: Variables to replace in the test.
1569815698
type: object
15699+
version:
15700+
description: The version number of the Synthetic test version to trigger.
15701+
format: int64
15702+
type: integer
1569915703
required:
1570015704
- public_id
1570115705
type: object

src/datadog_api_client/v1/model/synthetics_ci_test.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def openapi_types(_):
4949
"retry": (SyntheticsTestOptionsRetry,),
5050
"start_url": (str,),
5151
"variables": ({str: (str,)},),
52+
"version": (int,),
5253
}
5354

5455
attribute_map = {
@@ -66,6 +67,7 @@ def openapi_types(_):
6667
"retry": "retry",
6768
"start_url": "startUrl",
6869
"variables": "variables",
70+
"version": "version",
6971
}
7072

7173
def __init__(
@@ -93,6 +95,7 @@ def __init__(
9395
retry: Union[SyntheticsTestOptionsRetry, UnsetType] = unset,
9496
start_url: Union[str, UnsetType] = unset,
9597
variables: Union[Dict[str, str], UnsetType] = unset,
98+
version: Union[int, UnsetType] = unset,
9699
**kwargs,
97100
):
98101
"""
@@ -139,6 +142,9 @@ def __init__(
139142
140143
:param variables: Variables to replace in the test.
141144
:type variables: {str: (str,)}, optional
145+
146+
:param version: The version number of the Synthetic test version to trigger.
147+
:type version: int, optional
142148
"""
143149
if allow_insecure_certificates is not unset:
144150
kwargs["allow_insecure_certificates"] = allow_insecure_certificates
@@ -166,6 +172,8 @@ def __init__(
166172
kwargs["start_url"] = start_url
167173
if variables is not unset:
168174
kwargs["variables"] = variables
175+
if version is not unset:
176+
kwargs["version"] = version
169177
super().__init__(kwargs)
170178

171179
self_.public_id = public_id

0 commit comments

Comments
 (0)