Method: IntersightClient::HyperflexSysConfigPolicyAllOf#to_hash
- Defined in:
- lib/intersight_client/models/hyperflex_sys_config_policy_all_of.rb
#to_hash ⇒ Hash
Returns the object in the form of hash
424 425 426 427 428 429 430 431 432 433 434 435 436 |
# File 'lib/intersight_client/models/hyperflex_sys_config_policy_all_of.rb', line 424 def to_hash hash = {} HyperflexSysConfigPolicyAllOf.attribute_map.each_pair do |attr, param| value = self.send(attr) if value.nil? is_nullable = HyperflexSysConfigPolicyAllOf.openapi_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end hash[param] = _to_hash(value) end hash end |