Method: PureCloud::QueueConversationSocialExpressionEventTopicJourneyContext#initialize

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

#initialize(attributes = {}) ⇒ QueueConversationSocialExpressionEventTopicJourneyContext

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# File 'lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_journey_context.rb', line 55

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}

  
  if attributes.has_key?(:'customer')
    
    
    self.customer = attributes[:'customer']
    
  
  end

  
  if attributes.has_key?(:'customerSession')
    
    
    self.customer_session = attributes[:'customerSession']
    
  
  end

  
  if attributes.has_key?(:'triggeringAction')
    
    
    self.triggering_action = attributes[:'triggeringAction']
    
  
  end

  
end