=begin PureCloud Platform API With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more. OpenAPI spec version: v2 Contact: DeveloperEvangelists@inin.com Generated by: https://github.com/swagger-api/swagger-codegen.git License: ININ http://www.inin.com Terms of Service: https://developer.mypurecloud.com/tos =end require 'date' module PureCloud class Participant # A globally unique identifier for this conversation. attr_accessor :id # The timestamp when this participant joined the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ attr_accessor :start_time # The timestamp when this participant disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ attr_accessor :end_time # The timestamp when this participant was connected to the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ attr_accessor :connected_time # A human readable name identifying the participant. attr_accessor :name # If this participant represents a user, then this will be an URI that can be used to fetch the user. attr_accessor :user_uri # If this participant represents a user, then this will be the globally unique identifier for the user. attr_accessor :user_id # If this participant represents an external contact, then this will be the globally unique identifier for the external contact. attr_accessor :external_contact_id # If this participant represents an external org, then this will be the globally unique identifier for the external org. attr_accessor :external_organization_id # If present, the queue id that the communication channel came in on. attr_accessor :queue_id # If present, group of users the participant represents. attr_accessor :group_id # If present, the queue name that the communication channel came in on. attr_accessor :queue_name # A well known string that specifies the purpose of this participant. attr_accessor :purpose # A well known string that specifies the type of this participant. attr_accessor :participant_type # If this participant is part of a consult transfer, then this will be the participant id of the participant being transferred. attr_accessor :consult_participant_id # The address for the this participant. For a phone call this will be the ANI. attr_accessor :address # The address for the this participant. For a phone call this will be the ANI. attr_accessor :ani # The address for the this participant. For a phone call this will be the ANI. attr_accessor :dnis # An ISO 639 language code specifying the locale for this participant attr_accessor :locale # True iff this participant is required to enter wrapup for this conversation. attr_accessor :wrapup_required # This field controls how the UI prompts the agent for a wrapup. attr_accessor :wrapup_prompt # Specifies how long a timed ACW session will last. attr_accessor :wrapup_timeout_ms # The UI sets this field when the agent chooses to skip entering a wrapup for this participant. attr_accessor :wrapup_skipped # Call wrap up or disposition data. attr_accessor :wrapup # If this participant is a monitor, then this will be the id of the participant that is being monitored. attr_accessor :monitored_participant_id # Additional participant attributes attr_accessor :attributes attr_accessor :calls attr_accessor :callbacks attr_accessor :chats attr_accessor :cobrowsesessions attr_accessor :emails attr_accessor :screenshares attr_accessor :social_expressions attr_accessor :videos attr_accessor :evaluations # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'id' => :'id', :'start_time' => :'startTime', :'end_time' => :'endTime', :'connected_time' => :'connectedTime', :'name' => :'name', :'user_uri' => :'userUri', :'user_id' => :'userId', :'external_contact_id' => :'externalContactId', :'external_organization_id' => :'externalOrganizationId', :'queue_id' => :'queueId', :'group_id' => :'groupId', :'queue_name' => :'queueName', :'purpose' => :'purpose', :'participant_type' => :'participantType', :'consult_participant_id' => :'consultParticipantId', :'address' => :'address', :'ani' => :'ani', :'dnis' => :'dnis', :'locale' => :'locale', :'wrapup_required' => :'wrapupRequired', :'wrapup_prompt' => :'wrapupPrompt', :'wrapup_timeout_ms' => :'wrapupTimeoutMs', :'wrapup_skipped' => :'wrapupSkipped', :'wrapup' => :'wrapup', :'monitored_participant_id' => :'monitoredParticipantId', :'attributes' => :'attributes', :'calls' => :'calls', :'callbacks' => :'callbacks', :'chats' => :'chats', :'cobrowsesessions' => :'cobrowsesessions', :'emails' => :'emails', :'screenshares' => :'screenshares', :'social_expressions' => :'socialExpressions', :'videos' => :'videos', :'evaluations' => :'evaluations' } end # Attribute type mapping. def self.swagger_types { :'id' => :'String', :'start_time' => :'DateTime', :'end_time' => :'DateTime', :'connected_time' => :'DateTime', :'name' => :'String', :'user_uri' => :'String', :'user_id' => :'String', :'external_contact_id' => :'String', :'external_organization_id' => :'String', :'queue_id' => :'String', :'group_id' => :'String', :'queue_name' => :'String', :'purpose' => :'String', :'participant_type' => :'String', :'consult_participant_id' => :'String', :'address' => :'String', :'ani' => :'String', :'dnis' => :'String', :'locale' => :'String', :'wrapup_required' => :'BOOLEAN', :'wrapup_prompt' => :'String', :'wrapup_timeout_ms' => :'Integer', :'wrapup_skipped' => :'BOOLEAN', :'wrapup' => :'Wrapup', :'monitored_participant_id' => :'String', :'attributes' => :'Hash', :'calls' => :'Array', :'callbacks' => :'Array', :'chats' => :'Array', :'cobrowsesessions' => :'Array', :'emails' => :'Array', :'screenshares' => :'Array', :'social_expressions' => :'Array', :'videos' => :'Array