lib/purecloudplatformclientv2/models/analytics_participant.rb in purecloudplatformclientv2-93.0.0 vs lib/purecloudplatformclientv2/models/analytics_participant.rb in purecloudplatformclientv2-94.0.0

- old
+ new

@@ -40,10 +40,13 @@ attr_accessor :flagged_reason # The team id the user is a member of attr_accessor :team_id + # Unique identifiers of the active virtual agent assistants + attr_accessor :agent_assistant_ids + # List of sessions associated to this participant attr_accessor :sessions # List of attributes associated to this participant attr_accessor :attributes @@ -66,10 +69,12 @@ :'flagged_reason' => :'flaggedReason', :'team_id' => :'teamId', + :'agent_assistant_ids' => :'agentAssistantIds', + :'sessions' => :'sessions', :'attributes' => :'attributes' } @@ -93,10 +98,12 @@ :'flagged_reason' => :'String', :'team_id' => :'String', + :'agent_assistant_ids' => :'Array<String>', + :'sessions' => :'Array<AnalyticsSession>', :'attributes' => :'Hash<String, String>' } @@ -181,10 +188,21 @@ end + if attributes.has_key?(:'agentAssistantIds') + + if (value = attributes[:'agentAssistantIds']).is_a?(Array) + self.agent_assistant_ids = value + end + + + + end + + if attributes.has_key?(:'sessions') if (value = attributes[:'sessions']).is_a?(Array) self.sessions = value end @@ -268,10 +286,14 @@ + + + + end @@ -339,10 +361,15 @@ + + + + + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && @@ -352,10 +379,11 @@ purpose == o.purpose && external_contact_id == o.external_contact_id && external_organization_id == o.external_organization_id && flagged_reason == o.flagged_reason && team_id == o.team_id && + agent_assistant_ids == o.agent_assistant_ids && sessions == o.sessions && attributes == o.attributes end # @see the `==` method @@ -365,10 +393,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [participant_id, participant_name, user_id, purpose, external_contact_id, external_organization_id, flagged_reason, team_id, sessions, attributes].hash + [participant_id, participant_name, user_id, purpose, external_contact_id, external_organization_id, flagged_reason, team_id, agent_assistant_ids, sessions, attributes].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)