Skip to content

Commit ca5a3c8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 787c299 of spec repo (#129)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 0837da5 commit ca5a3c8

File tree

4 files changed

+25
-7
lines changed

4 files changed

+25
-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.2.0",
7-
"regenerated": "2020-10-22 08:08:22.611114",
8-
"spec_repo_commit": "f53311d"
7+
"regenerated": "2020-10-23 09:15:34.207844",
8+
"spec_repo_commit": "787c299"
99
},
1010
"v2": {
1111
"apigentools_version": "1.2.0",
12-
"regenerated": "2020-10-22 08:08:33.538895",
13-
"spec_repo_commit": "f53311d"
12+
"regenerated": "2020-10-23 09:15:45.193741",
13+
"spec_repo_commit": "787c299"
1414
}
1515
}
1616
}

docs/v1/SyntheticsStepType.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Step type used in your Synthetic test.
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**value** | **str** | Step type used in your Synthetic test. | must be one of ["assertCurrentUrl", "assertElementContent", "assertElementPresent", "assertEmail", "assertPageContains", "assertPageLacks", "click", "extractVariable", "goToEmailLink", "goToUrl", "goToUrlAndMeasureTti", "hover", "playSubTest", "pressKey", "refresh", "selectOption", "typeText", "uploadFiles", "wait", ]
7+
**value** | **str** | Step type used in your Synthetic test. | must be one of ["assertCurrentUrl", "assertElementAttribute", "assertElementContent", "assertElementPresent", "assertEmail", "assertFileDownload", "assertFromJavascript", "assertPageContains", "assertPageLacks", "click", "extractFromJavascript", "extractVariable", "goToEmailLink", "goToUrl", "goToUrlAndMeasureTti", "hover", "playSubTest", "pressKey", "refresh", "runApiTest", "scroll", "selectOption", "typeText", "uploadFiles", "wait", ]
88

99
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
1010

src/datadog_api_client/v1/model/synthetics_step_type.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,16 @@ class SyntheticsStepType(ModelSimple):
4949
allowed_values = {
5050
('value',): {
5151
'ASSERT_CURRENT_URL': "assertCurrentUrl",
52+
'ASSERT_ELEMENT_ATTRIBUTE': "assertElementAttribute",
5253
'ASSERT_ELEMENT_CONTENT': "assertElementContent",
5354
'ASSERT_ELEMENT_PRESENT': "assertElementPresent",
5455
'ASSERT_EMAIL': "assertEmail",
56+
'ASSERT_FILE_DOWNLOAD': "assertFileDownload",
57+
'ASSERT_FROM_JAVASCRIPT': "assertFromJavascript",
5558
'ASSERT_PAGE_CONTAINS': "assertPageContains",
5659
'ASSERT_PAGE_LACKS': "assertPageLacks",
5760
'CLICK': "click",
61+
'EXTRACT_FROM_JAVASCRIPT': "extractFromJavascript",
5862
'EXTRACT_VARIABLE': "extractVariable",
5963
'GO_TO_EMAIL_LINK': "goToEmailLink",
6064
'GO_TO_URL': "goToUrl",
@@ -63,6 +67,8 @@ class SyntheticsStepType(ModelSimple):
6367
'PLAY_SUB_TEST': "playSubTest",
6468
'PRESS_KEY': "pressKey",
6569
'REFRESH': "refresh",
70+
'RUN_API_TEST': "runApiTest",
71+
'SCROLL': "scroll",
6672
'SELECT_OPTION': "selectOption",
6773
'TYPE_TEXT': "typeText",
6874
'UPLOAD_FILES': "uploadFiles",
@@ -116,10 +122,10 @@ def __init__(self, *args, **kwargs):
116122
Note that value can be passed either in args or in kwargs, but not in both.
117123
118124
Args:
119-
args[0] (str): Step type used in your Synthetic test.., must be one of ["assertCurrentUrl", "assertElementContent", "assertElementPresent", "assertEmail", "assertPageContains", "assertPageLacks", "click", "extractVariable", "goToEmailLink", "goToUrl", "goToUrlAndMeasureTti", "hover", "playSubTest", "pressKey", "refresh", "selectOption", "typeText", "uploadFiles", "wait", ] # noqa: E501
125+
args[0] (str): Step type used in your Synthetic test.., must be one of ["assertCurrentUrl", "assertElementAttribute", "assertElementContent", "assertElementPresent", "assertEmail", "assertFileDownload", "assertFromJavascript", "assertPageContains", "assertPageLacks", "click", "extractFromJavascript", "extractVariable", "goToEmailLink", "goToUrl", "goToUrlAndMeasureTti", "hover", "playSubTest", "pressKey", "refresh", "runApiTest", "scroll", "selectOption", "typeText", "uploadFiles", "wait", ] # noqa: E501
120126
121127
Keyword Args:
122-
value (str): Step type used in your Synthetic test.., must be one of ["assertCurrentUrl", "assertElementContent", "assertElementPresent", "assertEmail", "assertPageContains", "assertPageLacks", "click", "extractVariable", "goToEmailLink", "goToUrl", "goToUrlAndMeasureTti", "hover", "playSubTest", "pressKey", "refresh", "selectOption", "typeText", "uploadFiles", "wait", ] # noqa: E501
128+
value (str): Step type used in your Synthetic test.., must be one of ["assertCurrentUrl", "assertElementAttribute", "assertElementContent", "assertElementPresent", "assertEmail", "assertFileDownload", "assertFromJavascript", "assertPageContains", "assertPageLacks", "click", "extractFromJavascript", "extractVariable", "goToEmailLink", "goToUrl", "goToUrlAndMeasureTti", "hover", "playSubTest", "pressKey", "refresh", "runApiTest", "scroll", "selectOption", "typeText", "uploadFiles", "wait", ] # noqa: E501
123129
_check_type (bool): if True, values for parameters in openapi_types
124130
will be type checked and a TypeError will be
125131
raised if the wrong type is input.

src/datadog_api_client/v1/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6440,12 +6440,16 @@ components:
64406440
description: Step type used in your Synthetic test.
64416441
enum:
64426442
- assertCurrentUrl
6443+
- assertElementAttribute
64436444
- assertElementContent
64446445
- assertElementPresent
64456446
- assertEmail
6447+
- assertFileDownload
6448+
- assertFromJavascript
64466449
- assertPageContains
64476450
- assertPageLacks
64486451
- click
6452+
- extractFromJavascript
64496453
- extractVariable
64506454
- goToEmailLink
64516455
- goToUrl
@@ -6454,19 +6458,25 @@ components:
64546458
- playSubTest
64556459
- pressKey
64566460
- refresh
6461+
- runApiTest
6462+
- scroll
64576463
- selectOption
64586464
- typeText
64596465
- uploadFiles
64606466
- wait
64616467
type: string
64626468
x-enum-varnames:
64636469
- ASSERT_CURRENT_URL
6470+
- ASSERT_ELEMENT_ATTRIBUTE
64646471
- ASSERT_ELEMENT_CONTENT
64656472
- ASSERT_ELEMENT_PRESENT
64666473
- ASSERT_EMAIL
6474+
- ASSERT_FILE_DOWNLOAD
6475+
- ASSERT_FROM_JAVASCRIPT
64676476
- ASSERT_PAGE_CONTAINS
64686477
- ASSERT_PAGE_LACKS
64696478
- CLICK
6479+
- EXTRACT_FROM_JAVASCRIPT
64706480
- EXTRACT_VARIABLE
64716481
- GO_TO_EMAIL_LINK
64726482
- GO_TO_URL
@@ -6475,6 +6485,8 @@ components:
64756485
- PLAY_SUB_TEST
64766486
- PRESS_KEY
64776487
- REFRESH
6488+
- RUN_API_TEST
6489+
- SCROLL
64786490
- SELECT_OPTION
64796491
- TYPE_TEXT
64806492
- UPLOAD_FILES

0 commit comments

Comments
 (0)