@@ -21,14 +21,11 @@ module DatadogAPIClient::V2
2121 class FullCustomFrameworkDataAttributes
2222 include BaseGenericModel
2323
24- # Framework Description
25- attr_reader :description
26-
2724 # Framework Handle
2825 attr_reader :handle
2926
3027 # Framework Icon URL
31- attr_reader :icon_url
28+ attr_accessor :icon_url
3229
3330 # Framework Name
3431 attr_reader :name
@@ -45,7 +42,6 @@ class FullCustomFrameworkDataAttributes
4542 # @!visibility private
4643 def self . attribute_map
4744 {
48- :'description' => :'description' ,
4945 :'handle' => :'handle' ,
5046 :'icon_url' => :'icon_url' ,
5147 :'name' => :'name' ,
@@ -58,7 +54,6 @@ def self.attribute_map
5854 # @!visibility private
5955 def self . openapi_types
6056 {
61- :'description' => :'String' ,
6257 :'handle' => :'String' ,
6358 :'icon_url' => :'String' ,
6459 :'name' => :'String' ,
@@ -85,10 +80,6 @@ def initialize(attributes = {})
8580 end
8681 }
8782
88- if attributes . key? ( :'description' )
89- self . description = attributes [ :'description' ]
90- end
91-
9283 if attributes . key? ( :'handle' )
9384 self . handle = attributes [ :'handle' ]
9485 end
@@ -116,25 +107,13 @@ def initialize(attributes = {})
116107 # @return true if the model is valid
117108 # @!visibility private
118109 def valid?
119- return false if @description . nil?
120110 return false if @handle . nil?
121- return false if @icon_url . nil?
122111 return false if @name . nil?
123112 return false if @requirements . nil?
124113 return false if @version . nil?
125114 true
126115 end
127116
128- # Custom attribute writer method with validation
129- # @param description [Object] Object to be assigned
130- # @!visibility private
131- def description = ( description )
132- if description . nil?
133- fail ArgumentError , 'invalid value for "description", description cannot be nil.'
134- end
135- @description = description
136- end
137-
138117 # Custom attribute writer method with validation
139118 # @param handle [Object] Object to be assigned
140119 # @!visibility private
@@ -145,16 +124,6 @@ def handle=(handle)
145124 @handle = handle
146125 end
147126
148- # Custom attribute writer method with validation
149- # @param icon_url [Object] Object to be assigned
150- # @!visibility private
151- def icon_url = ( icon_url )
152- if icon_url . nil?
153- fail ArgumentError , 'invalid value for "icon_url", icon_url cannot be nil.'
154- end
155- @icon_url = icon_url
156- end
157-
158127 # Custom attribute writer method with validation
159128 # @param name [Object] Object to be assigned
160129 # @!visibility private
@@ -211,7 +180,6 @@ def to_hash
211180 def ==( o )
212181 return true if self . equal? ( o )
213182 self . class == o . class &&
214- description == o . description &&
215183 handle == o . handle &&
216184 icon_url == o . icon_url &&
217185 name == o . name &&
@@ -224,7 +192,7 @@ def ==(o)
224192 # @return [Integer] Hash code
225193 # @!visibility private
226194 def hash
227- [ description , handle , icon_url , name , requirements , version , additional_properties ] . hash
195+ [ handle , icon_url , name , requirements , version , additional_properties ] . hash
228196 end
229197 end
230198end
0 commit comments