Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "335aa67",
"generated": "2025-08-27 07:13:55.321"
"spec_repo_commit": "98e3371",
"generated": "2025-08-27 08:45:21.765"
}
4 changes: 4 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15696,6 +15696,10 @@ components:
type: string
description: Variables to replace in the test.
type: object
version:
description: The version number of the Synthetic test version to trigger.
format: int64
type: integer
required:
- public_id
type: object
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v1/model/synthetics_ci_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def openapi_types(_):
"retry": (SyntheticsTestOptionsRetry,),
"start_url": (str,),
"variables": ({str: (str,)},),
"version": (int,),
}

attribute_map = {
Expand All @@ -66,6 +67,7 @@ def openapi_types(_):
"retry": "retry",
"start_url": "startUrl",
"variables": "variables",
"version": "version",
}

def __init__(
Expand Down Expand Up @@ -93,6 +95,7 @@ def __init__(
retry: Union[SyntheticsTestOptionsRetry, UnsetType] = unset,
start_url: Union[str, UnsetType] = unset,
variables: Union[Dict[str, str], UnsetType] = unset,
version: Union[int, UnsetType] = unset,
**kwargs,
):
"""
Expand Down Expand Up @@ -139,6 +142,9 @@ def __init__(

:param variables: Variables to replace in the test.
:type variables: {str: (str,)}, optional

:param version: The version number of the Synthetic test version to trigger.
:type version: int, optional
"""
if allow_insecure_certificates is not unset:
kwargs["allow_insecure_certificates"] = allow_insecure_certificates
Expand Down Expand Up @@ -166,6 +172,8 @@ def __init__(
kwargs["start_url"] = start_url
if variables is not unset:
kwargs["variables"] = variables
if version is not unset:
kwargs["version"] = version
super().__init__(kwargs)

self_.public_id = public_id
Loading