Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CallbackMediaParticipant" /> class.
 /// </summary>
 /// <param name="Id">The unique participant ID..</param>
 /// <param name="Name">The display friendly name of the participant..</param>
 /// <param name="Address">The participant address..</param>
 /// <param name="StartTime">The time when this participant first joined the conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ConnectedTime">The time when this participant went connected for this media (eg: video connected time). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="EndTime">The time when this participant went disconnected for this media (eg: video disconnected time). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="StartHoldTime">The time when this participant&#39;s hold started. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Purpose">The participant&#39;s purpose.  Values can be: &#39;agent&#39;, &#39;user&#39;, &#39;customer&#39;, &#39;external&#39;, &#39;acd&#39;, &#39;ivr.</param>
 /// <param name="State">The participant&#39;s state.  Values can be: &#39;alerting&#39;, &#39;connected&#39;, &#39;disconnected&#39;, &#39;dialing&#39;, &#39;contacting.</param>
 /// <param name="Direction">The participant&#39;s direction.  Values can be: &#39;inbound&#39; or &#39;outbound&#39;.</param>
 /// <param name="DisconnectType">The reason the participant was disconnected from the conversation..</param>
 /// <param name="Held">Value is true when the participant is on hold..</param>
 /// <param name="WrapupRequired">Value is true when the participant requires wrap-up..</param>
 /// <param name="WrapupPrompt">The wrap-up prompt indicating the type of wrap-up to be performed..</param>
 /// <param name="User">The PureCloud user for this participant..</param>
 /// <param name="Queue">The PureCloud queue for this participant..</param>
 /// <param name="Attributes">A list of ad-hoc attributes for the participant..</param>
 /// <param name="ErrorInfo">If the conversation ends in error, contains additional error details..</param>
 /// <param name="Script">The Engage script that should be used by this participant..</param>
 /// <param name="WrapupTimeoutMs">The amount of time the participant has to complete wrap-up..</param>
 /// <param name="WrapupSkipped">Value is true when the participant has skipped wrap-up..</param>
 /// <param name="Provider">The source provider for the communication..</param>
 /// <param name="ExternalContact">If this participant represents an external contact, then this will be the reference for the external contact..</param>
 /// <param name="ExternalOrganization">If this participant represents an external org, then this will be the reference for the external org..</param>
 /// <param name="OutboundPreview">The outbound preview associated with this callback..</param>
 /// <param name="CallbackNumbers">The list of phone number to use for this callback..</param>
 /// <param name="CallbackUserName">The name of the callback target..</param>
 /// <param name="SkipEnabled">If true, the callback can be skipped.</param>
 /// <param name="TimeoutSeconds">Duration in seconds before the callback will be auto-dialed..</param>
 /// <param name="AutomatedCallbackConfigId">The id of the config for automatically placing the callback (and handling the disposition). If absent, the callback will not be placed automatically but routed to an agent as per normal..</param>
 /// <param name="CallbackScheduledTime">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 public CallbackMediaParticipant(string Id = null, string Name = null, string Address = null, DateTime?StartTime = null, DateTime?ConnectedTime = null, DateTime?EndTime = null, DateTime?StartHoldTime = null, string Purpose = null, StateEnum?State = null, DirectionEnum?Direction = null, DisconnectTypeEnum?DisconnectType = null, bool?Held = null, bool?WrapupRequired = null, string WrapupPrompt = null, UriReference User = null, UriReference Queue = null, Dictionary <string, string> Attributes = null, ErrorBody ErrorInfo = null, UriReference Script = null, int?WrapupTimeoutMs = null, bool?WrapupSkipped = null, string Provider = null, UriReference ExternalContact = null, UriReference ExternalOrganization = null, DialerPreview OutboundPreview = null, List <string> CallbackNumbers = null, string CallbackUserName = null, bool?SkipEnabled = null, int?TimeoutSeconds = null, string AutomatedCallbackConfigId = null, DateTime?CallbackScheduledTime = null)
 {
     this.Id                        = Id;
     this.Name                      = Name;
     this.Address                   = Address;
     this.StartTime                 = StartTime;
     this.ConnectedTime             = ConnectedTime;
     this.EndTime                   = EndTime;
     this.StartHoldTime             = StartHoldTime;
     this.Purpose                   = Purpose;
     this.State                     = State;
     this.Direction                 = Direction;
     this.DisconnectType            = DisconnectType;
     this.Held                      = Held;
     this.WrapupRequired            = WrapupRequired;
     this.WrapupPrompt              = WrapupPrompt;
     this.User                      = User;
     this.Queue                     = Queue;
     this.Attributes                = Attributes;
     this.ErrorInfo                 = ErrorInfo;
     this.Script                    = Script;
     this.WrapupTimeoutMs           = WrapupTimeoutMs;
     this.WrapupSkipped             = WrapupSkipped;
     this.Provider                  = Provider;
     this.ExternalContact           = ExternalContact;
     this.ExternalOrganization      = ExternalOrganization;
     this.OutboundPreview           = OutboundPreview;
     this.CallbackNumbers           = CallbackNumbers;
     this.CallbackUserName          = CallbackUserName;
     this.SkipEnabled               = SkipEnabled;
     this.TimeoutSeconds            = TimeoutSeconds;
     this.AutomatedCallbackConfigId = AutomatedCallbackConfigId;
     this.CallbackScheduledTime     = CallbackScheduledTime;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EmailMediaParticipant" /> class.
 /// </summary>
 /// <param name="Id">The unique participant ID..</param>
 /// <param name="Name">The display friendly name of the participant..</param>
 /// <param name="Address">The participant address..</param>
 /// <param name="StartTime">The time when this participant first joined the conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ConnectedTime">The time when this participant went connected for this media (eg: video connected time). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="EndTime">The time when this participant went disconnected for this media (eg: video disconnected time). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="StartHoldTime">The time when this participant&#39;s hold started. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Purpose">The participant&#39;s purpose.  Values can be: &#39;agent&#39;, &#39;user&#39;, &#39;customer&#39;, &#39;external&#39;, &#39;acd&#39;, &#39;ivr.</param>
 /// <param name="State">The participant&#39;s state.  Values can be: &#39;alerting&#39;, &#39;connected&#39;, &#39;disconnected&#39;, &#39;dialing&#39;, &#39;contacting.</param>
 /// <param name="Direction">The participant&#39;s direction.  Values can be: &#39;inbound&#39; or &#39;outbound&#39;.</param>
 /// <param name="DisconnectType">The reason the participant was disconnected from the conversation..</param>
 /// <param name="Held">Value is true when the participant is on hold..</param>
 /// <param name="WrapupRequired">Value is true when the participant requires wrap-up..</param>
 /// <param name="WrapupPrompt">The wrap-up prompt indicating the type of wrap-up to be performed..</param>
 /// <param name="User">The PureCloud user for this participant..</param>
 /// <param name="Queue">The PureCloud queue for this participant..</param>
 /// <param name="Attributes">A list of ad-hoc attributes for the participant..</param>
 /// <param name="ErrorInfo">If the conversation ends in error, contains additional error details..</param>
 /// <param name="Script">The Engage script that should be used by this participant..</param>
 /// <param name="WrapupTimeoutMs">The amount of time the participant has to complete wrap-up..</param>
 /// <param name="WrapupSkipped">Value is true when the participant has skipped wrap-up..</param>
 /// <param name="Provider">The source provider for the communication..</param>
 /// <param name="ExternalContact">If this participant represents an external contact, then this will be the reference for the external contact..</param>
 /// <param name="ExternalOrganization">If this participant represents an external org, then this will be the reference for the external org..</param>
 /// <param name="Subject">The subject of the email..</param>
 /// <param name="MessagesSent">The number of messages that have been sent in this email conversation..</param>
 public EmailMediaParticipant(string Id = null, string Name = null, string Address = null, DateTime?StartTime = null, DateTime?ConnectedTime = null, DateTime?EndTime = null, DateTime?StartHoldTime = null, string Purpose = null, StateEnum?State = null, DirectionEnum?Direction = null, DisconnectTypeEnum?DisconnectType = null, bool?Held = null, bool?WrapupRequired = null, string WrapupPrompt = null, UriReference User = null, UriReference Queue = null, Dictionary <string, string> Attributes = null, ErrorBody ErrorInfo = null, UriReference Script = null, int?WrapupTimeoutMs = null, bool?WrapupSkipped = null, string Provider = null, UriReference ExternalContact = null, UriReference ExternalOrganization = null, string Subject = null, int?MessagesSent = null)
 {
     this.Id                   = Id;
     this.Name                 = Name;
     this.Address              = Address;
     this.StartTime            = StartTime;
     this.ConnectedTime        = ConnectedTime;
     this.EndTime              = EndTime;
     this.StartHoldTime        = StartHoldTime;
     this.Purpose              = Purpose;
     this.State                = State;
     this.Direction            = Direction;
     this.DisconnectType       = DisconnectType;
     this.Held                 = Held;
     this.WrapupRequired       = WrapupRequired;
     this.WrapupPrompt         = WrapupPrompt;
     this.User                 = User;
     this.Queue                = Queue;
     this.Attributes           = Attributes;
     this.ErrorInfo            = ErrorInfo;
     this.Script               = Script;
     this.WrapupTimeoutMs      = WrapupTimeoutMs;
     this.WrapupSkipped        = WrapupSkipped;
     this.Provider             = Provider;
     this.ExternalContact      = ExternalContact;
     this.ExternalOrganization = ExternalOrganization;
     this.Subject              = Subject;
     this.MessagesSent         = MessagesSent;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Call" /> class.
 /// </summary>
 /// <param name="State">The connection state of this communication..</param>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="Direction">The direction of the call.</param>
 /// <param name="Recording">True if this call is being recorded..</param>
 /// <param name="RecordingState">State of recording on this call..</param>
 /// <param name="Muted">True if this call is muted so that remote participants can&#39;t hear any audio from this end..</param>
 /// <param name="Confined">True if this call is held and the person on this side hears hold music..</param>
 /// <param name="Held">True if this call is held and the person on this side hears silence..</param>
 /// <param name="RecordingId">A globally unique identifier for the recording associated with this call..</param>
 /// <param name="Segments">The time line of the participant&#39;s call, divided into activity segments..</param>
 /// <param name="ErrorInfo">ErrorInfo.</param>
 /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>
 /// <param name="StartHoldTime">The timestamp the call was placed on hold in the cloud clock if the call is currently on hold. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DocumentId">If call is an outbound fax of a document from content management, then this is the id in content management..</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DisconnectedTime">The timestamp when this communication 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="DisconnectReasons">List of reasons that this call was disconnected. This will be set once the call disconnects..</param>
 /// <param name="FaxStatus">Extra information on fax transmission..</param>
 /// <param name="Provider">The source provider for the call..</param>
 public Call(StateEnum?State = null, string Id = null, DirectionEnum?Direction = null, bool?Recording = null, RecordingStateEnum?RecordingState = null, bool?Muted = null, bool?Confined = null, bool?Held = null, string RecordingId = null, List <Segment> Segments = null, ErrorBody ErrorInfo = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, string DocumentId = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, List <DisconnectReason> DisconnectReasons = null, FaxStatus FaxStatus = null, string Provider = null)
 {
     this.State             = State;
     this.Id                = Id;
     this.Direction         = Direction;
     this.Recording         = Recording;
     this.RecordingState    = RecordingState;
     this.Muted             = Muted;
     this.Confined          = Confined;
     this.Held              = Held;
     this.RecordingId       = RecordingId;
     this.Segments          = Segments;
     this.ErrorInfo         = ErrorInfo;
     this.DisconnectType    = DisconnectType;
     this.StartHoldTime     = StartHoldTime;
     this.DocumentId        = DocumentId;
     this.ConnectedTime     = ConnectedTime;
     this.DisconnectedTime  = DisconnectedTime;
     this.DisconnectReasons = DisconnectReasons;
     this.FaxStatus         = FaxStatus;
     this.Provider          = Provider;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Email" /> class.
 /// </summary>
 /// <param name="State">The connection state of this communication..</param>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="Held">True if this call is held and the person on this side hears silence..</param>
 /// <param name="Subject">The subject for the initial email that started this conversation..</param>
 /// <param name="MessagesSent">The number of email messages sent by this participant..</param>
 /// <param name="Segments">The time line of the participant&#39;s email, divided into activity segments..</param>
 /// <param name="Direction">The direction of the email.</param>
 /// <param name="RecordingId">A globally unique identifier for the recording associated with this call..</param>
 /// <param name="ErrorInfo">ErrorInfo.</param>
 /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>
 /// <param name="StartHoldTime">The timestamp the email was placed on hold in the cloud clock if the email is currently on hold. 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 communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DisconnectedTime">The timestamp when this communication 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="Provider">The source provider for the email..</param>
 public Email(StateEnum?State = null, string Id = null, bool?Held = null, string Subject = null, int?MessagesSent = null, List <Segment> Segments = null, DirectionEnum?Direction = null, string RecordingId = null, ErrorBody ErrorInfo = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null)
 {
     this.State            = State;
     this.Id               = Id;
     this.Held             = Held;
     this.Subject          = Subject;
     this.MessagesSent     = MessagesSent;
     this.Segments         = Segments;
     this.Direction        = Direction;
     this.RecordingId      = RecordingId;
     this.ErrorInfo        = ErrorInfo;
     this.DisconnectType   = DisconnectType;
     this.StartHoldTime    = StartHoldTime;
     this.ConnectedTime    = ConnectedTime;
     this.DisconnectedTime = DisconnectedTime;
     this.Provider         = Provider;
 }
Beispiel #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CobrowseMediaParticipant" /> class.
 /// </summary>
 /// <param name="Id">The unique participant ID..</param>
 /// <param name="Name">The display friendly name of the participant..</param>
 /// <param name="Address">The participant address..</param>
 /// <param name="StartTime">The time when this participant first joined the conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ConnectedTime">The time when this participant went connected for this media (eg: video connected time). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="EndTime">The time when this participant went disconnected for this media (eg: video disconnected time). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="StartHoldTime">The time when this participant&#39;s hold started. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Purpose">The participant&#39;s purpose.  Values can be: &#39;agent&#39;, &#39;user&#39;, &#39;customer&#39;, &#39;external&#39;, &#39;acd&#39;, &#39;ivr.</param>
 /// <param name="State">The participant&#39;s state.  Values can be: &#39;alerting&#39;, &#39;connected&#39;, &#39;disconnected&#39;, &#39;dialing&#39;, &#39;contacting.</param>
 /// <param name="Direction">The participant&#39;s direction.  Values can be: &#39;inbound&#39; or &#39;outbound&#39;.</param>
 /// <param name="DisconnectType">The reason the participant was disconnected from the conversation..</param>
 /// <param name="Held">Value is true when the participant is on hold..</param>
 /// <param name="WrapupRequired">Value is true when the participant requires wrap-up..</param>
 /// <param name="WrapupPrompt">The wrap-up prompt indicating the type of wrap-up to be performed..</param>
 /// <param name="User">The PureCloud user for this participant..</param>
 /// <param name="Queue">The PureCloud queue for this participant..</param>
 /// <param name="Attributes">A list of ad-hoc attributes for the participant..</param>
 /// <param name="ErrorInfo">If the conversation ends in error, contains additional error details..</param>
 /// <param name="Script">The Engage script that should be used by this participant..</param>
 /// <param name="WrapupTimeoutMs">The amount of time the participant has to complete wrap-up..</param>
 /// <param name="WrapupSkipped">Value is true when the participant has skipped wrap-up..</param>
 /// <param name="Provider">The source provider for the communication..</param>
 /// <param name="ExternalContact">If this participant represents an external contact, then this will be the reference for the external contact..</param>
 /// <param name="ExternalOrganization">If this participant represents an external org, then this will be the reference for the external org..</param>
 /// <param name="CobrowseSessionId">The co-browse session ID..</param>
 /// <param name="CobrowseRole">This value identifies the role of the co-browse client within the co-browse session (a client is a sharer or a viewer)..</param>
 /// <param name="Controlling">ID of co-browse participants for which this client has been granted control (list is empty if this client cannot control any shared pages)..</param>
 /// <param name="ViewerUrl">The URL that can be used to open co-browse session in web browser..</param>
 /// <param name="ProviderEventTime">The time when the provider event which triggered this conversation update happened in the corrected provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 public CobrowseMediaParticipant(string Id = null, string Name = null, string Address = null, DateTime?StartTime = null, DateTime?ConnectedTime = null, DateTime?EndTime = null, DateTime?StartHoldTime = null, string Purpose = null, StateEnum?State = null, DirectionEnum?Direction = null, DisconnectTypeEnum?DisconnectType = null, bool?Held = null, bool?WrapupRequired = null, string WrapupPrompt = null, UriReference User = null, UriReference Queue = null, Dictionary <string, string> Attributes = null, ErrorBody ErrorInfo = null, UriReference Script = null, int?WrapupTimeoutMs = null, bool?WrapupSkipped = null, string Provider = null, UriReference ExternalContact = null, UriReference ExternalOrganization = null, string CobrowseSessionId = null, string CobrowseRole = null, List <string> Controlling = null, string ViewerUrl = null, DateTime?ProviderEventTime = null)
 {
     this.Id                   = Id;
     this.Name                 = Name;
     this.Address              = Address;
     this.StartTime            = StartTime;
     this.ConnectedTime        = ConnectedTime;
     this.EndTime              = EndTime;
     this.StartHoldTime        = StartHoldTime;
     this.Purpose              = Purpose;
     this.State                = State;
     this.Direction            = Direction;
     this.DisconnectType       = DisconnectType;
     this.Held                 = Held;
     this.WrapupRequired       = WrapupRequired;
     this.WrapupPrompt         = WrapupPrompt;
     this.User                 = User;
     this.Queue                = Queue;
     this.Attributes           = Attributes;
     this.ErrorInfo            = ErrorInfo;
     this.Script               = Script;
     this.WrapupTimeoutMs      = WrapupTimeoutMs;
     this.WrapupSkipped        = WrapupSkipped;
     this.Provider             = Provider;
     this.ExternalContact      = ExternalContact;
     this.ExternalOrganization = ExternalOrganization;
     this.CobrowseSessionId    = CobrowseSessionId;
     this.CobrowseRole         = CobrowseRole;
     this.Controlling          = Controlling;
     this.ViewerUrl            = ViewerUrl;
     this.ProviderEventTime    = ProviderEventTime;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CallMediaParticipant" /> class.
 /// </summary>
 /// <param name="Id">The unique participant ID..</param>
 /// <param name="Name">The display friendly name of the participant..</param>
 /// <param name="Address">The participant address..</param>
 /// <param name="StartTime">The time when this participant first joined the conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ConnectedTime">The time when this participant went connected for this media (eg: video connected time). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="EndTime">The time when this participant went disconnected for this media (eg: video disconnected time). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="StartHoldTime">The time when this participant&#39;s hold started. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="Purpose">The participant&#39;s purpose.  Values can be: &#39;agent&#39;, &#39;user&#39;, &#39;customer&#39;, &#39;external&#39;, &#39;acd&#39;, &#39;ivr.</param>
 /// <param name="State">The participant&#39;s state.  Values can be: &#39;alerting&#39;, &#39;connected&#39;, &#39;disconnected&#39;, &#39;dialing&#39;, &#39;contacting.</param>
 /// <param name="Direction">The participant&#39;s direction.  Values can be: &#39;inbound&#39; or &#39;outbound&#39;.</param>
 /// <param name="DisconnectType">The reason the participant was disconnected from the conversation..</param>
 /// <param name="Held">Value is true when the participant is on hold..</param>
 /// <param name="WrapupRequired">Value is true when the participant requires wrap-up..</param>
 /// <param name="WrapupPrompt">The wrap-up prompt indicating the type of wrap-up to be performed..</param>
 /// <param name="User">The PureCloud user for this participant..</param>
 /// <param name="Queue">The PureCloud queue for this participant..</param>
 /// <param name="Attributes">A list of ad-hoc attributes for the participant..</param>
 /// <param name="ErrorInfo">If the conversation ends in error, contains additional error details..</param>
 /// <param name="Script">The Engage script that should be used by this participant..</param>
 /// <param name="WrapupTimeoutMs">The amount of time the participant has to complete wrap-up..</param>
 /// <param name="WrapupSkipped">Value is true when the participant has skipped wrap-up..</param>
 /// <param name="Provider">The source provider for the communication..</param>
 /// <param name="ExternalContact">If this participant represents an external contact, then this will be the reference for the external contact..</param>
 /// <param name="ExternalOrganization">If this participant represents an external org, then this will be the reference for the external org..</param>
 /// <param name="Muted">Value is true when the call is muted..</param>
 /// <param name="Confined">Value is true when the call is confined..</param>
 /// <param name="Recording">Value is true when the call is being recorded..</param>
 /// <param name="RecordingState">The state of the call recording..</param>
 /// <param name="Group">The group involved in the group ring call..</param>
 /// <param name="Ani">The call ANI..</param>
 /// <param name="Dnis">The call DNIS..</param>
 /// <param name="DocumentId">The ID of the Content Management document if the call is a fax..</param>
 /// <param name="FaxStatus">Extra fax information if the call is a fax..</param>
 /// <param name="MonitoredParticipantId">The ID of the participant being monitored when performing a call monitor..</param>
 /// <param name="ConsultParticipantId">The ID of the consult transfer target participant when performing a consult transfer..</param>
 public CallMediaParticipant(string Id = null, string Name = null, string Address = null, DateTime?StartTime = null, DateTime?ConnectedTime = null, DateTime?EndTime = null, DateTime?StartHoldTime = null, string Purpose = null, StateEnum?State = null, DirectionEnum?Direction = null, DisconnectTypeEnum?DisconnectType = null, bool?Held = null, bool?WrapupRequired = null, string WrapupPrompt = null, UriReference User = null, UriReference Queue = null, Dictionary <string, string> Attributes = null, ErrorBody ErrorInfo = null, UriReference Script = null, int?WrapupTimeoutMs = null, bool?WrapupSkipped = null, string Provider = null, UriReference ExternalContact = null, UriReference ExternalOrganization = null, bool?Muted = null, bool?Confined = null, bool?Recording = null, RecordingStateEnum?RecordingState = null, UriReference Group = null, string Ani = null, string Dnis = null, string DocumentId = null, FaxStatus FaxStatus = null, string MonitoredParticipantId = null, string ConsultParticipantId = null)
 {
     this.Id                     = Id;
     this.Name                   = Name;
     this.Address                = Address;
     this.StartTime              = StartTime;
     this.ConnectedTime          = ConnectedTime;
     this.EndTime                = EndTime;
     this.StartHoldTime          = StartHoldTime;
     this.Purpose                = Purpose;
     this.State                  = State;
     this.Direction              = Direction;
     this.DisconnectType         = DisconnectType;
     this.Held                   = Held;
     this.WrapupRequired         = WrapupRequired;
     this.WrapupPrompt           = WrapupPrompt;
     this.User                   = User;
     this.Queue                  = Queue;
     this.Attributes             = Attributes;
     this.ErrorInfo              = ErrorInfo;
     this.Script                 = Script;
     this.WrapupTimeoutMs        = WrapupTimeoutMs;
     this.WrapupSkipped          = WrapupSkipped;
     this.Provider               = Provider;
     this.ExternalContact        = ExternalContact;
     this.ExternalOrganization   = ExternalOrganization;
     this.Muted                  = Muted;
     this.Confined               = Confined;
     this.Recording              = Recording;
     this.RecordingState         = RecordingState;
     this.Group                  = Group;
     this.Ani                    = Ani;
     this.Dnis                   = Dnis;
     this.DocumentId             = DocumentId;
     this.FaxStatus              = FaxStatus;
     this.MonitoredParticipantId = MonitoredParticipantId;
     this.ConsultParticipantId   = ConsultParticipantId;
 }