Skip to content

Commit

Permalink
Regenerate client from commit 4f0cc56 of spec repo (#468)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Aug 20, 2021
1 parent 15c6baf commit 6ee0a49
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 11 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.dev11",
"regenerated": "2021-08-19 12:21:58.828076",
"spec_repo_commit": "cda030e"
"regenerated": "2021-08-20 13:34:24.322595",
"spec_repo_commit": "4f0cc56"
},
"v2": {
"apigentools_version": "1.4.1.dev11",
"regenerated": "2021-08-19 12:22:53.472422",
"spec_repo_commit": "cda030e"
"regenerated": "2021-08-20 13:35:07.621380",
"spec_repo_commit": "4f0cc56"
}
}
}
8 changes: 6 additions & 2 deletions data/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9561,12 +9561,13 @@ components:
value: value
properties:
secure:
description: Determines if the variable is secure.
description: Determines if the value of the variable is hidden.
type: boolean
value:
description: 'Value of the global variable. When reading a global variable,

the value will not be present if the variable is secure.'
the value will not be present if the variable is hidden with the `secure`
property.'
example: example-value
type: string
type: object
Expand Down Expand Up @@ -10344,6 +10345,9 @@ components:
SyntheticsTriggerCITestsResponse:
description: Object containing information about the tests triggered.
properties:
batch_id:
description: The public ID of the batch triggered.
type: string
locations:
description: List of Synthetics locations.
items:
Expand Down
4 changes: 2 additions & 2 deletions docs/v1/SyntheticsGlobalVariableValue.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **secure** | **Boolean** | Determines if the variable is secure. | [optional] |
| **value** | **String** | Value of the global variable. When reading a global variable, the value will not be present if the variable is secure. | [optional] |
| **secure** | **Boolean** | Determines if the value of the variable is hidden. | [optional] |
| **value** | **String** | Value of the global variable. When reading a global variable, the value will not be present if the variable is hidden with the &#x60;secure&#x60; property. | [optional] |

## Example

Expand Down
2 changes: 2 additions & 0 deletions docs/v1/SyntheticsTriggerCITestsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **batch_id** | **String** | The public ID of the batch triggered. | [optional] |
| **locations** | [**Array&lt;SyntheticsTriggerCITestLocation&gt;**](SyntheticsTriggerCITestLocation.md) | List of Synthetics locations. | [optional] |
| **results** | [**Array&lt;SyntheticsTriggerCITestRunResult&gt;**](SyntheticsTriggerCITestRunResult.md) | Information about the tests runs. | [optional] |
| **triggered_check_ids** | **Array&lt;String&gt;** | The public IDs of the Synthetics test triggered. | [optional] |
Expand All @@ -14,6 +15,7 @@
require 'datadog_api_client/v1'

instance = DatadogAPIClient::V1::SyntheticsTriggerCITestsResponse.new(
batch_id: null,
locations: null,
results: null,
triggered_check_ids: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ class SyntheticsGlobalVariableValue
# whether the object has unparsed attributes
attr_accessor :_unparsed

# Determines if the variable is secure.
# Determines if the value of the variable is hidden.
attr_accessor :secure

# Value of the global variable. When reading a global variable, the value will not be present if the variable is secure.
# Value of the global variable. When reading a global variable, the value will not be present if the variable is hidden with the `secure` property.
attr_accessor :value

# Attribute mapping from ruby-style variable name to JSON key.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ class SyntheticsTriggerCITestsResponse
# whether the object has unparsed attributes
attr_accessor :_unparsed

# The public ID of the batch triggered.
attr_accessor :batch_id

# List of Synthetics locations.
attr_accessor :locations

Expand All @@ -34,6 +37,7 @@ class SyntheticsTriggerCITestsResponse
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'batch_id' => :'batch_id',
:'locations' => :'locations',
:'results' => :'results',
:'triggered_check_ids' => :'triggered_check_ids'
Expand All @@ -48,6 +52,7 @@ def self.acceptable_attributes
# Attribute type mapping.
def self.openapi_types
{
:'batch_id' => :'String',
:'locations' => :'Array<SyntheticsTriggerCITestLocation>',
:'results' => :'Array<SyntheticsTriggerCITestRunResult>',
:'triggered_check_ids' => :'Array<String>'
Expand Down Expand Up @@ -75,6 +80,10 @@ def initialize(attributes = {})
h[k.to_sym] = v
}

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

if attributes.key?(:'locations')
if (value = attributes[:'locations']).is_a?(Array)
self.locations = value
Expand Down Expand Up @@ -112,6 +121,7 @@ def valid?
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
batch_id == o.batch_id &&
locations == o.locations &&
results == o.results &&
triggered_check_ids == o.triggered_check_ids
Expand All @@ -126,7 +136,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[locations, results, triggered_check_ids].hash
[batch_id, locations, results, triggered_check_ids].hash
end

# Builds the object from hash
Expand Down

0 comments on commit 6ee0a49

Please sign in to comment.