Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QueueConversationSocialExpressionEventTopicMessage" /> 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 QueueConversationSocialExpressionEventTopicMessage(string Id = null, StateEnum?State = null, InitialStateEnum?InitialState = null, bool?Held = null, QueueConversationSocialExpressionEventTopicErrorDetails ErrorInfo = null, string Provider = null, string ScriptId = null, string PeerId = null, DisconnectTypeEnum?DisconnectType = null, DateTime?StartHoldTime = null, DateTime?ConnectedTime = null, DateTime?DisconnectedTime = null, QueueConversationSocialExpressionEventTopicAddress ToAddress = null, QueueConversationSocialExpressionEventTopicAddress FromAddress = null, List <QueueConversationSocialExpressionEventTopicMessageDetails> Messages = null, string MessagesTranscriptUri = null, TypeEnum?Type = null, string RecipientCountry = null, string RecipientType = null, QueueConversationSocialExpressionEventTopicJourneyContext JourneyContext = null, QueueConversationSocialExpressionEventTopicWrapup Wrapup = null, QueueConversationSocialExpressionEventTopicAfterCallWork 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 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QueueConversationSocialExpressionEventTopicChat" /> class.
 /// </summary>
 /// <param name="State">State.</param>
 /// <param name="Id">Id.</param>
 /// <param name="Provider">Provider.</param>
 /// <param name="ScriptId">ScriptId.</param>
 /// <param name="PeerId">PeerId.</param>
 /// <param name="RoomId">RoomId.</param>
 /// <param name="AvatarImageUrl">AvatarImageUrl.</param>
 /// <param name="Held">Held.</param>
 /// <param name="DisconnectType">DisconnectType.</param>
 /// <param name="StartHoldTime">StartHoldTime.</param>
 /// <param name="ConnectedTime">ConnectedTime.</param>
 /// <param name="DisconnectedTime">DisconnectedTime.</param>
 /// <param name="JourneyContext">JourneyContext.</param>
 /// <param name="AdditionalProperties">AdditionalProperties.</param>
 public QueueConversationSocialExpressionEventTopicChat(StateEnum?State = 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, QueueConversationSocialExpressionEventTopicJourneyContext JourneyContext = null, Object AdditionalProperties = null)
 {
     this.State                = State;
     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.AdditionalProperties = AdditionalProperties;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="QueueConversationSocialExpressionEventTopicChat" /> 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 QueueConversationSocialExpressionEventTopicChat(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, QueueConversationSocialExpressionEventTopicJourneyContext JourneyContext = null, QueueConversationSocialExpressionEventTopicWrapup Wrapup = null, QueueConversationSocialExpressionEventTopicAfterCallWork 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;
 }