Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataTableExportJob" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Owner">The PureCloud user who started the export job.</param>
 /// <param name="Status">The status of the export job (required).</param>
 /// <param name="DateCreated">The timestamp of when the export began. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DateCompleted">The timestamp of when the export stopped (either successfully or unsuccessfully). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DownloadURI">The URL of the location at which the caller can download the export file, when available.</param>
 /// <param name="ErrorInformation">Any error information, or null of the processing is not in an error state.</param>
 /// <param name="CountRecordsProcessed">The current count of the number of records processed.</param>
 public DataTableExportJob(string Name = null, AddressableEntityRef Owner = null, StatusEnum?Status = null, DateTime?DateCreated = null, DateTime?DateCompleted = null, string DownloadURI = null, ErrorBody ErrorInformation = null, int?CountRecordsProcessed = null)
 {
     this.Name                  = Name;
     this.Owner                 = Owner;
     this.Status                = Status;
     this.DateCreated           = DateCreated;
     this.DateCompleted         = DateCompleted;
     this.DownloadURI           = DownloadURI;
     this.ErrorInformation      = ErrorInformation;
     this.CountRecordsProcessed = CountRecordsProcessed;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WhatsAppIntegration" /> class.
 /// </summary>
 /// <param name="Name">The name of the WhatsApp integration. (required).</param>
 /// <param name="PhoneNumber">The phone number associated to the whatsApp integration. (required).</param>
 /// <param name="Status">The status of the WhatsApp Integration.</param>
 /// <param name="Recipient">The recipient associated to the WhatsApp Integration. This recipient is used to associate a flow to an integration.</param>
 /// <param name="DateCreated">Date this Integration was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DateModified">Date this Integration was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="CreatedBy">User reference that created this Integration.</param>
 /// <param name="ModifiedBy">User reference that last modified this Integration.</param>
 /// <param name="Version">Version number required for updates. (required).</param>
 /// <param name="ActivationErrorInfo">The error information of WhatsApp Integration activation process.</param>
 public WhatsAppIntegration(string Name = null, string PhoneNumber = null, StatusEnum?Status = null, DomainEntityRef Recipient = null, DateTime?DateCreated = null, DateTime?DateModified = null, DomainEntityRef CreatedBy = null, DomainEntityRef ModifiedBy = null, int?Version = null, ErrorBody ActivationErrorInfo = null)
 {
     this.Name                = Name;
     this.PhoneNumber         = PhoneNumber;
     this.Status              = Status;
     this.Recipient           = Recipient;
     this.DateCreated         = DateCreated;
     this.DateModified        = DateModified;
     this.CreatedBy           = CreatedBy;
     this.ModifiedBy          = ModifiedBy;
     this.Version             = Version;
     this.ActivationErrorInfo = ActivationErrorInfo;
 }
 /// <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'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[.mmm]Z.</param>
 /// <param name="StartAlertingTime">The timestamp the communication has when it is first put into an alerting state. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</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[.mmm]Z.</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[.mmm]Z.</param>
 /// <param name="AutoGenerated">Indicates that the email was auto-generated like an Out of Office reply..</param>
 /// <param name="Provider">The source provider for the email..</param>
 /// <param name="ScriptId">The UUID of the script to use..</param>
 /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="MessageId">A globally unique identifier for the stored content of this communication..</param>
 /// <param name="DraftAttachments">A list of uploaded attachments on the email draft..</param>
 /// <param name="Spam">Indicates if the inbound email was marked as spam..</param>
 /// <param name="Wrapup">Call wrap up or disposition data..</param>
 /// <param name="AfterCallWork">After-call work for the communication..</param>
 /// <param name="AfterCallWorkRequired">Indicates if after-call work is required for a communication. Only used when the ACW Setting is Agent Requested..</param>
 /// <param name="InitialState">The initial connection state of this communication..</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?StartAlertingTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, bool?AutoGenerated = null, string Provider = null, string ScriptId = null, string PeerId = null, string MessageId = null, List <Attachment> DraftAttachments = null, bool?Spam = null, Wrapup Wrapup = null, AfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null, InitialStateEnum?InitialState = 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.StartAlertingTime     = StartAlertingTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.AutoGenerated         = AutoGenerated;
     this.Provider              = Provider;
     this.ScriptId              = ScriptId;
     this.PeerId                = PeerId;
     this.MessageId             = MessageId;
     this.DraftAttachments      = DraftAttachments;
     this.Spam                  = Spam;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
     this.InitialState          = InitialState;
 }
Пример #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TestExecutionOperationResult" /> class.
        /// </summary>


        /// <param name="Step">The step number to indicate the order in which the operation was performed.</param>



        /// <param name="Name">Name of the operation performed.</param>



        /// <param name="Success">Indicated whether or not the operation was successful.</param>



        /// <param name="Result">The result of the operation.</param>



        /// <param name="Error">Error that occurred during the operation.</param>


        public TestExecutionOperationResult(int?Step = null, string Name = null, bool?Success = null, Object Result = null, ErrorBody Error = null)
        {
            this.Step = Step;



            this.Name = Name;



            this.Success = Success;



            this.Result = Result;



            this.Error = Error;
        }
 /// <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="AlertingTimeoutMs">Specifies how long the agent has to answer an interaction before being marked as not responding..</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="Wrapup">Wrapup for this participant, if it has been applied..</param>
 /// <param name="Peer">The peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="FlaggedReason">The reason specifying why participant flagged the conversation..</param>
 /// <param name="JourneyContext">Journey System data/context that is applicable to this communication.  When used for historical purposes, the context should be immutable.  When null, there is no applicable Journey System context..</param>
 /// <param name="OutboundPreview">The outbound preview associated with this callback..</param>
 /// <param name="Voicemail">The voicemail 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, int?AlertingTimeoutMs = null, string Provider = null, UriReference ExternalContact = null, UriReference ExternalOrganization = null, Wrapup Wrapup = null, string Peer = null, FlaggedReasonEnum?FlaggedReason = null, JourneyContext JourneyContext = null, DialerPreview OutboundPreview = null, Voicemail Voicemail = 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.AlertingTimeoutMs         = AlertingTimeoutMs;
     this.Provider                  = Provider;
     this.ExternalContact           = ExternalContact;
     this.ExternalOrganization      = ExternalOrganization;
     this.Wrapup                    = Wrapup;
     this.Peer                      = Peer;
     this.FlaggedReason             = FlaggedReason;
     this.JourneyContext            = JourneyContext;
     this.OutboundPreview           = OutboundPreview;
     this.Voicemail                 = Voicemail;
     this.CallbackNumbers           = CallbackNumbers;
     this.CallbackUserName          = CallbackUserName;
     this.SkipEnabled               = SkipEnabled;
     this.TimeoutSeconds            = TimeoutSeconds;
     this.AutomatedCallbackConfigId = AutomatedCallbackConfigId;
     this.CallbackScheduledTime     = CallbackScheduledTime;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FlowRuntimeExecution" /> class.
 /// </summary>
 /// <param name="Id">The flow execution ID.</param>
 /// <param name="Name">The flow execution name..</param>
 /// <param name="FlowVersion">The Version of the flow definition of the flow execution. (required).</param>
 /// <param name="DateLaunched">The time the flow was launched. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required).</param>
 /// <param name="Status">The flow's running status, which indicates whether the flow is running normally or completed, etc. (required).</param>
 /// <param name="DateCompleted">The time the flow completed, if applicable. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="CompletionReason">The completion reason set at the flow completion time, if applicable..</param>
 /// <param name="FlowErrorInfo">Additional information if the flow is in error.</param>
 /// <param name="OutputData">List of the flow's output variables, if any. Output variables are only supplied for Completed flows..</param>
 /// <param name="Conversation">The conversation to which this Flow execution is related.</param>
 public FlowRuntimeExecution(string Id = null, string Name = null, FlowVersion FlowVersion = null, DateTime?DateLaunched = null, StatusEnum?Status = null, DateTime?DateCompleted = null, string CompletionReason = null, ErrorBody FlowErrorInfo = null, Dictionary <string, Object> OutputData = null, DomainEntityRef Conversation = null)
 {
     this.Id               = Id;
     this.Name             = Name;
     this.FlowVersion      = FlowVersion;
     this.DateLaunched     = DateLaunched;
     this.Status           = Status;
     this.DateCompleted    = DateCompleted;
     this.CompletionReason = CompletionReason;
     this.FlowErrorInfo    = FlowErrorInfo;
     this.OutputData       = OutputData;
     this.Conversation     = Conversation;
 }
Пример #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessageDetails" /> class.
 /// </summary>
 /// <param name="MessageId">UUID identifying the message media..</param>
 /// <param name="MessageURI">A URI for this message entity..</param>
 /// <param name="MessageStatus">Indicates the delivery status of the message..</param>
 /// <param name="MessageSegmentCount">The message segment count, greater than 1 if the message content was split into multiple parts for this message type, e.g. SMS character limits..</param>
 /// <param name="MessageTime">The time when the message was sent or received. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="Media">The media (images, files, etc) associated with this message, if any.</param>
 /// <param name="Stickers">One or more stickers associated with this message, if any.</param>
 /// <param name="MessageMetadata">Information that describes the content of the message, if any.</param>
 /// <param name="ErrorInfo">Provider specific error information for a communication..</param>
 public MessageDetails(string MessageId = null, string MessageURI = null, MessageStatusEnum?MessageStatus = null, int?MessageSegmentCount = null, DateTime?MessageTime = null, List <MessageMedia> Media = null, List <MessageSticker> Stickers = null, ConversationMessageMetadata MessageMetadata = null, ErrorBody ErrorInfo = null)
 {
     this.MessageId           = MessageId;
     this.MessageURI          = MessageURI;
     this.MessageStatus       = MessageStatus;
     this.MessageSegmentCount = MessageSegmentCount;
     this.MessageTime         = MessageTime;
     this.Media           = Media;
     this.Stickers        = Stickers;
     this.MessageMetadata = MessageMetadata;
     this.ErrorInfo       = ErrorInfo;
 }
Пример #8
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="Wrapup">Wrapup for this participant, if it has been applied..</param>



        /// <param name="Peer">The peer communication corresponding to a matching leg for this communication..</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>



        /// <param name="AutoGenerated">Indicates that the email was auto-generated like an Out of Office reply..</param>



        /// <param name="DraftAttachments">A list of uploaded attachments on the email draft..</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, Wrapup Wrapup = null, string Peer = null, string Subject = null, int?MessagesSent = null, bool?AutoGenerated = null, List <Attachment> DraftAttachments = 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.Wrapup = Wrapup;



            this.Peer = Peer;



            this.Subject = Subject;



            this.MessagesSent = MessagesSent;



            this.AutoGenerated = AutoGenerated;



            this.DraftAttachments = DraftAttachments;
        }
Пример #9
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="Wrapup">Wrapup for this participant, if it has been applied..</param>



        /// <param name="Peer">The peer communication corresponding to a matching leg for this communication..</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, Wrapup Wrapup = null, string Peer = 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.Wrapup = Wrapup;



            this.Peer = Peer;



            this.CobrowseSessionId = CobrowseSessionId;



            this.CobrowseRole = CobrowseRole;



            this.Controlling = Controlling;



            this.ViewerUrl = ViewerUrl;



            this.ProviderEventTime = ProviderEventTime;
        }
Пример #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SmsProvisioningStatus" /> class.
 /// </summary>
 /// <param name="Action">Provisioning action.</param>
 /// <param name="State">Provisioning state.</param>
 /// <param name="Error">Any error associated with a Failed state.</param>
 /// <param name="Version">The phone number version associated with the provisioning action.</param>
 public SmsProvisioningStatus(ActionEnum?Action = null, StateEnum?State = null, ErrorBody Error = null, long?Version = null)
 {
     this.Action  = Action;
     this.State   = State;
     this.Error   = Error;
     this.Version = Version;
 }
 /// <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="AlertingTimeoutMs">Specifies how long the agent has to answer an interaction before being marked as not responding..</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="Wrapup">Wrapup for this participant, if it has been applied..</param>
 /// <param name="Peer">The peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="FlaggedReason">The reason specifying why participant flagged the conversation..</param>
 /// <param name="JourneyContext">Journey System data/context that is applicable to this communication.  When used for historical purposes, the context should be immutable.  When null, there is no applicable Journey System context..</param>
 /// <param name="ConversationRoutingData">Information on how a communication should be routed to an agent..</param>
 /// <param name="StartAcwTime">The timestamp when this participant started after-call work. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="EndAcwTime">The timestamp when this participant ended after-call work. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</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>
 /// <param name="AutoGenerated">Indicates that the email was auto-generated like an Out of Office reply..</param>
 /// <param name="DraftAttachments">A list of uploaded attachments on the email draft..</param>
 /// <param name="Spam">Indicates if the inbound email was marked as spam..</param>
 /// <param name="MessageId">A globally unique identifier for the stored content of this communication..</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, DomainEntityRef User = null, DomainEntityRef Queue = null, Dictionary <string, string> Attributes = null, ErrorBody ErrorInfo = null, DomainEntityRef Script = null, int?WrapupTimeoutMs = null, bool?WrapupSkipped = null, int?AlertingTimeoutMs = null, string Provider = null, DomainEntityRef ExternalContact = null, DomainEntityRef ExternalOrganization = null, Wrapup Wrapup = null, string Peer = null, FlaggedReasonEnum?FlaggedReason = null, JourneyContext JourneyContext = null, ConversationRoutingData ConversationRoutingData = null, DateTime?StartAcwTime = null, DateTime?EndAcwTime = null, string Subject = null, int?MessagesSent = null, bool?AutoGenerated = null, List <Attachment> DraftAttachments = null, bool?Spam = null, string MessageId = 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.AlertingTimeoutMs       = AlertingTimeoutMs;
     this.Provider                = Provider;
     this.ExternalContact         = ExternalContact;
     this.ExternalOrganization    = ExternalOrganization;
     this.Wrapup                  = Wrapup;
     this.Peer                    = Peer;
     this.FlaggedReason           = FlaggedReason;
     this.JourneyContext          = JourneyContext;
     this.ConversationRoutingData = ConversationRoutingData;
     this.StartAcwTime            = StartAcwTime;
     this.EndAcwTime              = EndAcwTime;
     this.Subject                 = Subject;
     this.MessagesSent            = MessagesSent;
     this.AutoGenerated           = AutoGenerated;
     this.DraftAttachments        = DraftAttachments;
     this.Spam                    = Spam;
     this.MessageId               = MessageId;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="ChatMediaParticipant" /> 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="Wrapup">Wrapup for this participant, if it has been applied..</param>



        /// <param name="Peer">The peer communication corresponding to a matching leg for this communication..</param>



        /// <param name="FlaggedReason">The reason specifying why participant flagged the conversation..</param>



        /// <param name="RoomId">The ID of the chat room..</param>


        public ChatMediaParticipant(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, Wrapup Wrapup = null, string Peer = null, FlaggedReasonEnum?FlaggedReason = null, string RoomId = 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.Wrapup = Wrapup;



            this.Peer = Peer;



            this.FlaggedReason = FlaggedReason;



            this.RoomId = RoomId;
        }
Пример #13
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="AutoGenerated">Indicates that the email was auto-generated like an Out of Office reply..</param>



        /// <param name="Provider">The source provider for the email..</param>



        /// <param name="ScriptId">The UUID of the script to use..</param>



        /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>



        /// <param name="MessageId">A globally unique identifier for the stored content of this communication..</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, bool?AutoGenerated = null, string Provider = null, string ScriptId = null, string PeerId = null, string MessageId = 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.AutoGenerated = AutoGenerated;



            this.Provider = Provider;



            this.ScriptId = ScriptId;



            this.PeerId = PeerId;



            this.MessageId = MessageId;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="RecordingEncryptionConfiguration" /> class.
 /// </summary>
 /// <param name="Url">When keyConfigurationType is LocalKeyManager, this should be the url for decryption and must specify the path to where GenesysCloud can requests decryption. When keyConfigurationType is KmsSymmetric, this should be the arn to the key alias for the master key (required).</param>
 /// <param name="ApiId">The api id for Hawk Authentication. Null if keyConfigurationType is KmsSymmetric.</param>
 /// <param name="ApiKey">The api shared symmetric key used for hawk authentication. Null if keyConfigurationType is KmsSymmetric.</param>
 /// <param name="KeyConfigurationType">Type should be LocalKeyManager or KmsSymmetric when create or update Key configurations; 'Native' for disabling configuration. (required).</param>
 /// <param name="LastError">The error message related to the configuration.</param>
 public RecordingEncryptionConfiguration(string Url = null, string ApiId = null, string ApiKey = null, KeyConfigurationTypeEnum?KeyConfigurationType = null, ErrorBody LastError = null)
 {
     this.Url    = Url;
     this.ApiId  = ApiId;
     this.ApiKey = ApiKey;
     this.KeyConfigurationType = KeyConfigurationType;
     this.LastError            = LastError;
 }
Пример #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessageMediaParticipant" /> 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="AlertingTimeoutMs">Specifies how long the agent has to answer an interaction before being marked as not responding..</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="Wrapup">Wrapup for this participant, if it has been applied..</param>
 /// <param name="Peer">The peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="FlaggedReason">The reason specifying why participant flagged the conversation..</param>
 /// <param name="JourneyContext">Journey System data/context that is applicable to this communication.  When used for historical purposes, the context should be immutable.  When null, there is no applicable Journey System context..</param>
 /// <param name="ToAddress">Address for the participant on receiving side of the message conversation. If the address is a phone number, E.164 format is recommended..</param>
 /// <param name="FromAddress">Address for the participant on the sending side of the message conversation. If the address is a phone number, E.164 format is recommended..</param>
 /// <param name="Messages">Message instance details on the communication..</param>
 /// <param name="Type">Indicates the type of message platform from which the message originated..</param>
 /// <param name="RecipientCountry">Indicates the country where the recipient is associated in ISO 3166-1 alpha-2 format..</param>
 /// <param name="RecipientType">The type of the recipient. Eg: Provisioned phoneNumber is the recipient for sms message type..</param>
 public MessageMediaParticipant(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, int?AlertingTimeoutMs = null, string Provider = null, UriReference ExternalContact = null, UriReference ExternalOrganization = null, Wrapup Wrapup = null, string Peer = null, FlaggedReasonEnum?FlaggedReason = null, JourneyContext JourneyContext = null, Address ToAddress = null, Address FromAddress = null, List <MessageDetails> Messages = null, TypeEnum?Type = null, string RecipientCountry = null, string RecipientType = 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.AlertingTimeoutMs    = AlertingTimeoutMs;
     this.Provider             = Provider;
     this.ExternalContact      = ExternalContact;
     this.ExternalOrganization = ExternalOrganization;
     this.Wrapup               = Wrapup;
     this.Peer                 = Peer;
     this.FlaggedReason        = FlaggedReason;
     this.JourneyContext       = JourneyContext;
     this.ToAddress            = ToAddress;
     this.FromAddress          = FromAddress;
     this.Messages             = Messages;
     this.Type                 = Type;
     this.RecipientCountry     = RecipientCountry;
     this.RecipientType        = RecipientType;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DataTableImportJob" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Owner">The PureCloud user who started the import job.</param>
 /// <param name="Status">The status of the import job (required).</param>
 /// <param name="DateCreated">The timestamp of when the import began. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DateCompleted">The timestamp of when the import stopped (either successfully or unsuccessfully). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="UploadURI">The URL of the location at which the caller can upload the file to be imported.</param>
 /// <param name="ImportMode">The indication of whether the processing should remove rows that don't appear in the import file.</param>
 /// <param name="ErrorInformation">Any error information, or null of the processing is not in an error state.</param>
 /// <param name="CountRecordsUpdated">The current count of the number of records processed.</param>
 /// <param name="CountRecordsDeleted">The current count of the number of records deleted.</param>
 /// <param name="CountRecordsFailed">The current count of the number of records that failed to import.</param>
 public DataTableImportJob(string Name = null, AddressableEntityRef Owner = null, StatusEnum?Status = null, DateTime?DateCreated = null, DateTime?DateCompleted = null, string UploadURI = null, ImportModeEnum?ImportMode = null, ErrorBody ErrorInformation = null, int?CountRecordsUpdated = null, int?CountRecordsDeleted = null, int?CountRecordsFailed = null)
 {
     this.Name                = Name;
     this.Owner               = Owner;
     this.Status              = Status;
     this.DateCreated         = DateCreated;
     this.DateCompleted       = DateCompleted;
     this.UploadURI           = UploadURI;
     this.ImportMode          = ImportMode;
     this.ErrorInformation    = ErrorInformation;
     this.CountRecordsUpdated = CountRecordsUpdated;
     this.CountRecordsDeleted = CountRecordsDeleted;
     this.CountRecordsFailed  = CountRecordsFailed;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TestExecutionResult" /> class.
 /// </summary>
 /// <param name="Operations">Execution operations performed as part of the test.</param>
 /// <param name="Error">The final error encountered during the test that resulted in test failure.</param>
 /// <param name="FinalResult">The final result of the test. This is the response that would be returned during normal action execution.</param>
 /// <param name="Success">Indicates whether or not the test was a success.</param>
 public TestExecutionResult(List <TestExecutionOperationResult> Operations = null, ErrorBody Error = null, Object FinalResult = null, bool?Success = null)
 {
     this.Operations  = Operations;
     this.Error       = Error;
     this.FinalResult = FinalResult;
     this.Success     = Success;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ChatMediaParticipant" /> 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="AlertingTimeoutMs">Specifies how long the agent has to answer an interaction before being marked as not responding..</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="Wrapup">Wrapup for this participant, if it has been applied..</param>
 /// <param name="Peer">The peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="FlaggedReason">The reason specifying why participant flagged the conversation..</param>
 /// <param name="JourneyContext">Journey System data/context that is applicable to this communication.  When used for historical purposes, the context should be immutable.  When null, there is no applicable Journey System context..</param>
 /// <param name="ConversationRoutingData">Information on how a communication should be routed to an agent..</param>
 /// <param name="RoomId">The ID of the chat room..</param>
 /// <param name="AvatarImageUrl">If available, the URI to the avatar image of this communication..</param>
 public ChatMediaParticipant(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, DomainEntityRef User = null, DomainEntityRef Queue = null, Dictionary <string, string> Attributes = null, ErrorBody ErrorInfo = null, DomainEntityRef Script = null, int?WrapupTimeoutMs = null, bool?WrapupSkipped = null, int?AlertingTimeoutMs = null, string Provider = null, DomainEntityRef ExternalContact = null, DomainEntityRef ExternalOrganization = null, Wrapup Wrapup = null, string Peer = null, FlaggedReasonEnum?FlaggedReason = null, JourneyContext JourneyContext = null, ConversationRoutingData ConversationRoutingData = null, string RoomId = null, string AvatarImageUrl = 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.AlertingTimeoutMs       = AlertingTimeoutMs;
     this.Provider                = Provider;
     this.ExternalContact         = ExternalContact;
     this.ExternalOrganization    = ExternalOrganization;
     this.Wrapup                  = Wrapup;
     this.Peer                    = Peer;
     this.FlaggedReason           = FlaggedReason;
     this.JourneyContext          = JourneyContext;
     this.ConversationRoutingData = ConversationRoutingData;
     this.RoomId                  = RoomId;
     this.AvatarImageUrl          = AvatarImageUrl;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CallBasic" /> 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="StartAlertingTime">The timestamp the communication has when it is first put into an alerting state. 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="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>
 /// <param name="ScriptId">The UUID of the script to use..</param>
 /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="UuiData">User to User Information (UUI) data managed by SIP session application..</param>
 /// <param name="Self">Address and name data for a call endpoint..</param>
 /// <param name="Other">Address and name data for a call endpoint..</param>
 public CallBasic(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?StartAlertingTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, List <DisconnectReason> DisconnectReasons = null, FaxStatus FaxStatus = null, string Provider = null, string ScriptId = null, string PeerId = null, string UuiData = null, Address Self = null, Address Other = 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.StartAlertingTime = StartAlertingTime;
     this.ConnectedTime     = ConnectedTime;
     this.DisconnectedTime  = DisconnectedTime;
     this.DisconnectReasons = DisconnectReasons;
     this.FaxStatus         = FaxStatus;
     this.Provider          = Provider;
     this.ScriptId          = ScriptId;
     this.PeerId            = PeerId;
     this.UuiData           = UuiData;
     this.Self              = Self;
     this.Other             = Other;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="Message" /> 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="Segments">The time line of the participant&#39;s message, divided into activity segments..</param>



        /// <param name="Direction">The direction of the message..</param>



        /// <param name="RecordingId">A globally unique identifier for the recording associated with this message..</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 message was placed on hold in the cloud clock if the message 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 message..</param>



        /// <param name="Type">Indicates the type of message platform from which the message originated..</param>



        /// <param name="RecipientCountry">Indicates the country where the recipient is associated in ISO 3166-1 alpha-2 format..</param>



        /// <param name="RecipientType">The type of the recipient. Eg: Provisioned phoneNumber is the recipient for sms message type..</param>



        /// <param name="ScriptId">The UUID of the script to use..</param>



        /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>



        /// <param name="ToAddress">Address and name data for a call endpoint..</param>



        /// <param name="FromAddress">Address and name data for a call endpoint..</param>



        /// <param name="Messages">The messages sent on this communication channel..</param>


        public Message(StateEnum?State = null, string Id = null, bool?Held = 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, TypeEnum?Type = null, string RecipientCountry = null, string RecipientType = null, string ScriptId = null, string PeerId = null, Address ToAddress = null, Address FromAddress = null, List <MessageDetails> Messages = null)
        {
            this.State = State;



            this.Id = Id;



            this.Held = Held;



            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;



            this.Type = Type;



            this.RecipientCountry = RecipientCountry;



            this.RecipientType = RecipientType;



            this.ScriptId = ScriptId;



            this.PeerId = PeerId;



            this.ToAddress = ToAddress;



            this.FromAddress = FromAddress;



            this.Messages = Messages;
        }
Пример #21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Message" /> 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="Segments">The time line of the participant's message, divided into activity segments..</param>
 /// <param name="Direction">The direction of the message..</param>
 /// <param name="RecordingId">A globally unique identifier for the recording associated with this message..</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 message was placed on hold in the cloud clock if the message is currently on hold. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="StartAlertingTime">The timestamp the communication has when it is first put into an alerting state. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</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[.mmm]Z.</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[.mmm]Z.</param>
 /// <param name="Provider">The source provider for the message..</param>
 /// <param name="Authenticated">If true, the participant member is authenticated..</param>
 /// <param name="Type">Indicates the type of message platform from which the message originated..</param>
 /// <param name="RecipientCountry">Indicates the country where the recipient is associated in ISO 3166-1 alpha-2 format..</param>
 /// <param name="RecipientType">The type of the recipient. Eg: Provisioned phoneNumber is the recipient for sms message type..</param>
 /// <param name="ScriptId">The UUID of the script to use..</param>
 /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="ToAddress">Address and name data for a call endpoint..</param>
 /// <param name="FromAddress">Address and name data for a call endpoint..</param>
 /// <param name="Messages">The messages sent on this communication channel..</param>
 /// <param name="JourneyContext">A subset of the Journey System's data relevant to a part of a conversation (for external linkage and internal usage/context)..</param>
 /// <param name="Wrapup">Call wrap up or disposition data..</param>
 /// <param name="AfterCallWork">After-call work for the communication..</param>
 /// <param name="AfterCallWorkRequired">Indicates if after-call work is required for a communication. Only used when the ACW Setting is Agent Requested..</param>
 /// <param name="AgentAssistantId">UUID of virtual agent assistant that provide suggestions to the agent participant during the conversation..</param>
 /// <param name="InitialState">The initial connection state of this communication..</param>
 public Message(StateEnum?State = null, string Id = null, bool?Held = null, List <Segment> Segments = null, DirectionEnum?Direction = null, string RecordingId = null, ErrorBody ErrorInfo = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?StartAlertingTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null, bool?Authenticated = null, TypeEnum?Type = null, string RecipientCountry = null, string RecipientType = null, string ScriptId = null, string PeerId = null, Address ToAddress = null, Address FromAddress = null, List <MessageDetails> Messages = null, JourneyContext JourneyContext = null, Wrapup Wrapup = null, AfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null, string AgentAssistantId = null, InitialStateEnum?InitialState = null)
 {
     this.State                 = State;
     this.Id                    = Id;
     this.Held                  = Held;
     this.Segments              = Segments;
     this.Direction             = Direction;
     this.RecordingId           = RecordingId;
     this.ErrorInfo             = ErrorInfo;
     this.DisconnectType        = DisconnectType;
     this.StartHoldTime         = StartHoldTime;
     this.StartAlertingTime     = StartAlertingTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.Provider              = Provider;
     this.Authenticated         = Authenticated;
     this.Type                  = Type;
     this.RecipientCountry      = RecipientCountry;
     this.RecipientType         = RecipientType;
     this.ScriptId              = ScriptId;
     this.PeerId                = PeerId;
     this.ToAddress             = ToAddress;
     this.FromAddress           = FromAddress;
     this.Messages              = Messages;
     this.JourneyContext        = JourneyContext;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
     this.AgentAssistantId      = AgentAssistantId;
     this.InitialState          = InitialState;
 }