Method: PureCloud::ConversationChat#to_hash
- Defined in:
- lib/purecloudclient_v2a/models/conversation_chat.rb
#to_hash ⇒ Object
return the object in the form of hash
557 558 559 560 561 562 563 564 565 |
# File 'lib/purecloudclient_v2a/models/conversation_chat.rb', line 557 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 |