Skip to content

Commit 0f9d03d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Adds noScreenshot to SyntheticsStep (#1223)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 6d6aeb2 commit 0f9d03d

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
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.4",
7-
"regenerated": "2022-11-01 20:07:45.812181",
8-
"spec_repo_commit": "deeff34e"
7+
"regenerated": "2022-11-02 20:10:39.169455",
8+
"spec_repo_commit": "7c5579df"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-11-01 20:07:45.925680",
13-
"spec_repo_commit": "deeff34e"
12+
"regenerated": "2022-11-02 20:10:39.181527",
13+
"spec_repo_commit": "7c5579df"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12744,6 +12744,9 @@ components:
1274412744
name:
1274512745
description: The name of the step.
1274612746
type: string
12747+
noScreenshot:
12748+
description: A boolean set to not take a screenshot for the step.
12749+
type: boolean
1274712750
params:
1274812751
description: The parameters of the step.
1274912752
type: object

src/datadog_api_client/v1/model/synthetics_step.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def openapi_types(_):
2626
"allow_failure": (bool,),
2727
"is_critical": (bool,),
2828
"name": (str,),
29+
"no_screenshot": (bool,),
2930
"params": (dict,),
3031
"timeout": (int,),
3132
"type": (SyntheticsStepType,),
@@ -35,6 +36,7 @@ def openapi_types(_):
3536
"allow_failure": "allowFailure",
3637
"is_critical": "isCritical",
3738
"name": "name",
39+
"no_screenshot": "noScreenshot",
3840
"params": "params",
3941
"timeout": "timeout",
4042
"type": "type",
@@ -45,6 +47,7 @@ def __init__(
4547
allow_failure: Union[bool, UnsetType] = unset,
4648
is_critical: Union[bool, UnsetType] = unset,
4749
name: Union[str, UnsetType] = unset,
50+
no_screenshot: Union[bool, UnsetType] = unset,
4851
params: Union[dict, UnsetType] = unset,
4952
timeout: Union[int, UnsetType] = unset,
5053
type: Union[SyntheticsStepType, UnsetType] = unset,
@@ -62,6 +65,9 @@ def __init__(
6265
:param name: The name of the step.
6366
:type name: str, optional
6467
68+
:param no_screenshot: A boolean set to not take a screenshot for the step.
69+
:type no_screenshot: bool, optional
70+
6571
:param params: The parameters of the step.
6672
:type params: dict, optional
6773
@@ -77,6 +83,8 @@ def __init__(
7783
kwargs["is_critical"] = is_critical
7884
if name is not unset:
7985
kwargs["name"] = name
86+
if no_screenshot is not unset:
87+
kwargs["no_screenshot"] = no_screenshot
8088
if params is not unset:
8189
kwargs["params"] = params
8290
if timeout is not unset:

0 commit comments

Comments
 (0)