Skip to content

Commit 65ca3d5

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit a7ab9d2 of spec repo (#420)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 8756a9f commit 65ca3d5

File tree

9 files changed

+282
-26
lines changed

9 files changed

+282
-26
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-07-30 12:30:13.919038",
8-
"spec_repo_commit": "51ff332"
7+
"regenerated": "2020-07-30 15:13:16.740261",
8+
"spec_repo_commit": "a7ab9d2"
99
},
1010
"v2": {
1111
"apigentools_version": "1.2.0",
12-
"regenerated": "2020-07-30 12:30:18.925289",
13-
"spec_repo_commit": "51ff332"
12+
"regenerated": "2020-07-30 15:13:22.348328",
13+
"spec_repo_commit": "a7ab9d2"
1414
}
1515
}
1616
}

api/v1/datadog/.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ docs/SyntheticsTestDetailsSubType.md
329329
docs/SyntheticsTestDetailsType.md
330330
docs/SyntheticsTestMonitorStatus.md
331331
docs/SyntheticsTestOptions.md
332+
docs/SyntheticsTestOptionsMonitorOptions.md
332333
docs/SyntheticsTestOptionsRetry.md
333334
docs/SyntheticsTestPauseStatus.md
334335
docs/SyntheticsTestProcessStatus.md
@@ -730,6 +731,7 @@ model_synthetics_test_details_sub_type.go
730731
model_synthetics_test_details_type.go
731732
model_synthetics_test_monitor_status.go
732733
model_synthetics_test_options.go
734+
model_synthetics_test_options_monitor_options.go
733735
model_synthetics_test_options_retry.go
734736
model_synthetics_test_pause_status.go
735737
model_synthetics_test_process_status.go

api/v1/datadog/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ Class | Method | HTTP request | Description
497497
- [SyntheticsTestDetailsType](docs/SyntheticsTestDetailsType.md)
498498
- [SyntheticsTestMonitorStatus](docs/SyntheticsTestMonitorStatus.md)
499499
- [SyntheticsTestOptions](docs/SyntheticsTestOptions.md)
500+
- [SyntheticsTestOptionsMonitorOptions](docs/SyntheticsTestOptionsMonitorOptions.md)
500501
- [SyntheticsTestOptionsRetry](docs/SyntheticsTestOptionsRetry.md)
501502
- [SyntheticsTestPauseStatus](docs/SyntheticsTestPauseStatus.md)
502503
- [SyntheticsTestProcessStatus](docs/SyntheticsTestProcessStatus.md)

api/v1/datadog/api/openapi.yaml

Lines changed: 40 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13331,6 +13331,8 @@ components:
1333113331
name: name
1333213332
options:
1333313333
min_location_failed: 5
13334+
monitor_options:
13335+
renotify_interval: 331
1333413336
min_failure_duration: 5
1333513337
allow_insecure: true
1333613338
device_ids:
@@ -13339,8 +13341,8 @@ components:
1333913341
follow_redirects: true
1334013342
accept_self_signed: true
1334113343
retry:
13342-
count: 2
13343-
interval: 7.061401241503109
13344+
count: 7
13345+
interval: 9.301444243932576
1334413346
locations:
1334513347
- locations
1334613348
- locations
@@ -13372,11 +13374,11 @@ components:
1337213374
- allowFailure: true
1337313375
name: name
1337413376
params: '{}'
13375-
timeout: 9.301444243932576
13377+
timeout: 3.616076749251911
1337613378
- allowFailure: true
1337713379
name: name
1337813380
params: '{}'
13379-
timeout: 9.301444243932576
13381+
timeout: 3.616076749251911
1338013382
public_id: public_id
1338113383
tags:
1338213384
- tags
@@ -13385,6 +13387,8 @@ components:
1338513387
name: name
1338613388
options:
1338713389
min_location_failed: 5
13390+
monitor_options:
13391+
renotify_interval: 331
1338813392
min_failure_duration: 5
1338913393
allow_insecure: true
1339013394
device_ids:
@@ -13393,8 +13397,8 @@ components:
1339313397
follow_redirects: true
1339413398
accept_self_signed: true
1339513399
retry:
13396-
count: 2
13397-
interval: 7.061401241503109
13400+
count: 7
13401+
interval: 9.301444243932576
1339813402
locations:
1339913403
- locations
1340013404
- locations
@@ -13426,11 +13430,11 @@ components:
1342613430
- allowFailure: true
1342713431
name: name
1342813432
params: '{}'
13429-
timeout: 9.301444243932576
13433+
timeout: 3.616076749251911
1343013434
- allowFailure: true
1343113435
name: name
1343213436
params: '{}'
13433-
timeout: 9.301444243932576
13437+
timeout: 3.616076749251911
1343413438
public_id: public_id
1343513439
tags:
1343613440
- tags
@@ -13624,7 +13628,7 @@ components:
1362413628
allowFailure: true
1362513629
name: name
1362613630
params: '{}'
13627-
timeout: 9.301444243932576
13631+
timeout: 3.616076749251911
1362813632
properties:
1362913633
allowFailure:
1363013634
description: A boolean set to allow this step to fail.
@@ -13839,6 +13843,8 @@ components:
1383913843
name: name
1384013844
options:
1384113845
min_location_failed: 5
13846+
monitor_options:
13847+
renotify_interval: 331
1384213848
min_failure_duration: 5
1384313849
allow_insecure: true
1384413850
device_ids:
@@ -13847,8 +13853,8 @@ components:
1384713853
follow_redirects: true
1384813854
accept_self_signed: true
1384913855
retry:
13850-
count: 2
13851-
interval: 7.061401241503109
13856+
count: 7
13857+
interval: 9.301444243932576
1385213858
locations:
1385313859
- locations
1385413860
- locations
@@ -13880,11 +13886,11 @@ components:
1388013886
- allowFailure: true
1388113887
name: name
1388213888
params: '{}'
13883-
timeout: 9.301444243932576
13889+
timeout: 3.616076749251911
1388413890
- allowFailure: true
1388513891
name: name
1388613892
params: '{}'
13887-
timeout: 9.301444243932576
13893+
timeout: 3.616076749251911
1388813894
public_id: public_id
1388913895
tags:
1389013896
- tags
@@ -13971,6 +13977,8 @@ components:
1397113977
description: Object describing the extra options for a Synthetic test.
1397213978
example:
1397313979
min_location_failed: 5
13980+
monitor_options:
13981+
renotify_interval: 331
1397413982
min_failure_duration: 5
1397513983
allow_insecure: true
1397613984
device_ids:
@@ -13979,8 +13987,8 @@ components:
1397913987
follow_redirects: true
1398013988
accept_self_signed: true
1398113989
retry:
13982-
count: 2
13983-
interval: 7.061401241503109
13990+
count: 7
13991+
interval: 9.301444243932576
1398413992
properties:
1398513993
accept_self_signed:
1398613994
description: For SSL test, whether or not the test should allow self signed
@@ -14007,6 +14015,8 @@ components:
1400714015
an alert.
1400814016
format: int64
1400914017
type: integer
14018+
monitor_options:
14019+
$ref: '#/components/schemas/SyntheticsTestOptions_monitor_options'
1401014020
retry:
1401114021
$ref: '#/components/schemas/SyntheticsTestOptions_retry'
1401214022
tick_every:
@@ -18342,11 +18352,24 @@ components:
1834218352
required:
1834318353
- message
1834418354
- type
18355+
SyntheticsTestOptions_monitor_options:
18356+
description: Object containing the options for a Synthetic test as a monitor
18357+
(e.g. renotification).
18358+
example:
18359+
renotify_interval: 331
18360+
properties:
18361+
renotify_interval:
18362+
description: Time interval before renotifying if the test is still failing
18363+
(in minutes).
18364+
format: int64
18365+
maximum: 1440
18366+
minimum: 0
18367+
type: integer
1834518368
SyntheticsTestOptions_retry:
1834618369
description: Object describing the retry strategy to apply to a Synthetic test.
1834718370
example:
18348-
count: 2
18349-
interval: 7.061401241503109
18371+
count: 7
18372+
interval: 9.301444243932576
1835018373
properties:
1835118374
count:
1835218375
description: Number of times a test needs to be retried before marking a

api/v1/datadog/docs/SyntheticsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func main() {
5353
},
5454
)
5555

56-
body := datadog.SyntheticsTestDetails{Config: datadog.SyntheticsTestConfig{Assertions: []SyntheticsAssertion{datadog.SyntheticsAssertion{Operator: datadog.SyntheticsAssertionJSONPathOperator{}, Property: "Property_example", Target: datadog.SyntheticsAssertionJSONPathTarget_target{JsonPath: "JsonPath_example", Operator: "Operator_example", TargetValue: 123}, Type: datadog.SyntheticsAssertionType{}}), Request: datadog.SyntheticsTestRequest{BasicAuth: datadog.SyntheticsTestRequest_basicAuth{Password: "Password_example", Username: "Username_example"}, Body: "Body_example", Headers: map[string]string{ "Key" = "Value" }, Host: "Host_example", Method: datadog.HTTPMethod{}, Port: int64(123), Query: 123, Timeout: 123, Url: "Url_example"}, Variables: []SyntheticsBrowserVariable{datadog.SyntheticsBrowserVariable{Example: "Example_example", Id: "Id_example", Name: "Name_example", Pattern: "Pattern_example", Type: datadog.SyntheticsBrowserVariableType{}})}, Locations: []string{"Locations_example"), Message: "Message_example", MonitorId: int64(123), Name: "Name_example", Options: datadog.SyntheticsTestOptions{AcceptSelfSigned: false, AllowInsecure: false, DeviceIds: []SyntheticsDeviceID{datadog.SyntheticsDeviceID{}), FollowRedirects: false, MinFailureDuration: int64(123), MinLocationFailed: int64(123), Retry: datadog.SyntheticsTestOptions_retry{Count: int64(123), Interval: 123}, TickEvery: datadog.SyntheticsTickInterval{}}, PublicId: "PublicId_example", Status: datadog.SyntheticsTestPauseStatus{}, Steps: []SyntheticsStep{datadog.SyntheticsStep{AllowFailure: false, Name: "Name_example", Params: 123, Timeout: 123, Type: datadog.SyntheticsStepType{}}), Subtype: datadog.SyntheticsTestDetailsSubType{}, Tags: []string{"Tags_example"), Type: datadog.SyntheticsTestDetailsType{}} // SyntheticsTestDetails | Details of the test to create.
56+
body := datadog.SyntheticsTestDetails{Config: datadog.SyntheticsTestConfig{Assertions: []SyntheticsAssertion{datadog.SyntheticsAssertion{Operator: datadog.SyntheticsAssertionJSONPathOperator{}, Property: "Property_example", Target: datadog.SyntheticsAssertionJSONPathTarget_target{JsonPath: "JsonPath_example", Operator: "Operator_example", TargetValue: 123}, Type: datadog.SyntheticsAssertionType{}}), Request: datadog.SyntheticsTestRequest{BasicAuth: datadog.SyntheticsTestRequest_basicAuth{Password: "Password_example", Username: "Username_example"}, Body: "Body_example", Headers: map[string]string{ "Key" = "Value" }, Host: "Host_example", Method: datadog.HTTPMethod{}, Port: int64(123), Query: 123, Timeout: 123, Url: "Url_example"}, Variables: []SyntheticsBrowserVariable{datadog.SyntheticsBrowserVariable{Example: "Example_example", Id: "Id_example", Name: "Name_example", Pattern: "Pattern_example", Type: datadog.SyntheticsBrowserVariableType{}})}, Locations: []string{"Locations_example"), Message: "Message_example", MonitorId: int64(123), Name: "Name_example", Options: datadog.SyntheticsTestOptions{AcceptSelfSigned: false, AllowInsecure: false, DeviceIds: []SyntheticsDeviceID{datadog.SyntheticsDeviceID{}), FollowRedirects: false, MinFailureDuration: int64(123), MinLocationFailed: int64(123), MonitorOptions: datadog.SyntheticsTestOptions_monitor_options{RenotifyInterval: int64(123)}, Retry: datadog.SyntheticsTestOptions_retry{Count: int64(123), Interval: 123}, TickEvery: datadog.SyntheticsTickInterval{}}, PublicId: "PublicId_example", Status: datadog.SyntheticsTestPauseStatus{}, Steps: []SyntheticsStep{datadog.SyntheticsStep{AllowFailure: false, Name: "Name_example", Params: 123, Timeout: 123, Type: datadog.SyntheticsStepType{}}), Subtype: datadog.SyntheticsTestDetailsSubType{}, Tags: []string{"Tags_example"), Type: datadog.SyntheticsTestDetailsType{}} // SyntheticsTestDetails | Details of the test to create.
5757

5858
configuration := datadog.NewConfiguration()
5959
api_client := datadog.NewAPIClient(configuration)
@@ -881,7 +881,7 @@ func main() {
881881
)
882882

883883
publicId := "publicId_example" // string | The public ID of the test to get details from.
884-
body := datadog.SyntheticsTestDetails{Config: datadog.SyntheticsTestConfig{Assertions: []SyntheticsAssertion{datadog.SyntheticsAssertion{Operator: datadog.SyntheticsAssertionJSONPathOperator{}, Property: "Property_example", Target: datadog.SyntheticsAssertionJSONPathTarget_target{JsonPath: "JsonPath_example", Operator: "Operator_example", TargetValue: 123}, Type: datadog.SyntheticsAssertionType{}}), Request: datadog.SyntheticsTestRequest{BasicAuth: datadog.SyntheticsTestRequest_basicAuth{Password: "Password_example", Username: "Username_example"}, Body: "Body_example", Headers: map[string]string{ "Key" = "Value" }, Host: "Host_example", Method: datadog.HTTPMethod{}, Port: int64(123), Query: 123, Timeout: 123, Url: "Url_example"}, Variables: []SyntheticsBrowserVariable{datadog.SyntheticsBrowserVariable{Example: "Example_example", Id: "Id_example", Name: "Name_example", Pattern: "Pattern_example", Type: datadog.SyntheticsBrowserVariableType{}})}, Locations: []string{"Locations_example"), Message: "Message_example", MonitorId: int64(123), Name: "Name_example", Options: datadog.SyntheticsTestOptions{AcceptSelfSigned: false, AllowInsecure: false, DeviceIds: []SyntheticsDeviceID{datadog.SyntheticsDeviceID{}), FollowRedirects: false, MinFailureDuration: int64(123), MinLocationFailed: int64(123), Retry: datadog.SyntheticsTestOptions_retry{Count: int64(123), Interval: 123}, TickEvery: datadog.SyntheticsTickInterval{}}, PublicId: "PublicId_example", Status: datadog.SyntheticsTestPauseStatus{}, Steps: []SyntheticsStep{datadog.SyntheticsStep{AllowFailure: false, Name: "Name_example", Params: 123, Timeout: 123, Type: datadog.SyntheticsStepType{}}), Subtype: datadog.SyntheticsTestDetailsSubType{}, Tags: []string{"Tags_example"), Type: datadog.SyntheticsTestDetailsType{}} // SyntheticsTestDetails | New test details to be saved.
884+
body := datadog.SyntheticsTestDetails{Config: datadog.SyntheticsTestConfig{Assertions: []SyntheticsAssertion{datadog.SyntheticsAssertion{Operator: datadog.SyntheticsAssertionJSONPathOperator{}, Property: "Property_example", Target: datadog.SyntheticsAssertionJSONPathTarget_target{JsonPath: "JsonPath_example", Operator: "Operator_example", TargetValue: 123}, Type: datadog.SyntheticsAssertionType{}}), Request: datadog.SyntheticsTestRequest{BasicAuth: datadog.SyntheticsTestRequest_basicAuth{Password: "Password_example", Username: "Username_example"}, Body: "Body_example", Headers: map[string]string{ "Key" = "Value" }, Host: "Host_example", Method: datadog.HTTPMethod{}, Port: int64(123), Query: 123, Timeout: 123, Url: "Url_example"}, Variables: []SyntheticsBrowserVariable{datadog.SyntheticsBrowserVariable{Example: "Example_example", Id: "Id_example", Name: "Name_example", Pattern: "Pattern_example", Type: datadog.SyntheticsBrowserVariableType{}})}, Locations: []string{"Locations_example"), Message: "Message_example", MonitorId: int64(123), Name: "Name_example", Options: datadog.SyntheticsTestOptions{AcceptSelfSigned: false, AllowInsecure: false, DeviceIds: []SyntheticsDeviceID{datadog.SyntheticsDeviceID{}), FollowRedirects: false, MinFailureDuration: int64(123), MinLocationFailed: int64(123), MonitorOptions: datadog.SyntheticsTestOptions_monitor_options{RenotifyInterval: int64(123)}, Retry: datadog.SyntheticsTestOptions_retry{Count: int64(123), Interval: 123}, TickEvery: datadog.SyntheticsTickInterval{}}, PublicId: "PublicId_example", Status: datadog.SyntheticsTestPauseStatus{}, Steps: []SyntheticsStep{datadog.SyntheticsStep{AllowFailure: false, Name: "Name_example", Params: 123, Timeout: 123, Type: datadog.SyntheticsStepType{}}), Subtype: datadog.SyntheticsTestDetailsSubType{}, Tags: []string{"Tags_example"), Type: datadog.SyntheticsTestDetailsType{}} // SyntheticsTestDetails | New test details to be saved.
885885

886886
configuration := datadog.NewConfiguration()
887887
api_client := datadog.NewAPIClient(configuration)

api/v1/datadog/docs/SyntheticsTestOptions.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**FollowRedirects** | Pointer to **bool** | For API HTTP test, whether or not the test should follow redirects. | [optional]
1111
**MinFailureDuration** | Pointer to **int64** | Minimum amount of time in failure required to trigger an alert. | [optional]
1212
**MinLocationFailed** | Pointer to **int64** | Minimum number of locations in failure required to trigger an alert. | [optional]
13+
**MonitorOptions** | Pointer to [**SyntheticsTestOptionsMonitorOptions**](SyntheticsTestOptions_monitor_options.md) | | [optional]
1314
**Retry** | Pointer to [**SyntheticsTestOptionsRetry**](SyntheticsTestOptions_retry.md) | | [optional]
1415
**TickEvery** | Pointer to [**SyntheticsTickInterval**](SyntheticsTickInterval.md) | | [optional]
1516

@@ -182,6 +183,31 @@ SetMinLocationFailed sets MinLocationFailed field to given value.
182183

183184
HasMinLocationFailed returns a boolean if a field has been set.
184185

186+
### GetMonitorOptions
187+
188+
`func (o *SyntheticsTestOptions) GetMonitorOptions() SyntheticsTestOptionsMonitorOptions`
189+
190+
GetMonitorOptions returns the MonitorOptions field if non-nil, zero value otherwise.
191+
192+
### GetMonitorOptionsOk
193+
194+
`func (o *SyntheticsTestOptions) GetMonitorOptionsOk() (*SyntheticsTestOptionsMonitorOptions, bool)`
195+
196+
GetMonitorOptionsOk returns a tuple with the MonitorOptions field if it's non-nil, zero value otherwise
197+
and a boolean to check if the value has been set.
198+
199+
### SetMonitorOptions
200+
201+
`func (o *SyntheticsTestOptions) SetMonitorOptions(v SyntheticsTestOptionsMonitorOptions)`
202+
203+
SetMonitorOptions sets MonitorOptions field to given value.
204+
205+
### HasMonitorOptions
206+
207+
`func (o *SyntheticsTestOptions) HasMonitorOptions() bool`
208+
209+
HasMonitorOptions returns a boolean if a field has been set.
210+
185211
### GetRetry
186212

187213
`func (o *SyntheticsTestOptions) GetRetry() SyntheticsTestOptionsRetry`
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# SyntheticsTestOptionsMonitorOptions
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**RenotifyInterval** | Pointer to **int64** | Time interval before renotifying if the test is still failing (in minutes). | [optional]
8+
9+
## Methods
10+
11+
### NewSyntheticsTestOptionsMonitorOptions
12+
13+
`func NewSyntheticsTestOptionsMonitorOptions() *SyntheticsTestOptionsMonitorOptions`
14+
15+
NewSyntheticsTestOptionsMonitorOptions instantiates a new SyntheticsTestOptionsMonitorOptions object
16+
This constructor will assign default values to properties that have it defined,
17+
and makes sure properties required by API are set, but the set of arguments
18+
will change when the set of required properties is changed
19+
20+
### NewSyntheticsTestOptionsMonitorOptionsWithDefaults
21+
22+
`func NewSyntheticsTestOptionsMonitorOptionsWithDefaults() *SyntheticsTestOptionsMonitorOptions`
23+
24+
NewSyntheticsTestOptionsMonitorOptionsWithDefaults instantiates a new SyntheticsTestOptionsMonitorOptions object
25+
This constructor will only assign default values to properties that have it defined,
26+
but it doesn't guarantee that properties required by API are set
27+
28+
### GetRenotifyInterval
29+
30+
`func (o *SyntheticsTestOptionsMonitorOptions) GetRenotifyInterval() int64`
31+
32+
GetRenotifyInterval returns the RenotifyInterval field if non-nil, zero value otherwise.
33+
34+
### GetRenotifyIntervalOk
35+
36+
`func (o *SyntheticsTestOptionsMonitorOptions) GetRenotifyIntervalOk() (*int64, bool)`
37+
38+
GetRenotifyIntervalOk returns a tuple with the RenotifyInterval field if it's non-nil, zero value otherwise
39+
and a boolean to check if the value has been set.
40+
41+
### SetRenotifyInterval
42+
43+
`func (o *SyntheticsTestOptionsMonitorOptions) SetRenotifyInterval(v int64)`
44+
45+
SetRenotifyInterval sets RenotifyInterval field to given value.
46+
47+
### HasRenotifyInterval
48+
49+
`func (o *SyntheticsTestOptionsMonitorOptions) HasRenotifyInterval() bool`
50+
51+
HasRenotifyInterval returns a boolean if a field has been set.
52+
53+
54+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
55+
56+

0 commit comments

Comments
 (0)