Skip to content

Commit

Permalink
Regenerate client from commit e152bc4 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Sep 24, 2021
1 parent a64e845 commit 3a08bc1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 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.5.1.dev2",
"regenerated": "2021-09-22 07:09:27.303363",
"spec_repo_commit": "10d22b2"
"regenerated": "2021-09-24 15:50:24.592522",
"spec_repo_commit": "e152bc4"
},
"v2": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-09-22 07:10:12.037840",
"spec_repo_commit": "10d22b2"
"regenerated": "2021-09-24 15:51:11.297306",
"spec_repo_commit": "e152bc4"
}
}
}
2 changes: 2 additions & 0 deletions data/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10398,6 +10398,8 @@ components:
properties:
config:
$ref: '#/components/schemas/SyntheticsTestConfig'
creator:
$ref: '#/components/schemas/Creator'
locations:
description: Array of locations used to run the test.
items:
Expand Down
2 changes: 2 additions & 0 deletions docs/v1/SyntheticsTestDetails.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **config** | [**SyntheticsTestConfig**](SyntheticsTestConfig.md) | | [optional] |
| **creator** | [**Creator**](Creator.md) | | [optional] |
| **locations** | **Array<String>** | Array of locations used to run the test. | [optional] |
| **message** | **String** | Notification message associated with the test. | [optional] |
| **monitor_id** | **Integer** | The associated monitor ID. | [optional][readonly] |
Expand All @@ -24,6 +25,7 @@ require 'datadog_api_client/v1'

instance = DatadogAPIClient::V1::SyntheticsTestDetails.new(
config: null,
creator: null,
locations: null,
message: null,
monitor_id: null,
Expand Down
11 changes: 10 additions & 1 deletion lib/datadog_api_client/v1/models/synthetics_test_details.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class SyntheticsTestDetails

attr_accessor :config

attr_accessor :creator

# Array of locations used to run the test.
attr_accessor :locations

Expand Down Expand Up @@ -57,6 +59,7 @@ class SyntheticsTestDetails
def self.attribute_map
{
:'config' => :'config',
:'creator' => :'creator',
:'locations' => :'locations',
:'message' => :'message',
:'monitor_id' => :'monitor_id',
Expand All @@ -80,6 +83,7 @@ def self.acceptable_attributes
def self.openapi_types
{
:'config' => :'SyntheticsTestConfig',
:'creator' => :'Creator',
:'locations' => :'Array<String>',
:'message' => :'String',
:'monitor_id' => :'Integer',
Expand Down Expand Up @@ -119,6 +123,10 @@ def initialize(attributes = {})
self.config = attributes[:'config']
end

if attributes.key?(:'creator')
self.creator = attributes[:'creator']
end

if attributes.key?(:'locations')
if (value = attributes[:'locations']).is_a?(Array)
self.locations = value
Expand Down Expand Up @@ -189,6 +197,7 @@ def ==(o)
return true if self.equal?(o)
self.class == o.class &&
config == o.config &&
creator == o.creator &&
locations == o.locations &&
message == o.message &&
monitor_id == o.monitor_id &&
Expand All @@ -211,7 +220,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[config, locations, message, monitor_id, name, options, public_id, status, steps, subtype, tags, type].hash
[config, creator, locations, message, monitor_id, name, options, public_id, status, steps, subtype, tags, type].hash
end

# Builds the object from hash
Expand Down

0 comments on commit 3a08bc1

Please sign in to comment.