Skip to content

Commit

Permalink
Generated code from DataDog/datadog-api-spec#355 (#262)
Browse files Browse the repository at this point in the history
Co-authored-by: Slavek Kabrda <slavek.kabrda@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and Slavek Kabrda authored Apr 30, 2020
1 parent 0cb85e7 commit 3175dab
Show file tree
Hide file tree
Showing 59 changed files with 784 additions and 359 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.0.0b3",
"regenerated": "2020-04-29 16:40:45.415190",
"spec_repo_commit": "cfe781d"
"regenerated": "2020-04-30 11:54:11.514571",
"spec_repo_commit": "f698783"
},
"v2": {
"apigentools_version": "1.0.0b3",
"regenerated": "2020-04-29 16:40:49.134965",
"spec_repo_commit": "cfe781d"
"regenerated": "2020-04-30 11:54:15.578069",
"spec_repo_commit": "f698783"
}
}
}
54 changes: 38 additions & 16 deletions api/v1/datadog/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12178,7 +12178,8 @@ components:
description: TODO.
example:
tests:
- created_at: created_at
- monitor_id: 5
created_at: created_at
message: message
created_by:
name: name
Expand All @@ -12196,15 +12197,17 @@ components:
email: email
name: name
options:
min_location_failed: 5
min_location_failed: 2
min_failure_duration: 5
allow_insecure: true
device_ids:
- null
- null
follow_redirects: true
accept_self_signed: true
retry:
count: 5
interval: 2.3021358869347655
count: 7
interval: 9.301444243932576
locations:
- locations
- locations
Expand Down Expand Up @@ -12236,7 +12239,8 @@ components:
target: '{}'
- property: property
target: '{}'
- created_at: created_at
- monitor_id: 5
created_at: created_at
message: message
created_by:
name: name
Expand All @@ -12254,15 +12258,17 @@ components:
email: email
name: name
options:
min_location_failed: 5
min_location_failed: 2
min_failure_duration: 5
allow_insecure: true
device_ids:
- null
- null
follow_redirects: true
accept_self_signed: true
retry:
count: 5
interval: 2.3021358869347655
count: 7
interval: 9.301444243932576
locations:
- locations
- locations
Expand Down Expand Up @@ -12664,6 +12670,7 @@ components:
SyntheticsTestDetails:
description: TODO.
example:
monitor_id: 5
created_at: created_at
message: message
created_by:
Expand All @@ -12682,15 +12689,17 @@ components:
email: email
name: name
options:
min_location_failed: 5
min_location_failed: 2
min_failure_duration: 5
allow_insecure: true
device_ids:
- null
- null
follow_redirects: true
accept_self_signed: true
retry:
count: 5
interval: 2.3021358869347655
count: 7
interval: 9.301444243932576
locations:
- locations
- locations
Expand Down Expand Up @@ -12744,6 +12753,10 @@ components:
type: string
modified_by:
$ref: '#/components/schemas/SyntheticsTestAuthor'
monitor_id:
description: TODO.
format: int64
type: integer
name:
description: TODO.
type: string
Expand Down Expand Up @@ -12798,19 +12811,24 @@ components:
SyntheticsTestOptions:
description: TODO.
example:
min_location_failed: 5
min_location_failed: 2
min_failure_duration: 5
allow_insecure: true
device_ids:
- null
- null
follow_redirects: true
accept_self_signed: true
retry:
count: 5
interval: 2.3021358869347655
count: 7
interval: 9.301444243932576
properties:
accept_self_signed:
description: TODO.
type: boolean
allow_insecure:
description: TODO.
type: boolean
device_ids:
description: TODO.
items:
Expand All @@ -12819,6 +12837,10 @@ components:
follow_redirects:
description: TODO.
type: boolean
min_failure_duration:
description: TODO.
format: int64
type: integer
min_location_failed:
description: TODO.
format: int64
Expand Down Expand Up @@ -16057,8 +16079,8 @@ components:
SyntheticsTestOptions_retry:
description: TODO.
example:
count: 5
interval: 2.3021358869347655
count: 7
interval: 9.301444243932576
properties:
count:
description: TODO.
Expand Down
26 changes: 26 additions & 0 deletions api/v1/datadog/docs/SyntheticsTestDetails.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**Message** | Pointer to **string** | TODO. | [optional]
**ModifiedAt** | Pointer to **string** | TODO. | [optional]
**ModifiedBy** | Pointer to [**SyntheticsTestAuthor**](SyntheticsTestAuthor.md) | | [optional]
**MonitorId** | Pointer to **int64** | TODO. | [optional]
**Name** | Pointer to **string** | TODO. | [optional]
**Options** | Pointer to [**SyntheticsTestOptions**](SyntheticsTestOptions.md) | | [optional]
**PublicId** | Pointer to **string** | TODO. | [optional]
Expand Down Expand Up @@ -213,6 +214,31 @@ SetModifiedBy sets ModifiedBy field to given value.

HasModifiedBy returns a boolean if a field has been set.

### GetMonitorId

`func (o *SyntheticsTestDetails) GetMonitorId() int64`

GetMonitorId returns the MonitorId field if non-nil, zero value otherwise.

### GetMonitorIdOk

`func (o *SyntheticsTestDetails) GetMonitorIdOk() (*int64, bool)`

GetMonitorIdOk returns a tuple with the MonitorId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetMonitorId

`func (o *SyntheticsTestDetails) SetMonitorId(v int64)`

SetMonitorId sets MonitorId field to given value.

### HasMonitorId

`func (o *SyntheticsTestDetails) HasMonitorId() bool`

HasMonitorId returns a boolean if a field has been set.

### GetName

`func (o *SyntheticsTestDetails) GetName() string`
Expand Down
52 changes: 52 additions & 0 deletions api/v1/datadog/docs/SyntheticsTestOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AcceptSelfSigned** | Pointer to **bool** | TODO. | [optional]
**AllowInsecure** | Pointer to **bool** | TODO. | [optional]
**DeviceIds** | Pointer to [**[]SyntheticsDeviceID**](SyntheticsDeviceID.md) | TODO. | [optional]
**FollowRedirects** | Pointer to **bool** | TODO. | [optional]
**MinFailureDuration** | Pointer to **int64** | TODO. | [optional]
**MinLocationFailed** | Pointer to **int64** | TODO. | [optional]
**Retry** | Pointer to [**SyntheticsTestOptionsRetry**](SyntheticsTestOptions_retry.md) | | [optional]
**TickEvery** | Pointer to [**SyntheticsTickInterval**](SyntheticsTickInterval.md) | | [optional]
Expand Down Expand Up @@ -55,6 +57,31 @@ SetAcceptSelfSigned sets AcceptSelfSigned field to given value.

HasAcceptSelfSigned returns a boolean if a field has been set.

### GetAllowInsecure

`func (o *SyntheticsTestOptions) GetAllowInsecure() bool`

GetAllowInsecure returns the AllowInsecure field if non-nil, zero value otherwise.

### GetAllowInsecureOk

`func (o *SyntheticsTestOptions) GetAllowInsecureOk() (*bool, bool)`

GetAllowInsecureOk returns a tuple with the AllowInsecure field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetAllowInsecure

`func (o *SyntheticsTestOptions) SetAllowInsecure(v bool)`

SetAllowInsecure sets AllowInsecure field to given value.

### HasAllowInsecure

`func (o *SyntheticsTestOptions) HasAllowInsecure() bool`

HasAllowInsecure returns a boolean if a field has been set.

### GetDeviceIds

`func (o *SyntheticsTestOptions) GetDeviceIds() []SyntheticsDeviceID`
Expand Down Expand Up @@ -105,6 +132,31 @@ SetFollowRedirects sets FollowRedirects field to given value.

HasFollowRedirects returns a boolean if a field has been set.

### GetMinFailureDuration

`func (o *SyntheticsTestOptions) GetMinFailureDuration() int64`

GetMinFailureDuration returns the MinFailureDuration field if non-nil, zero value otherwise.

### GetMinFailureDurationOk

`func (o *SyntheticsTestOptions) GetMinFailureDurationOk() (*int64, bool)`

GetMinFailureDurationOk returns a tuple with the MinFailureDuration field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetMinFailureDuration

`func (o *SyntheticsTestOptions) SetMinFailureDuration(v int64)`

SetMinFailureDuration sets MinFailureDuration field to given value.

### HasMinFailureDuration

`func (o *SyntheticsTestOptions) HasMinFailureDuration() bool`

HasMinFailureDuration returns a boolean if a field has been set.

### GetMinLocationFailed

`func (o *SyntheticsTestOptions) GetMinLocationFailed() int64`
Expand Down
37 changes: 37 additions & 0 deletions api/v1/datadog/model_synthetics_test_details.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3175dab

Please sign in to comment.