Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-02-05 08:15:05.457880",
"spec_repo_commit": "7973735"
"regenerated": "2021-02-05 11:11:20.517766",
"spec_repo_commit": "1b26a0f"
},
"v2": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-05 08:15:17.974135",
"spec_repo_commit": "7973735"
"regenerated": "2021-02-05 11:11:32.899145",
"spec_repo_commit": "1b26a0f"
}
}
}
2 changes: 1 addition & 1 deletion data/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ components:
AWSTagFilterDeleteRequest:
description: The objects used to delete an AWS tag filter entry.
properties:
aws_account_identifier:
account_id:
description: The unique identifier of your AWS account.
example: FAKEAC0FAKEAC2FAKEAC
type: string
Expand Down
4 changes: 2 additions & 2 deletions docs/v1/AWSTagFilterDeleteRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **aws_account_identifier** | **String** | The unique identifier of your AWS account. | [optional] |
| **account_id** | **String** | The unique identifier of your AWS account. | [optional] |
| **namespace** | [**AWSNamespace**](AWSNamespace.md) | | [optional] |

## Example
Expand All @@ -13,7 +13,7 @@
require 'datadog_api_client/v1'

instance = DatadogAPIClient::V1::AWSTagFilterDeleteRequest.new(
aws_account_identifier: FAKEAC0FAKEAC2FAKEAC,
account_id: FAKEAC0FAKEAC2FAKEAC,
namespace: null
)
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ module DatadogAPIClient::V1
# The objects used to delete an AWS tag filter entry.
class AWSTagFilterDeleteRequest
# The unique identifier of your AWS account.
attr_accessor :aws_account_identifier
attr_accessor :account_id

attr_accessor :namespace

# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'aws_account_identifier' => :'aws_account_identifier',
:'account_id' => :'account_id',
:'namespace' => :'namespace'
}
end
Expand All @@ -40,7 +40,7 @@ def self.acceptable_attributes
# Attribute type mapping.
def self.openapi_types
{
:'aws_account_identifier' => :'String',
:'account_id' => :'String',
:'namespace' => :'AWSNamespace'
}
end
Expand All @@ -66,8 +66,8 @@ def initialize(attributes = {})
h[k.to_sym] = v
}

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

if attributes.key?(:'namespace')
Expand All @@ -93,7 +93,7 @@ def valid?
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
aws_account_identifier == o.aws_account_identifier &&
account_id == o.account_id &&
namespace == o.namespace
end

Expand All @@ -106,7 +106,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[aws_account_identifier, namespace].hash
[account_id, namespace].hash
end

# Builds the object from hash
Expand Down