Skip to content

Commit 87dabed

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e935c2a of spec repo
1 parent 8ab8ffb commit 87dabed

16 files changed

+411
-494
lines changed

.apigentools-info

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"info_version": "2",
44
"spec_versions": {
55
"v1": {
6-
"apigentools_version": "1.5.1.dev2",
7-
"regenerated": "2022-01-17 16:31:46.250333",
8-
"spec_repo_commit": "9f83d50"
6+
"apigentools_version": "1.6.1",
7+
"regenerated": "2022-01-18 11:24:01.695392",
8+
"spec_repo_commit": "e935c2a"
99
},
1010
"v2": {
11-
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2022-01-17 16:31:46.277137",
13-
"spec_repo_commit": "9f83d50"
11+
"apigentools_version": "1.6.1",
12+
"regenerated": "2022-01-18 11:24:01.709525",
13+
"spec_repo_commit": "e935c2a"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9759,6 +9759,10 @@ components:
97599759
assertions:
97609760
default: []
97619761
description: Array of assertions used for the test.
9762+
example:
9763+
- operator: lessThan
9764+
target: 1000
9765+
type: responseTime
97629766
items:
97639767
$ref: '#/components/schemas/SyntheticsAssertion'
97649768
type: array
@@ -9775,19 +9779,26 @@ components:
97759779
type: boolean
97769780
name:
97779781
description: The name of the step.
9782+
example: Example step name
97789783
type: string
97799784
request:
97809785
$ref: '#/components/schemas/SyntheticsTestRequest'
97819786
retry:
97829787
$ref: '#/components/schemas/SyntheticsTestOptionsRetry'
97839788
subtype:
97849789
$ref: '#/components/schemas/SyntheticsAPIStepSubtype'
9790+
required:
9791+
- assertions
9792+
- request
9793+
- name
9794+
- subtype
97859795
type: object
97869796
SyntheticsAPIStepSubtype:
97879797
description: The subtype of the Synthetic multistep API test step, currently
97889798
only supporting `http`.
97899799
enum:
97909800
- http
9801+
example: http
97919802
type: string
97929803
x-enum-varnames:
97939804
- HTTP
@@ -9816,7 +9827,7 @@ components:
98169827
type: integer
98179828
name:
98189829
description: Name of the test.
9819-
example: Test name
9830+
example: Example test name
98209831
type: string
98219832
options:
98229833
$ref: '#/components/schemas/SyntheticsTestOptions'
@@ -9839,6 +9850,12 @@ components:
98399850
type: array
98409851
type:
98419852
$ref: '#/components/schemas/SyntheticsAPITestType'
9853+
required:
9854+
- name
9855+
- config
9856+
- locations
9857+
- options
9858+
- type
98429859
type: object
98439860
SyntheticsAPITestConfig:
98449861
description: Configuration object for a Synthetic API test.
@@ -10314,6 +10331,8 @@ components:
1031410331
$ref: '#/components/schemas/SyntheticsBrowserTestConfig'
1031510332
locations:
1031610333
description: Array of locations used to run the test.
10334+
example:
10335+
- example-location
1031710336
items:
1031810337
description: A location from which the test was run.
1031910338
type: string
@@ -10330,6 +10349,7 @@ components:
1033010349
type: integer
1033110350
name:
1033210351
description: Name of the test.
10352+
example: Example test name
1033310353
type: string
1033410354
options:
1033510355
$ref: '#/components/schemas/SyntheticsTestOptions'
@@ -10353,7 +10373,11 @@ components:
1035310373
type:
1035410374
$ref: '#/components/schemas/SyntheticsBrowserTestType'
1035510375
required:
10356-
- message
10376+
- config
10377+
- locations
10378+
- name
10379+
- options
10380+
- type
1035710381
type: object
1035810382
SyntheticsBrowserTestConfig:
1035910383
description: Configuration object for a Synthetic browser test.

api/v1/datadog/docs/SyntheticsAPIStep.md

Lines changed: 11 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22

33
## Properties
44

5-
| Name | Type | Description | Notes |
6-
| ------------------- | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
7-
| **AllowFailure** | Pointer to **bool** | Determines whether or not to continue with test if this step fails. | [optional] |
8-
| **Assertions** | Pointer to [**[]SyntheticsAssertion**](SyntheticsAssertion.md) | Array of assertions used for the test. | [optional] [default to []] |
9-
| **ExtractedValues** | Pointer to [**[]SyntheticsParsingOptions**](SyntheticsParsingOptions.md) | Array of values to parse and save as variables from the response. | [optional] |
10-
| **IsCritical** | Pointer to **bool** | Determines whether or not to consider the entire test as failed if this step fails. Can be used only if `allowFailure` is `true`. | [optional] |
11-
| **Name** | Pointer to **string** | The name of the step. | [optional] |
12-
| **Request** | Pointer to [**SyntheticsTestRequest**](SyntheticsTestRequest.md) | | [optional] |
13-
| **Retry** | Pointer to [**SyntheticsTestOptionsRetry**](SyntheticsTestOptionsRetry.md) | | [optional] |
14-
| **Subtype** | Pointer to [**SyntheticsAPIStepSubtype**](SyntheticsAPIStepSubtype.md) | | [optional] |
5+
| Name | Type | Description | Notes |
6+
| ------------------- | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- |
7+
| **AllowFailure** | Pointer to **bool** | Determines whether or not to continue with test if this step fails. | [optional] |
8+
| **Assertions** | [**[]SyntheticsAssertion**](SyntheticsAssertion.md) | Array of assertions used for the test. | [default to []] |
9+
| **ExtractedValues** | Pointer to [**[]SyntheticsParsingOptions**](SyntheticsParsingOptions.md) | Array of values to parse and save as variables from the response. | [optional] |
10+
| **IsCritical** | Pointer to **bool** | Determines whether or not to consider the entire test as failed if this step fails. Can be used only if `allowFailure` is `true`. | [optional] |
11+
| **Name** | **string** | The name of the step. |
12+
| **Request** | [**SyntheticsTestRequest**](SyntheticsTestRequest.md) | |
13+
| **Retry** | Pointer to [**SyntheticsTestOptionsRetry**](SyntheticsTestOptionsRetry.md) | | [optional] |
14+
| **Subtype** | [**SyntheticsAPIStepSubtype**](SyntheticsAPIStepSubtype.md) | |
1515

1616
## Methods
1717

1818
### NewSyntheticsAPIStep
1919

20-
`func NewSyntheticsAPIStep() *SyntheticsAPIStep`
20+
`func NewSyntheticsAPIStep(assertions []SyntheticsAssertion, name string, request SyntheticsTestRequest, subtype SyntheticsAPIStepSubtype) *SyntheticsAPIStep`
2121

2222
NewSyntheticsAPIStep instantiates a new SyntheticsAPIStep object.
2323
This constructor will assign default values to properties that have it defined,
@@ -76,12 +76,6 @@ and a boolean to check if the value has been set.
7676

7777
SetAssertions sets Assertions field to given value.
7878

79-
### HasAssertions
80-
81-
`func (o *SyntheticsAPIStep) HasAssertions() bool`
82-
83-
HasAssertions returns a boolean if a field has been set.
84-
8579
### GetExtractedValues
8680

8781
`func (o *SyntheticsAPIStep) GetExtractedValues() []SyntheticsParsingOptions`
@@ -151,12 +145,6 @@ and a boolean to check if the value has been set.
151145

152146
SetName sets Name field to given value.
153147

154-
### HasName
155-
156-
`func (o *SyntheticsAPIStep) HasName() bool`
157-
158-
HasName returns a boolean if a field has been set.
159-
160148
### GetRequest
161149

162150
`func (o *SyntheticsAPIStep) GetRequest() SyntheticsTestRequest`
@@ -176,12 +164,6 @@ and a boolean to check if the value has been set.
176164

177165
SetRequest sets Request field to given value.
178166

179-
### HasRequest
180-
181-
`func (o *SyntheticsAPIStep) HasRequest() bool`
182-
183-
HasRequest returns a boolean if a field has been set.
184-
185167
### GetRetry
186168

187169
`func (o *SyntheticsAPIStep) GetRetry() SyntheticsTestOptionsRetry`
@@ -226,10 +208,4 @@ and a boolean to check if the value has been set.
226208

227209
SetSubtype sets Subtype field to given value.
228210

229-
### HasSubtype
230-
231-
`func (o *SyntheticsAPIStep) HasSubtype() bool`
232-
233-
HasSubtype returns a boolean if a field has been set.
234-
235211
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

api/v1/datadog/docs/SyntheticsAPITest.md

Lines changed: 14 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22

33
## Properties
44

5-
| Name | Type | Description | Notes |
6-
| ------------- | ------------------------------------------------------------------------------ | ---------------------------------------------- | ------------------------------------------------- |
7-
| **Config** | Pointer to [**SyntheticsAPITestConfig**](SyntheticsAPITestConfig.md) | | [optional] |
8-
| **Locations** | Pointer to **[]string** | Array of locations used to run the test. | [optional] |
9-
| **Message** | Pointer to **string** | Notification message associated with the test. | [optional] |
10-
| **MonitorId** | Pointer to **int64** | The associated monitor ID. | [optional] [readonly] |
11-
| **Name** | Pointer to **string** | Name of the test. | [optional] |
12-
| **Options** | Pointer to [**SyntheticsTestOptions**](SyntheticsTestOptions.md) | | [optional] |
13-
| **PublicId** | Pointer to **string** | The public ID for the test. | [optional] [readonly] |
14-
| **Status** | Pointer to [**SyntheticsTestPauseStatus**](SyntheticsTestPauseStatus.md) | | [optional] |
15-
| **Subtype** | Pointer to [**SyntheticsTestDetailsSubType**](SyntheticsTestDetailsSubType.md) | | [optional] |
16-
| **Tags** | Pointer to **[]string** | Array of tags attached to the test. | [optional] |
17-
| **Type** | Pointer to [**SyntheticsAPITestType**](SyntheticsAPITestType.md) | | [optional] [default to SYNTHETICSAPITESTTYPE_API] |
5+
| Name | Type | Description | Notes |
6+
| ------------- | ------------------------------------------------------------------------------ | ---------------------------------------------- | -------------------------------------- |
7+
| **Config** | [**SyntheticsAPITestConfig**](SyntheticsAPITestConfig.md) | |
8+
| **Locations** | **[]string** | Array of locations used to run the test. |
9+
| **Message** | Pointer to **string** | Notification message associated with the test. | [optional] |
10+
| **MonitorId** | Pointer to **int64** | The associated monitor ID. | [optional] [readonly] |
11+
| **Name** | **string** | Name of the test. |
12+
| **Options** | [**SyntheticsTestOptions**](SyntheticsTestOptions.md) | |
13+
| **PublicId** | Pointer to **string** | The public ID for the test. | [optional] [readonly] |
14+
| **Status** | Pointer to [**SyntheticsTestPauseStatus**](SyntheticsTestPauseStatus.md) | | [optional] |
15+
| **Subtype** | Pointer to [**SyntheticsTestDetailsSubType**](SyntheticsTestDetailsSubType.md) | | [optional] |
16+
| **Tags** | Pointer to **[]string** | Array of tags attached to the test. | [optional] |
17+
| **Type** | [**SyntheticsAPITestType**](SyntheticsAPITestType.md) | | [default to SYNTHETICSAPITESTTYPE_API] |
1818

1919
## Methods
2020

2121
### NewSyntheticsAPITest
2222

23-
`func NewSyntheticsAPITest() *SyntheticsAPITest`
23+
`func NewSyntheticsAPITest(config SyntheticsAPITestConfig, locations []string, name string, options SyntheticsTestOptions, type_ SyntheticsAPITestType) *SyntheticsAPITest`
2424

2525
NewSyntheticsAPITest instantiates a new SyntheticsAPITest object.
2626
This constructor will assign default values to properties that have it defined,
@@ -54,12 +54,6 @@ and a boolean to check if the value has been set.
5454

5555
SetConfig sets Config field to given value.
5656

57-
### HasConfig
58-
59-
`func (o *SyntheticsAPITest) HasConfig() bool`
60-
61-
HasConfig returns a boolean if a field has been set.
62-
6357
### GetLocations
6458

6559
`func (o *SyntheticsAPITest) GetLocations() []string`
@@ -79,12 +73,6 @@ and a boolean to check if the value has been set.
7973

8074
SetLocations sets Locations field to given value.
8175

82-
### HasLocations
83-
84-
`func (o *SyntheticsAPITest) HasLocations() bool`
85-
86-
HasLocations returns a boolean if a field has been set.
87-
8876
### GetMessage
8977

9078
`func (o *SyntheticsAPITest) GetMessage() string`
@@ -154,12 +142,6 @@ and a boolean to check if the value has been set.
154142

155143
SetName sets Name field to given value.
156144

157-
### HasName
158-
159-
`func (o *SyntheticsAPITest) HasName() bool`
160-
161-
HasName returns a boolean if a field has been set.
162-
163145
### GetOptions
164146

165147
`func (o *SyntheticsAPITest) GetOptions() SyntheticsTestOptions`
@@ -179,12 +161,6 @@ and a boolean to check if the value has been set.
179161

180162
SetOptions sets Options field to given value.
181163

182-
### HasOptions
183-
184-
`func (o *SyntheticsAPITest) HasOptions() bool`
185-
186-
HasOptions returns a boolean if a field has been set.
187-
188164
### GetPublicId
189165

190166
`func (o *SyntheticsAPITest) GetPublicId() string`
@@ -304,10 +280,4 @@ and a boolean to check if the value has been set.
304280

305281
SetType sets Type field to given value.
306282

307-
### HasType
308-
309-
`func (o *SyntheticsAPITest) HasType() bool`
310-
311-
HasType returns a boolean if a field has been set.
312-
313283
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

0 commit comments

Comments
 (0)