Method: IntersightClient::AssetConnectionControlMessageAllOf#to_hash
- Defined in:
- lib/intersight_client/models/asset_connection_control_message_all_of.rb
#to_hash ⇒ Hash
Returns the object in the form of hash
355 356 357 358 359 360 361 362 363 364 365 366 367 |
# File 'lib/intersight_client/models/asset_connection_control_message_all_of.rb', line 355 def to_hash hash = {} AssetConnectionControlMessageAllOf.attribute_map.each_pair do |attr, param| value = self.send(attr) if value.nil? is_nullable = AssetConnectionControlMessageAllOf.openapi_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end hash[param] = _to_hash(value) end hash end |