File tree Expand file tree Collapse file tree 3 files changed +6
-38
lines changed
lib/datadog_api_client/v2/models Expand file tree Collapse file tree 3 files changed +6
-38
lines changed Original file line number Diff line number Diff line change 44 "spec_versions": {
55 "v1": {
66 "apigentools_version": "1.6.6",
7- "regenerated": "2025-05-27 10:37:41.709330 ",
8- "spec_repo_commit": "c75940cb "
7+ "regenerated": "2025-05-27 13:40:25.860125 ",
8+ "spec_repo_commit": "0446f59e "
99 },
1010 "v2": {
1111 "apigentools_version": "1.6.6",
12- "regenerated": "2025-05-27 10:37:41.725491 ",
13- "spec_repo_commit": "c75940cb "
12+ "regenerated": "2025-05-27 13:40:25.876793 ",
13+ "spec_repo_commit": "0446f59e "
1414 }
1515 }
1616}
Original file line number Diff line number Diff line change @@ -1254,9 +1254,6 @@ components:
12541254 $ref: '#/components/schemas/AWSAccountCreateRequestAttributes'
12551255 type:
12561256 $ref: '#/components/schemas/AWSAccountType'
1257- required:
1258- - attributes
1259- - type
12601257 type: object
12611258 AWSAccountID:
12621259 description: AWS Account ID.
Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ class AWSAccountCreateRequestData
2222 include BaseGenericModel
2323
2424 # The AWS Account Integration Config to be created.
25- attr_reader :attributes
25+ attr_accessor :attributes
2626
2727 # AWS Account resource type.
28- attr_reader :type
28+ attr_accessor :type
2929
3030 attr_accessor :additional_properties
3131
@@ -74,35 +74,6 @@ def initialize(attributes = {})
7474 end
7575 end
7676
77- # Check to see if the all the properties in the model are valid
78- # @return true if the model is valid
79- # @!visibility private
80- def valid?
81- return false if @attributes . nil?
82- return false if @type . nil?
83- true
84- end
85-
86- # Custom attribute writer method with validation
87- # @param attributes [Object] Object to be assigned
88- # @!visibility private
89- def attributes = ( attributes )
90- if attributes . nil?
91- fail ArgumentError , 'invalid value for "attributes", attributes cannot be nil.'
92- end
93- @attributes = attributes
94- end
95-
96- # Custom attribute writer method with validation
97- # @param type [Object] Object to be assigned
98- # @!visibility private
99- def type = ( type )
100- if type . nil?
101- fail ArgumentError , 'invalid value for "type", type cannot be nil.'
102- end
103- @type = type
104- end
105-
10677 # Returns the object in the form of hash, with additionalProperties support.
10778 # @return [Hash] Returns the object in the form of hash
10879 # @!visibility private
You can’t perform that action at this time.
0 commit comments