Skip to content

Commit a051f9d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit dfe221d of spec repo
1 parent 1b842de commit a051f9d

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": "d58cb84",
3-
"generated": "2025-08-22 18:45:21.021"
2+
"spec_repo_commit": "dfe221d",
3+
"generated": "2025-08-25 08:43:02.733"
44
}

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15690,6 +15690,10 @@ components:
1569015690
type: string
1569115691
description: Variables to replace in the test.
1569215692
type: object
15693+
version:
15694+
description: The version number of the Synthetic test version to trigger.
15695+
format: int64
15696+
type: integer
1569315697
required:
1569415698
- public_id
1569515699
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)