diff --git a/.apigentools-info b/.apigentools-info index 04e7b2d14f6b..23fef5878e7f 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-05-27 10:37:41.709330", - "spec_repo_commit": "c75940cb" + "regenerated": "2025-05-27 13:50:56.660203", + "spec_repo_commit": "d09cbc0c" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-05-27 10:37:41.725491", - "spec_repo_commit": "c75940cb" + "regenerated": "2025-05-27 13:50:56.680710", + "spec_repo_commit": "d09cbc0c" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index f24ff618644c..515cd0e354bf 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -1316,8 +1316,6 @@ components: $ref: '#/components/schemas/AWSResourcesConfig' traces_config: $ref: '#/components/schemas/AWSTracesConfig' - required: - - aws_account_id type: object AWSAccountResponseData: description: AWS Account response data. diff --git a/lib/datadog_api_client/v2/models/aws_account_response_attributes.rb b/lib/datadog_api_client/v2/models/aws_account_response_attributes.rb index 0f17b056f13e..ab876104c0dd 100644 --- a/lib/datadog_api_client/v2/models/aws_account_response_attributes.rb +++ b/lib/datadog_api_client/v2/models/aws_account_response_attributes.rb @@ -28,7 +28,7 @@ class AWSAccountResponseAttributes attr_accessor :auth_config # AWS Account ID. - attr_reader :aws_account_id + attr_accessor :aws_account_id # AWS partition your AWS account is scoped to. Defaults to `aws`. # See [Partitions](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html) in the AWS documentation for more information. @@ -166,24 +166,6 @@ def initialize(attributes = {}) end end - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - # @!visibility private - def valid? - return false if @aws_account_id.nil? - true - end - - # Custom attribute writer method with validation - # @param aws_account_id [Object] Object to be assigned - # @!visibility private - def aws_account_id=(aws_account_id) - if aws_account_id.nil? - fail ArgumentError, 'invalid value for "aws_account_id", aws_account_id cannot be nil.' - end - @aws_account_id = aws_account_id - end - # Returns the object in the form of hash, with additionalProperties support. # @return [Hash] Returns the object in the form of hash # @!visibility private