/// <summary>
 /// Initializes a new instance of the <see cref="ConversationEventTopicParticipant" /> class.
 /// </summary>
 /// <param name="Id">A globally unique identifier for this conversation..</param>
 /// <param name="ConnectedTime">The timestamp when this participant was connected to the conversation in the provider clock..</param>
 /// <param name="EndTime">The timestamp when this participant disconnected from the conversation in the provider clock..</param>
 /// <param name="UserId">If this participant represents a user, then this will be the globally unique identifier for the user..</param>
 /// <param name="ExternalContactId">If this participant represents an external contact, then this will be the globally unique identifier for the external contact..</param>
 /// <param name="ExternalOrganizationId">If this participant represents an external org, then this will be the globally unique identifier for the external org..</param>
 /// <param name="Name">A human readable name identifying the participant..</param>
 /// <param name="QueueId">If present, the queue id that the communication channel came in on..</param>
 /// <param name="GroupId">If present, the group id that the participant represents..</param>
 /// <param name="TeamId">The team id that this participant is a member of when added to the conversation..</param>
 /// <param name="Purpose">A well known string that specifies the purpose or type of this participant..</param>
 /// <param name="ConsultParticipantId">If this participant is part of a consult transfer, then this will be the participant id of the participant being transferred..</param>
 /// <param name="Address">The address for the this participant. For a phone call this will be the ANI..</param>
 /// <param name="WrapupRequired">True iff this participant is required to enter wrapup for this conversation..</param>
 /// <param name="WrapupExpected">True when a participant is expected to enter a wrapup code once the call connects..</param>
 /// <param name="WrapupPrompt">This field controls how the UI prompts the agent for a wrapup..</param>
 /// <param name="WrapupTimeoutMs">Specifies how long a timed ACW session will last..</param>
 /// <param name="Wrapup">Wrapup.</param>
 /// <param name="StartAcwTime">The timestamp when this participant started after-call work..</param>
 /// <param name="EndAcwTime">The timestamp when this participant ended after-call work..</param>
 /// <param name="ConversationRoutingData">ConversationRoutingData.</param>
 /// <param name="AlertingTimeoutMs">Specifies how long the agent has to answer an interaction before being marked as not responding..</param>
 /// <param name="MonitoredParticipantId">If this participant is a monitor, then this will be the id of the participant that is being monitored..</param>
 /// <param name="CoachedParticipantId">If this participant is a coach, then this will be the id of the participant that is being coached..</param>
 /// <param name="BargedParticipantId">If this participant created a barge in conference, then this will be the id of the participant that is barged in..</param>
 /// <param name="ScreenRecordingState">The current screen recording state for this participant..</param>
 /// <param name="FlaggedReason">If this participant has flagged the conversation, the reason code given..</param>
 /// <param name="Attributes">Additional participant attributes.</param>
 /// <param name="Calls">Calls.</param>
 /// <param name="Callbacks">Callbacks.</param>
 /// <param name="Chats">Chats.</param>
 /// <param name="Cobrowsesessions">Cobrowsesessions.</param>
 /// <param name="Emails">Emails.</param>
 /// <param name="Messages">Messages.</param>
 /// <param name="Screenshares">Screenshares.</param>
 /// <param name="SocialExpressions">SocialExpressions.</param>
 /// <param name="Videos">Videos.</param>
 /// <param name="Workflow">Workflow.</param>
 public ConversationEventTopicParticipant(string Id = null, DateTime?ConnectedTime = null, DateTime?EndTime = null, string UserId = null, string ExternalContactId = null, string ExternalOrganizationId = null, string Name = null, string QueueId = null, string GroupId = null, string TeamId = null, string Purpose = null, string ConsultParticipantId = null, string Address = null, bool?WrapupRequired = null, bool?WrapupExpected = null, string WrapupPrompt = null, int?WrapupTimeoutMs = null, ConversationEventTopicWrapup Wrapup = null, DateTime?StartAcwTime = null, DateTime?EndAcwTime = null, ConversationEventTopicConversationRoutingData ConversationRoutingData = null, int?AlertingTimeoutMs = null, string MonitoredParticipantId = null, string CoachedParticipantId = null, string BargedParticipantId = null, ScreenRecordingStateEnum?ScreenRecordingState = null, string FlaggedReason = null, Dictionary <string, string> Attributes = null, List <ConversationEventTopicCall> Calls = null, List <ConversationEventTopicCallback> Callbacks = null, List <ConversationEventTopicChat> Chats = null, List <ConversationEventTopicCobrowse> Cobrowsesessions = null, List <ConversationEventTopicEmail> Emails = null, List <ConversationEventTopicMessage> Messages = null, List <ConversationEventTopicScreenshare> Screenshares = null, List <ConversationEventTopicSocialExpression> SocialExpressions = null, List <ConversationEventTopicVideo> Videos = null, ConversationEventTopicWorkflow Workflow = null)
 {
     this.Id                      = Id;
     this.ConnectedTime           = ConnectedTime;
     this.EndTime                 = EndTime;
     this.UserId                  = UserId;
     this.ExternalContactId       = ExternalContactId;
     this.ExternalOrganizationId  = ExternalOrganizationId;
     this.Name                    = Name;
     this.QueueId                 = QueueId;
     this.GroupId                 = GroupId;
     this.TeamId                  = TeamId;
     this.Purpose                 = Purpose;
     this.ConsultParticipantId    = ConsultParticipantId;
     this.Address                 = Address;
     this.WrapupRequired          = WrapupRequired;
     this.WrapupExpected          = WrapupExpected;
     this.WrapupPrompt            = WrapupPrompt;
     this.WrapupTimeoutMs         = WrapupTimeoutMs;
     this.Wrapup                  = Wrapup;
     this.StartAcwTime            = StartAcwTime;
     this.EndAcwTime              = EndAcwTime;
     this.ConversationRoutingData = ConversationRoutingData;
     this.AlertingTimeoutMs       = AlertingTimeoutMs;
     this.MonitoredParticipantId  = MonitoredParticipantId;
     this.CoachedParticipantId    = CoachedParticipantId;
     this.BargedParticipantId     = BargedParticipantId;
     this.ScreenRecordingState    = ScreenRecordingState;
     this.FlaggedReason           = FlaggedReason;
     this.Attributes              = Attributes;
     this.Calls                   = Calls;
     this.Callbacks               = Callbacks;
     this.Chats                   = Chats;
     this.Cobrowsesessions        = Cobrowsesessions;
     this.Emails                  = Emails;
     this.Messages                = Messages;
     this.Screenshares            = Screenshares;
     this.SocialExpressions       = SocialExpressions;
     this.Videos                  = Videos;
     this.Workflow                = Workflow;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationEventTopicCobrowse" /> class.
 /// </summary>
 /// <param name="State">State.</param>
 /// <param name="InitialState">InitialState.</param>
 /// <param name="DisconnectType">System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects..</param>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="Self">Address and name data for a call endpoint..</param>
 /// <param name="RoomId">The room id for the chat..</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="Provider">The source provider of the co-browse communication..</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="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)..</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock..</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock..</param>
 /// <param name="Wrapup">Call wrap up or disposition data..</param>
 /// <param name="AfterCallWork">A communication's after-call work data..</param>
 /// <param name="AfterCallWorkRequired">Indicates if after-call is required for a communication. Only used when the ACW Setting is Agent Requested..</param>
 public ConversationEventTopicCobrowse(StateEnum?State = null, InitialStateEnum?InitialState = null, DisconnectTypeEnum?DisconnectType = null, string Id = null, ConversationEventTopicAddress Self = null, string RoomId = null, string CobrowseSessionId = null, string CobrowseRole = null, List <string> Controlling = null, string ViewerUrl = null, string Provider = null, string ScriptId = null, string PeerId = null, DateTime?ProviderEventTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, ConversationEventTopicWrapup Wrapup = null, ConversationEventTopicAfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null)
 {
     this.State                 = State;
     this.InitialState          = InitialState;
     this.DisconnectType        = DisconnectType;
     this.Id                    = Id;
     this.Self                  = Self;
     this.RoomId                = RoomId;
     this.CobrowseSessionId     = CobrowseSessionId;
     this.CobrowseRole          = CobrowseRole;
     this.Controlling           = Controlling;
     this.ViewerUrl             = ViewerUrl;
     this.Provider              = Provider;
     this.ScriptId              = ScriptId;
     this.PeerId                = PeerId;
     this.ProviderEventTime     = ProviderEventTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationEventTopicEmail" /> class.
 /// </summary>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="State">State.</param>
 /// <param name="InitialState">InitialState.</param>
 /// <param name="Held">True if this call is held and the person on this side hears silence..</param>
 /// <param name="AutoGenerated">Indicates that the email was auto-generated like an Out of Office reply..</param>
 /// <param name="Subject">The subject for the initial email that started this conversation..</param>
 /// <param name="Provider">The source provider of 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="MessagesSent">The number of email messages sent by this participant..</param>
 /// <param name="ErrorInfo">Detailed information about an error response..</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..</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock..</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock..</param>
 /// <param name="MessageId">A globally unique identifier for the stored content of this communication..</param>
 /// <param name="Direction">Whether a call is inbound or outbound..</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">A communication's after-call work data..</param>
 /// <param name="AfterCallWorkRequired">Indicates if after-call is required for a communication. Only used when the ACW Setting is Agent Requested..</param>
 public ConversationEventTopicEmail(string Id = null, StateEnum?State = null, InitialStateEnum?InitialState = null, bool?Held = null, bool?AutoGenerated = null, string Subject = null, string Provider = null, string ScriptId = null, string PeerId = null, int?MessagesSent = null, ConversationEventTopicErrorDetails ErrorInfo = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, string MessageId = null, DirectionEnum?Direction = null, List <ConversationEventTopicAttachment> DraftAttachments = null, bool?Spam = null, ConversationEventTopicWrapup Wrapup = null, ConversationEventTopicAfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null)
 {
     this.Id                    = Id;
     this.State                 = State;
     this.InitialState          = InitialState;
     this.Held                  = Held;
     this.AutoGenerated         = AutoGenerated;
     this.Subject               = Subject;
     this.Provider              = Provider;
     this.ScriptId              = ScriptId;
     this.PeerId                = PeerId;
     this.MessagesSent          = MessagesSent;
     this.ErrorInfo             = ErrorInfo;
     this.DisconnectType        = DisconnectType;
     this.StartHoldTime         = StartHoldTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.MessageId             = MessageId;
     this.Direction             = Direction;
     this.DraftAttachments      = DraftAttachments;
     this.Spam                  = Spam;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationEventTopicScreenshare" /> class.
 /// </summary>
 /// <param name="State">State.</param>
 /// <param name="InitialState">InitialState.</param>
 /// <param name="Self">Address and name data for a call endpoint..</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 to the session..</param>
 /// <param name="Provider">The source provider of the screen share..</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="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="ConnectedTime">The timestamp when this communication was connected in the cloud clock..</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock..</param>
 /// <param name="Wrapup">Call wrap up or disposition data..</param>
 /// <param name="AfterCallWork">A communication's after-call work data..</param>
 /// <param name="AfterCallWorkRequired">Indicates if after-call is required for a communication. Only used when the ACW Setting is Agent Requested..</param>
 public ConversationEventTopicScreenshare(StateEnum?State = null, InitialStateEnum?InitialState = null, ConversationEventTopicAddress Self = null, string Id = null, string Context = null, bool?Sharing = null, string Provider = null, string ScriptId = null, string PeerId = null, Object PeerCount = null, DisconnectTypeEnum?DisconnectType = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, ConversationEventTopicWrapup Wrapup = null, ConversationEventTopicAfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null)
 {
     this.State                 = State;
     this.InitialState          = InitialState;
     this.Self                  = Self;
     this.Id                    = Id;
     this.Context               = Context;
     this.Sharing               = Sharing;
     this.Provider              = Provider;
     this.ScriptId              = ScriptId;
     this.PeerId                = PeerId;
     this.PeerCount             = PeerCount;
     this.DisconnectType        = DisconnectType;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationEventTopicSocialExpression" /> class.
 /// </summary>
 /// <param name="State">State.</param>
 /// <param name="InitialState">InitialState.</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 social media user name of 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="Held">True if this call is held and the person on this side hears silence..</param>
 /// <param name="Provider">The source provider of 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="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..</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock..</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock..</param>
 /// <param name="Wrapup">Call wrap up or disposition data..</param>
 /// <param name="AfterCallWork">A communication's after-call work data..</param>
 /// <param name="AfterCallWorkRequired">Indicates if after-call is required for a communication. Only used when the ACW Setting is Agent Requested..</param>
 public ConversationEventTopicSocialExpression(StateEnum?State = null, InitialStateEnum?InitialState = null, string Id = null, string SocialMediaId = null, string SocialMediaHub = null, string SocialUserName = null, string PreviewText = null, string RecordingId = null, bool?Held = null, string Provider = null, string ScriptId = null, string PeerId = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, ConversationEventTopicWrapup Wrapup = null, ConversationEventTopicAfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null)
 {
     this.State                 = State;
     this.InitialState          = InitialState;
     this.Id                    = Id;
     this.SocialMediaId         = SocialMediaId;
     this.SocialMediaHub        = SocialMediaHub;
     this.SocialUserName        = SocialUserName;
     this.PreviewText           = PreviewText;
     this.RecordingId           = RecordingId;
     this.Held                  = Held;
     this.Provider              = Provider;
     this.ScriptId              = ScriptId;
     this.PeerId                = PeerId;
     this.DisconnectType        = DisconnectType;
     this.StartHoldTime         = StartHoldTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationEventTopicMessage" /> class.
 /// </summary>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="State">State.</param>
 /// <param name="InitialState">InitialState.</param>
 /// <param name="Held">True if this call is held and the person on this side hears silence..</param>
 /// <param name="ErrorInfo">Detailed information about an error response..</param>
 /// <param name="Provider">The source provider of 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="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..</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock..</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock..</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="MessagesTranscriptUri">the messages transcript file uri..</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="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">A communication's after-call work data..</param>
 /// <param name="AfterCallWorkRequired">Indicates if after-call 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>
 public ConversationEventTopicMessage(string Id = null, StateEnum?State = null, InitialStateEnum?InitialState = null, bool?Held = null, ConversationEventTopicErrorDetails ErrorInfo = null, string Provider = null, string ScriptId = null, string PeerId = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, ConversationEventTopicAddress ToAddress = null, ConversationEventTopicAddress FromAddress = null, List <ConversationEventTopicMessageDetails> Messages = null, string MessagesTranscriptUri = null, TypeEnum?Type = null, string RecipientCountry = null, string RecipientType = null, ConversationEventTopicJourneyContext JourneyContext = null, ConversationEventTopicWrapup Wrapup = null, ConversationEventTopicAfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null, string AgentAssistantId = null)
 {
     this.Id                    = Id;
     this.State                 = State;
     this.InitialState          = InitialState;
     this.Held                  = Held;
     this.ErrorInfo             = ErrorInfo;
     this.Provider              = Provider;
     this.ScriptId              = ScriptId;
     this.PeerId                = PeerId;
     this.DisconnectType        = DisconnectType;
     this.StartHoldTime         = StartHoldTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.ToAddress             = ToAddress;
     this.FromAddress           = FromAddress;
     this.Messages              = Messages;
     this.MessagesTranscriptUri = MessagesTranscriptUri;
     this.Type                  = Type;
     this.RecipientCountry      = RecipientCountry;
     this.RecipientType         = RecipientType;
     this.JourneyContext        = JourneyContext;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
     this.AgentAssistantId      = AgentAssistantId;
 }
Beispiel #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationEventTopicChat" /> class.
 /// </summary>
 /// <param name="State">State.</param>
 /// <param name="InitialState">InitialState.</param>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="Provider">The source provider of the chat..</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="RoomId">The room id for the chat..</param>
 /// <param name="AvatarImageUrl">The avatar for the chat (if available)..</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..</param>
 /// <param name="ConnectedTime">The timestamp when this communication was connected in the cloud clock..</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock..</param>
 /// <param name="JourneyContext">JourneyContext.</param>
 /// <param name="Wrapup">Call wrap up or disposition data..</param>
 /// <param name="AfterCallWork">A communication's after-call work data..</param>
 /// <param name="AfterCallWorkRequired">Indicates if after-call is required for a communication. Only used when the ACW Setting is Agent Requested..</param>
 public ConversationEventTopicChat(StateEnum?State = null, InitialStateEnum?InitialState = null, string Id = null, string Provider = null, string ScriptId = null, string PeerId = null, string RoomId = null, string AvatarImageUrl = null, bool?Held = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, ConversationEventTopicJourneyContext JourneyContext = null, ConversationEventTopicWrapup Wrapup = null, ConversationEventTopicAfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null)
 {
     this.State                 = State;
     this.InitialState          = InitialState;
     this.Id                    = Id;
     this.Provider              = Provider;
     this.ScriptId              = ScriptId;
     this.PeerId                = PeerId;
     this.RoomId                = RoomId;
     this.AvatarImageUrl        = AvatarImageUrl;
     this.Held                  = Held;
     this.DisconnectType        = DisconnectType;
     this.StartHoldTime         = StartHoldTime;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.JourneyContext        = JourneyContext;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
 }
Beispiel #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationEventTopicCallback" /> class.
 /// </summary>
 /// <param name="State">State.</param>
 /// <param name="InitialState">InitialState.</param>
 /// <param name="Id">A globally unique identifier for this communication..</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..</param>
 /// <param name="DialerPreview">DialerPreview.</param>
 /// <param name="Voicemail">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="PeerId">The id of the peer communication corresponding to a matching leg for this communication..</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="Provider">The source provider of the callback..</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="ConnectedTime">The timestamp when this communication was connected in the cloud clock..</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock..</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..</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="Wrapup">Call wrap up or disposition data..</param>
 /// <param name="AfterCallWork">A communication's after-call work data..</param>
 /// <param name="AfterCallWorkRequired">Indicates if after-call 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>
 public ConversationEventTopicCallback(StateEnum?State = null, InitialStateEnum?InitialState = null, string Id = null, DirectionEnum?Direction = null, bool?Held = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, ConversationEventTopicDialerPreview DialerPreview = null, ConversationEventTopicVoicemail Voicemail = null, List <string> CallbackNumbers = null, string CallbackUserName = null, string ScriptId = null, string PeerId = null, bool?ExternalCampaign = null, bool?SkipEnabled = null, string Provider = null, int?TimeoutSeconds = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, DateTime?CallbackScheduledTime = null, string AutomatedCallbackConfigId = null, ConversationEventTopicWrapup Wrapup = null, ConversationEventTopicAfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null, string CallerId = null, string CallerIdName = null)
 {
     this.State                     = State;
     this.InitialState              = InitialState;
     this.Id                        = Id;
     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.PeerId                    = PeerId;
     this.ExternalCampaign          = ExternalCampaign;
     this.SkipEnabled               = SkipEnabled;
     this.Provider                  = Provider;
     this.TimeoutSeconds            = TimeoutSeconds;
     this.ConnectedTime             = ConnectedTime;
     this.DisconnectedTime          = DisconnectedTime;
     this.CallbackScheduledTime     = CallbackScheduledTime;
     this.AutomatedCallbackConfigId = AutomatedCallbackConfigId;
     this.Wrapup                    = Wrapup;
     this.AfterCallWork             = AfterCallWork;
     this.AfterCallWorkRequired     = AfterCallWorkRequired;
     this.CallerId                  = CallerId;
     this.CallerIdName              = CallerIdName;
 }
Beispiel #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationEventTopicCall" /> class.
 /// </summary>
 /// <param name="Id">A globally unique identifier for this communication..</param>
 /// <param name="State">State.</param>
 /// <param name="InitialState">InitialState.</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="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..</param>
 /// <param name="Direction">Whether a call is inbound or outbound..</param>
 /// <param name="DocumentId">If call is a fax of a document in content management, the id of the document in content management..</param>
 /// <param name="Self">Self.</param>
 /// <param name="Other">Address and name data for a call endpoint..</param>
 /// <param name="Provider">The source provider of 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="ConnectedTime">The timestamp when this communication was connected in the cloud clock..</param>
 /// <param name="DisconnectedTime">The timestamp when this communication disconnected from the conversation in the provider clock..</param>
 /// <param name="DisconnectReasons">List of reasons that this call was disconnected. This will be set once the call disconnects..</param>
 /// <param name="FaxStatus">FaxStatus.</param>
 /// <param name="UuiData">User to User Information (UUI) data managed by SIP session application..</param>
 /// <param name="BargedTime">The timestamp when this participant was connected to the barge conference in the provider clock..</param>
 /// <param name="Wrapup">Call wrap up or disposition data..</param>
 /// <param name="AfterCallWork">AfterCallWork.</param>
 /// <param name="AfterCallWorkRequired">Indicates if after-call 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>
 public ConversationEventTopicCall(string Id = null, StateEnum?State = null, InitialStateEnum?InitialState = null, bool?Recording = null, RecordingStateEnum?RecordingState = null, bool?Muted = null, bool?Confined = null, bool?Held = null, ConversationEventTopicErrorDetails ErrorInfo = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DirectionEnum?Direction = null, string DocumentId = null, ConversationEventTopicAddress Self = null, ConversationEventTopicAddress Other = null, string Provider = null, string ScriptId = null, string PeerId = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, List <ConversationEventTopicDisconnectReason> DisconnectReasons = null, ConversationEventTopicFaxStatus FaxStatus = null, string UuiData = null, DateTime?BargedTime = null, ConversationEventTopicWrapup Wrapup = null, ConversationEventTopicAfterCallWork AfterCallWork = null, bool?AfterCallWorkRequired = null, string AgentAssistantId = null)
 {
     this.Id                    = Id;
     this.State                 = State;
     this.InitialState          = InitialState;
     this.Recording             = Recording;
     this.RecordingState        = RecordingState;
     this.Muted                 = Muted;
     this.Confined              = Confined;
     this.Held                  = Held;
     this.ErrorInfo             = ErrorInfo;
     this.DisconnectType        = DisconnectType;
     this.StartHoldTime         = StartHoldTime;
     this.Direction             = Direction;
     this.DocumentId            = DocumentId;
     this.Self                  = Self;
     this.Other                 = Other;
     this.Provider              = Provider;
     this.ScriptId              = ScriptId;
     this.PeerId                = PeerId;
     this.ConnectedTime         = ConnectedTime;
     this.DisconnectedTime      = DisconnectedTime;
     this.DisconnectReasons     = DisconnectReasons;
     this.FaxStatus             = FaxStatus;
     this.UuiData               = UuiData;
     this.BargedTime            = BargedTime;
     this.Wrapup                = Wrapup;
     this.AfterCallWork         = AfterCallWork;
     this.AfterCallWorkRequired = AfterCallWorkRequired;
     this.AgentAssistantId      = AgentAssistantId;
 }