Method: PureCloud::ScimV2SchemaDefinition#to_hash

Defined in:
lib/purecloudplatformclientv2/models/scim_v2_schema_definition.rb

#to_hashObject

return the object in the form of hash



282
283
284
285
286
287
288
289
290
# File 'lib/purecloudplatformclientv2/models/scim_v2_schema_definition.rb', line 282

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    next if value.nil?
    hash[param] = _to_hash(value)
  end
  hash
end