Method: PureCloud::ManagementUnitSettings#to_hash

Defined in:
lib/purecloudclient_v2a/models/management_unit_settings.rb

#to_hashObject

return the object in the form of hash



337
338
339
340
341
342
343
344
345
# File 'lib/purecloudclient_v2a/models/management_unit_settings.rb', line 337

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