Skip to content

Commit

Permalink
Regenerate client from commit 23b373b of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 29, 2021
1 parent 23220d2 commit 094debf
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 85 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.4.1.dev2",
"regenerated": "2021-01-29 12:49:30.230912",
"spec_repo_commit": "bc876ff"
"regenerated": "2021-01-29 22:08:12.954191",
"spec_repo_commit": "23b373b"
},
"v2": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-01-29 12:49:37.749364",
"spec_repo_commit": "bc876ff"
"regenerated": "2021-01-29 22:08:19.609436",
"spec_repo_commit": "23b373b"
}
}
}
26 changes: 10 additions & 16 deletions api/v1/datadog/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12268,6 +12268,9 @@ components:
query: query
message: message
priority: 3
restricted_roles:
- restricted_roles
- restricted_roles
multi: true
tags:
- tags
Expand All @@ -12285,9 +12288,6 @@ components:
metric: metrics.name
group_by: host
type: count
restricted_roles:
- restricted_roles
- restricted_roles
evaluation_delay: 6
notify_audit: false
min_location_failed: 5
Expand Down Expand Up @@ -12369,6 +12369,13 @@ components:
query:
description: The monitor query.
type: string
restricted_roles:
description: A list of role identifiers that can be pulled from the Roles
API. Cannot be used with `locked` option.
items:
description: A role UUID.
type: string
type: array
state:
$ref: '#/components/schemas/MonitorState'
tags:
Expand Down Expand Up @@ -12417,9 +12424,6 @@ components:
metric: metrics.name
group_by: host
type: count
restricted_roles:
- restricted_roles
- restricted_roles
evaluation_delay: 6
notify_audit: false
min_location_failed: 5
Expand Down Expand Up @@ -12542,13 +12546,6 @@ components:
We highly recommend you set this to `false` for sparse metrics,
otherwise some evaluations are skipped. Default is false.
type: boolean
restricted_roles:
description: A list of role identifiers that can be pulled from the Roles
API. Cannot be used with `locked`.
items:
description: A role UUID.
type: string
type: array
silenced:
additionalProperties:
description: ID of the downtime applied to the monitor.
Expand Down Expand Up @@ -12817,9 +12814,6 @@ components:
metric: metrics.name
group_by: host
type: count
restricted_roles:
- restricted_roles
- restricted_roles
evaluation_delay: 6
notify_audit: false
min_location_failed: 5
Expand Down
26 changes: 26 additions & 0 deletions api/v1/datadog/docs/Monitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes
**OverallState** | Pointer to [**MonitorOverallStates**](MonitorOverallStates.md) | | [optional]
**Priority** | Pointer to **int64** | Integer from 1 (high) to 5 (low) indicating alert severity. | [optional]
**Query** | Pointer to **string** | The monitor query. | [optional]
**RestrictedRoles** | Pointer to **[]string** | A list of role identifiers that can be pulled from the Roles API. Cannot be used with `locked` option. | [optional]
**State** | Pointer to [**MonitorState**](MonitorState.md) | | [optional]
**Tags** | Pointer to **[]string** | Tags associated to your monitor. | [optional]
**Type** | Pointer to [**MonitorType**](MonitorType.md) | | [optional]
Expand Down Expand Up @@ -349,6 +350,31 @@ SetQuery sets Query field to given value.

HasQuery returns a boolean if a field has been set.

### GetRestrictedRoles

`func (o *Monitor) GetRestrictedRoles() []string`

GetRestrictedRoles returns the RestrictedRoles field if non-nil, zero value otherwise.

### GetRestrictedRolesOk

`func (o *Monitor) GetRestrictedRolesOk() (*[]string, bool)`

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

### SetRestrictedRoles

`func (o *Monitor) SetRestrictedRoles(v []string)`

SetRestrictedRoles sets RestrictedRoles field to given value.

### HasRestrictedRoles

`func (o *Monitor) HasRestrictedRoles() bool`

HasRestrictedRoles returns a boolean if a field has been set.

### GetState

`func (o *Monitor) GetState() MonitorState`
Expand Down
26 changes: 0 additions & 26 deletions api/v1/datadog/docs/MonitorOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Name | Type | Description | Notes
**NotifyNoData** | Pointer to **bool** | A Boolean indicating whether this monitor notifies when data stops reporting. | [optional] [default to false]
**RenotifyInterval** | Pointer to **NullableInt64** | The number of minutes after the last notification before a monitor re-notifies on the current status. It only re-notifies if it’s not resolved. | [optional]
**RequireFullWindow** | Pointer to **bool** | A Boolean indicating whether this monitor needs a full window of data before it’s evaluated. We highly recommend you set this to `false` for sparse metrics, otherwise some evaluations are skipped. Default is false. | [optional]
**RestrictedRoles** | Pointer to **[]string** | A list of role identifiers that can be pulled from the Roles API. Cannot be used with `locked`. | [optional]
**Silenced** | Pointer to **map[string]int64** | Information about the downtime applied to the monitor. | [optional]
**SyntheticsCheckId** | Pointer to **NullableString** | ID of the corresponding Synthetic check. | [optional]
**ThresholdWindows** | Pointer to [**MonitorThresholdWindowOptions**](MonitorThresholdWindowOptions.md) | | [optional]
Expand Down Expand Up @@ -480,31 +479,6 @@ SetRequireFullWindow sets RequireFullWindow field to given value.

HasRequireFullWindow returns a boolean if a field has been set.

### GetRestrictedRoles

`func (o *MonitorOptions) GetRestrictedRoles() []string`

GetRestrictedRoles returns the RestrictedRoles field if non-nil, zero value otherwise.

### GetRestrictedRolesOk

`func (o *MonitorOptions) GetRestrictedRolesOk() (*[]string, bool)`

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

### SetRestrictedRoles

`func (o *MonitorOptions) SetRestrictedRoles(v []string)`

SetRestrictedRoles sets RestrictedRoles field to given value.

### HasRestrictedRoles

`func (o *MonitorOptions) HasRestrictedRoles() bool`

HasRestrictedRoles returns a boolean if a field has been set.

### GetSilenced

`func (o *MonitorOptions) GetSilenced() map[string]int64`
Expand Down
41 changes: 39 additions & 2 deletions api/v1/datadog/model_monitor.go

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

37 changes: 0 additions & 37 deletions api/v1/datadog/model_monitor_options.go

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

0 comments on commit 094debf

Please sign in to comment.