コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MediaParticipantRequest" /> class.
 /// </summary>
 /// <param name="Wrapup">Wrap-up to assign to this participant..</param>
 /// <param name="State">The state to update to set for this participant&#39;s communications.  Possible values are: &#39;connected&#39; and &#39;disconnected&#39;..</param>
 /// <param name="Recording">True to enable recording of this participant, otherwise false to disable recording..</param>
 /// <param name="Muted">True to mute this conversation participant..</param>
 /// <param name="Confined">True to confine this conversation participant.  Should only be used for ad-hoc conferences.</param>
 /// <param name="Held">True to hold this conversation participant..</param>
 /// <param name="WrapupSkipped">True to skip wrap-up for this participant..</param>
 public MediaParticipantRequest(Wrapup Wrapup = null, StateEnum?State = null, bool?Recording = null, bool?Muted = null, bool?Confined = null, bool?Held = null, bool?WrapupSkipped = null)
 {
     this.Wrapup        = Wrapup;
     this.State         = State;
     this.Recording     = Recording;
     this.Muted         = Muted;
     this.Confined      = Confined;
     this.Held          = Held;
     this.WrapupSkipped = WrapupSkipped;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Participant" /> class.
 /// </summary>
 /// <param name="Id">A globally unique identifier for this conversation..</param>
 /// <param name="StartTime">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.</param>
 /// <param name="EndTime">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.</param>
 /// <param name="ConnectedTime">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.</param>
 /// <param name="Name">A human readable name identifying the participant..</param>
 /// <param name="UserUri">If this participant represents a user, then this will be an URI that can be used to fetch the user..</param>
 /// <param name="UserId">If this participant represents a user, then this will be the globally unique identifier for the user..</param>
 /// <param name="ExternalContactId">If this participant represents an external contact, then this will be the globally unique identifier for the external contact..</param>
 /// <param name="ExternalOrganizationId">If this participant represents an external org, then this will be the globally unique identifier for the external org..</param>
 /// <param name="QueueId">If present, the queue id that the communication channel came in on..</param>
 /// <param name="GroupId">If present, group of users the participant represents..</param>
 /// <param name="QueueName">If present, the queue name that the communication channel came in on..</param>
 /// <param name="Purpose">A well known string that specifies the purpose of this participant..</param>
 /// <param name="ParticipantType">A well known string that specifies the type of this participant..</param>
 /// <param name="ConsultParticipantId">If this participant is part of a consult transfer, then this will be the participant id of the participant being transferred..</param>
 /// <param name="Address">The address for the this participant. For a phone call this will be the ANI..</param>
 /// <param name="Ani">The address for the this participant. For a phone call this will be the ANI..</param>
 /// <param name="AniName">The ani-based name for this participant..</param>
 /// <param name="Dnis">The address for the this participant. For a phone call this will be the ANI..</param>
 /// <param name="Locale">An ISO 639 language code specifying the locale for this participant.</param>
 /// <param name="WrapupRequired">True iff this participant is required to enter wrapup for this conversation..</param>
 /// <param name="WrapupPrompt">This field controls how the UI prompts the agent for a wrapup..</param>
 /// <param name="WrapupTimeoutMs">Specifies how long a timed ACW session will last..</param>
 /// <param name="WrapupSkipped">The UI sets this field when the agent chooses to skip entering a wrapup for this participant..</param>
 /// <param name="Wrapup">Call wrap up or disposition data..</param>
 /// <param name="MonitoredParticipantId">If this participant is a monitor, then this will be the id of the participant that is being monitored..</param>
 /// <param name="Attributes">Additional participant attributes.</param>
 /// <param name="Calls">Calls.</param>
 /// <param name="Callbacks">Callbacks.</param>
 /// <param name="Chats">Chats.</param>
 /// <param name="Cobrowsesessions">Cobrowsesessions.</param>
 /// <param name="Emails">Emails.</param>
 /// <param name="Screenshares">Screenshares.</param>
 /// <param name="SocialExpressions">SocialExpressions.</param>
 /// <param name="Videos">Videos.</param>
 /// <param name="Evaluations">Evaluations.</param>
 public Participant(string Id = null, DateTime?StartTime = null, DateTime?EndTime = null, DateTime?ConnectedTime = null, string Name = null, string UserUri = null, string UserId = null, string ExternalContactId = null, string ExternalOrganizationId = null, string QueueId = null, string GroupId = null, string QueueName = null, string Purpose = null, string ParticipantType = null, string ConsultParticipantId = null, string Address = null, string Ani = null, string AniName = null, string Dnis = null, string Locale = null, bool?WrapupRequired = null, WrapupPromptEnum?WrapupPrompt = null, int?WrapupTimeoutMs = null, bool?WrapupSkipped = null, Wrapup Wrapup = null, string MonitoredParticipantId = null, Dictionary <string, string> Attributes = null, List <Call> Calls = null, List <Callback> Callbacks = null, List <ConversationChat> Chats = null, List <Cobrowsesession> Cobrowsesessions = null, List <Email> Emails = null, List <Screenshare> Screenshares = null, List <SocialExpression> SocialExpressions = null, List <Video> Videos = null, List <Evaluation> Evaluations = null)
 {
     this.Id                     = Id;
     this.StartTime              = StartTime;
     this.EndTime                = EndTime;
     this.ConnectedTime          = ConnectedTime;
     this.Name                   = Name;
     this.UserUri                = UserUri;
     this.UserId                 = UserId;
     this.ExternalContactId      = ExternalContactId;
     this.ExternalOrganizationId = ExternalOrganizationId;
     this.QueueId                = QueueId;
     this.GroupId                = GroupId;
     this.QueueName              = QueueName;
     this.Purpose                = Purpose;
     this.ParticipantType        = ParticipantType;
     this.ConsultParticipantId   = ConsultParticipantId;
     this.Address                = Address;
     this.Ani                    = Ani;
     this.AniName                = AniName;
     this.Dnis                   = Dnis;
     this.Locale                 = Locale;
     this.WrapupRequired         = WrapupRequired;
     this.WrapupPrompt           = WrapupPrompt;
     this.WrapupTimeoutMs        = WrapupTimeoutMs;
     this.WrapupSkipped          = WrapupSkipped;
     this.Wrapup                 = Wrapup;
     this.MonitoredParticipantId = MonitoredParticipantId;
     this.Attributes             = Attributes;
     this.Calls                  = Calls;
     this.Callbacks              = Callbacks;
     this.Chats                  = Chats;
     this.Cobrowsesessions       = Cobrowsesessions;
     this.Emails                 = Emails;
     this.Screenshares           = Screenshares;
     this.SocialExpressions      = SocialExpressions;
     this.Videos                 = Videos;
     this.Evaluations            = Evaluations;
 }