Method: PureCloud::CampaignInteraction#to_hash
- Defined in:
- lib/purecloudplatformclientv2/models/campaign_interaction.rb
#to_hash ⇒ Object
return the object in the form of hash
357 358 359 360 361 362 363 364 365 |
# File 'lib/purecloudplatformclientv2/models/campaign_interaction.rb', line 357 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 |