Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CallbackBasic" /> 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="Segments">The time line of the participant's callback, divided into activity segments..</param>
 /// <param name="Direction">The direction of the call.</param>
 /// <param name="Held">True if this call is held and the person on this side hears silence..</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 callback was placed on hold in the cloud clock if the callback 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="DialerPreview">The preview data to be used when this callback is a Preview..</param>
 /// <param name="Voicemail">The voicemail data to be used when this callback is an ACD voicemail..</param>
 /// <param name="CallbackNumbers">The phone number(s) to use to place the callback..</param>
 /// <param name="CallbackUserName">The name of the user requesting a callback..</param>
 /// <param name="ScriptId">The UUID of the script to use..</param>
 /// <param name="ExternalCampaign">True if the call for the callback uses external dialing..</param>
 /// <param name="SkipEnabled">True if the ability to skip a callback should be enabled..</param>
 /// <param name="TimeoutSeconds">The number of seconds before the system automatically places a call for a callback.  0 means the automatic placement is disabled..</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="CallbackScheduledTime">The timestamp when this communication is scheduled in the provider clock. If this value is missing it indicates the callback will be placed immediately. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="AutomatedCallbackConfigId">The id of the config for automatically placing the callback (and handling the disposition). If null, the callback will not be placed automatically but routed to an agent as per normal..</param>
 /// <param name="Provider">The source provider for the callback..</param>
 /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</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="CallerId">The phone number displayed to recipients of the phone call. The value should conform to the E164 format..</param>
 /// <param name="CallerIdName">The name displayed to recipients of the phone call..</param>
 /// <param name="InitialState">The initial connection state of this communication..</param>
 public CallbackBasic(StateEnum?State = null, string Id = null, List <Segment> Segments = null, DirectionEnum?Direction = null, bool?Held = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DialerPreview DialerPreview = null, Voicemail Voicemail = null, List <string> CallbackNumbers = null, string CallbackUserName = null, string ScriptId = null, bool?ExternalCampaign = null, bool?SkipEnabled = null, int?TimeoutSeconds = null, DateTime?StartAlertingTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, DateTime?CallbackScheduledTime = null, string AutomatedCallbackConfigId = null, string Provider = null, string PeerId = null, Wrapup Wrapup = null, AfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null, string CallerId = null, string CallerIdName = null, InitialStateEnum?InitialState = null)
 {
     this.State                     = State;
     this.Id                        = Id;
     this.Segments                  = Segments;
     this.Direction                 = Direction;
     this.Held                      = Held;
     this.DisconnectType            = DisconnectType;
     this.StartHoldTime             = StartHoldTime;
     this.DialerPreview             = DialerPreview;
     this.Voicemail                 = Voicemail;
     this.CallbackNumbers           = CallbackNumbers;
     this.CallbackUserName          = CallbackUserName;
     this.ScriptId                  = ScriptId;
     this.ExternalCampaign          = ExternalCampaign;
     this.SkipEnabled               = SkipEnabled;
     this.TimeoutSeconds            = TimeoutSeconds;
     this.StartAlertingTime         = StartAlertingTime;
     this.ConnectedTime             = ConnectedTime;
     this.DisconnectedTime          = DisconnectedTime;
     this.CallbackScheduledTime     = CallbackScheduledTime;
     this.AutomatedCallbackConfigId = AutomatedCallbackConfigId;
     this.Provider                  = Provider;
     this.PeerId                    = PeerId;
     this.Wrapup                    = Wrapup;
     this.AfterCallWork             = AfterCallWork;
     this.AfterCallWorkRequired     = AfterCallWorkRequired;
     this.CallerId                  = CallerId;
     this.CallerIdName              = CallerIdName;
     this.InitialState              = InitialState;
 }
Beispiel #2
0
 /// <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'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'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[.mmm]Z.</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[.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="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>
 /// <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 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, ErrorInfo 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, Wrapup Wrapup = null, AfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null, string AgentAssistantId = null, InitialStateEnum?InitialState = 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;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
     this.AgentAssistantId      = AgentAssistantId;
     this.InitialState          = InitialState;
 }
 /// <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;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Video" /> 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="Context">The room id context (xmpp jid) for the conference session..</param>
 /// <param name="AudioMuted">Indicates whether this participant has muted their outgoing audio..</param>
 /// <param name="VideoMuted">Indicates whether this participant has muted/paused their outgoing video..</param>
 /// <param name="SharingScreen">Indicates whether this participant is sharing their screen to the session..</param>
 /// <param name="PeerCount">The number of peer participants from the perspective of the participant in the conference..</param>
 /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</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 video..</param>
 /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="Msids">List of media stream ids.</param>
 /// <param name="Self">Address and name data for a call endpoint..</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 Video(StateEnum?State = null, string Id = null, string Context = null, bool?AudioMuted = null, bool?VideoMuted = null, bool?SharingScreen = null, int?PeerCount = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartAlertingTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null, string PeerId = null, List <string> Msids = null, Address Self = null, Wrapup Wrapup = null, AfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null, InitialStateEnum?InitialState = null)
 {
     this.State                 = State;
     this.Id                    = Id;
     this.Context               = Context;
     this.AudioMuted            = AudioMuted;
     this.VideoMuted            = VideoMuted;
     this.SharingScreen         = SharingScreen;
     this.PeerCount             = PeerCount;
     this.DisconnectType        = DisconnectType;
     this.StartAlertingTime     = StartAlertingTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.Provider              = Provider;
     this.PeerId                = PeerId;
     this.Msids                 = Msids;
     this.Self                  = Self;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
     this.InitialState          = InitialState;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Screenshare" /> 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="Context">The room id context (xmpp jid) for the conference session..</param>
 /// <param name="Sharing">Indicates whether this participant is sharing their screen..</param>
 /// <param name="PeerCount">The number of peer participants from the perspective of the participant in the conference..</param>
 /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</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 screen share..</param>
 /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="Segments">The time line of the participant's call, divided into activity segments..</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 Screenshare(StateEnum?State = null, string Id = null, string Context = null, bool?Sharing = null, int?PeerCount = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartAlertingTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null, string PeerId = null, List <Segment> Segments = null, Wrapup Wrapup = null, AfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null, InitialStateEnum?InitialState = null)
 {
     this.State                 = State;
     this.Id                    = Id;
     this.Context               = Context;
     this.Sharing               = Sharing;
     this.PeerCount             = PeerCount;
     this.DisconnectType        = DisconnectType;
     this.StartAlertingTime     = StartAlertingTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.Provider              = Provider;
     this.PeerId                = PeerId;
     this.Segments              = Segments;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
     this.InitialState          = InitialState;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationChat" /> 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="RoomId">The room id for the chat..</param>
 /// <param name="RecordingId">A globally unique identifier for the recording associated with this chat..</param>
 /// <param name="Segments">The time line of the participant's chat, divided into activity segments..</param>
 /// <param name="Held">True if this call is held and the person on this side hears silence..</param>
 /// <param name="Direction">The direction of the chat.</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 chat was placed on hold in the cloud clock if the chat 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 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="AvatarImageUrl">If available, the URI to the avatar image of this communication..</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="InitialState">The initial connection state of this communication..</param>
 public ConversationChat(StateEnum?State = null, string Id = null, string RoomId = null, string RecordingId = null, List <Segment> Segments = null, bool?Held = null, DirectionEnum?Direction = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?StartAlertingTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null, string ScriptId = null, string PeerId = null, string AvatarImageUrl = null, JourneyContext JourneyContext = null, Wrapup Wrapup = null, AfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null, InitialStateEnum?InitialState = null)
 {
     this.State                 = State;
     this.Id                    = Id;
     this.RoomId                = RoomId;
     this.RecordingId           = RecordingId;
     this.Segments              = Segments;
     this.Held                  = Held;
     this.Direction             = Direction;
     this.DisconnectType        = DisconnectType;
     this.StartHoldTime         = StartHoldTime;
     this.StartAlertingTime     = StartAlertingTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.Provider              = Provider;
     this.ScriptId              = ScriptId;
     this.PeerId                = PeerId;
     this.AvatarImageUrl        = AvatarImageUrl;
     this.JourneyContext        = JourneyContext;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
     this.InitialState          = InitialState;
 }
Beispiel #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SocialExpression" /> 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="SocialMediaId">A globally unique identifier for the social media..</param>
 /// <param name="SocialMediaHub">The social network of the communication.</param>
 /// <param name="SocialUserName">The user name for the communication..</param>
 /// <param name="PreviewText">The text preview of the communication contents.</param>
 /// <param name="RecordingId">A globally unique identifier for the recording associated with this chat..</param>
 /// <param name="Segments">The time line of the participant's chat, divided into activity segments..</param>
 /// <param name="Held">True if this call is held and the person on this side hears silence..</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 chat was placed on hold in the cloud clock if the chat 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 social expression..</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="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>
 public SocialExpression(StateEnum?State = null, string Id = null, string SocialMediaId = null, string SocialMediaHub = null, string SocialUserName = null, string PreviewText = null, string RecordingId = null, List <Segment> Segments = null, bool?Held = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?StartAlertingTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null, string ScriptId = null, string PeerId = null, Wrapup Wrapup = null, AfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null)
 {
     this.State                 = State;
     this.Id                    = Id;
     this.SocialMediaId         = SocialMediaId;
     this.SocialMediaHub        = SocialMediaHub;
     this.SocialUserName        = SocialUserName;
     this.PreviewText           = PreviewText;
     this.RecordingId           = RecordingId;
     this.Segments              = Segments;
     this.Held                  = Held;
     this.DisconnectType        = DisconnectType;
     this.StartHoldTime         = StartHoldTime;
     this.StartAlertingTime     = StartAlertingTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.Provider              = Provider;
     this.ScriptId              = ScriptId;
     this.PeerId                = PeerId;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
 }
Beispiel #8
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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Cobrowsesession" /> 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="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>
 /// <param name="Self">Address and name data for a call endpoint..</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 (milliseconds since 1970-01-01 00:00:00 UTC). 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 co-browse session..</param>
 /// <param name="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</param>
 /// <param name="Segments">The time line of the participant's call, divided into activity segments..</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 Cobrowsesession(StateEnum?State = null, string Id = null, DisconnectTypeEnum?DisconnectType = null, Address Self = null, string CobrowseSessionId = null, string CobrowseRole = null, List <string> Controlling = null, string ViewerUrl = null, DateTime?ProviderEventTime = null, DateTime?StartAlertingTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string Provider = null, string PeerId = null, List <Segment> Segments = null, Wrapup Wrapup = null, AfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null, InitialStateEnum?InitialState = null)
 {
     this.State                 = State;
     this.Id                    = Id;
     this.DisconnectType        = DisconnectType;
     this.Self                  = Self;
     this.CobrowseSessionId     = CobrowseSessionId;
     this.CobrowseRole          = CobrowseRole;
     this.Controlling           = Controlling;
     this.ViewerUrl             = ViewerUrl;
     this.ProviderEventTime     = ProviderEventTime;
     this.StartAlertingTime     = StartAlertingTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.Provider              = Provider;
     this.PeerId                = PeerId;
     this.Segments              = Segments;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
     this.InitialState          = InitialState;
 }