/// <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; }
/// <summary> /// Initializes a new instance of the <see cref="ConversationEventTopicEmail" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="State">State.</param> /// <param name="Held">Held.</param> /// <param name="AutoGenerated">AutoGenerated.</param> /// <param name="Subject">Subject.</param> /// <param name="Provider">Provider.</param> /// <param name="ScriptId">ScriptId.</param> /// <param name="PeerId">PeerId.</param> /// <param name="MessagesSent">MessagesSent.</param> /// <param name="ErrorInfo">ErrorInfo.</param> /// <param name="DisconnectType">DisconnectType.</param> /// <param name="StartHoldTime">StartHoldTime.</param> /// <param name="ConnectedTime">ConnectedTime.</param> /// <param name="DisconnectedTime">DisconnectedTime.</param> /// <param name="MessageId">MessageId.</param> /// <param name="Direction">Direction.</param> /// <param name="DraftAttachments">DraftAttachments.</param> /// <param name="Spam">Spam.</param> /// <param name="AdditionalProperties">AdditionalProperties.</param> public ConversationEventTopicEmail(string Id = null, StateEnum?State = 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, Object AdditionalProperties = null) { this.Id = Id; this.State = State; 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.AdditionalProperties = AdditionalProperties; }
/// <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; }
/// <summary> /// Initializes a new instance of the <see cref="ConversationEventTopicMessageDetails" /> class. /// </summary> /// <param name="MessageId">UUID identifying the message media..</param> /// <param name="MessageTime">The time when the message was sent or received..</param> /// <param name="MessageStatus">Indicates the delivery status of the message..</param> /// <param name="MessageSegmentCount">The message segment count, greater than 1 if the message content was split into multiple parts for this message type, e.g. SMS character limits..</param> /// <param name="Media">The media (images, files, etc) associated with this message, if any.</param> /// <param name="ErrorInfo">Detailed information about an error response..</param> /// <param name="Stickers">A list of stickers included in the message.</param> /// <param name="MessageMetadata">MessageMetadata.</param> public ConversationEventTopicMessageDetails(string MessageId = null, DateTime?MessageTime = null, MessageStatusEnum?MessageStatus = null, int?MessageSegmentCount = null, List <ConversationEventTopicMessageMedia> Media = null, ConversationEventTopicErrorDetails ErrorInfo = null, List <ConversationEventTopicMessageSticker> Stickers = null, ConversationEventTopicMessageMetadata MessageMetadata = null) { this.MessageId = MessageId; this.MessageTime = MessageTime; this.MessageStatus = MessageStatus; this.MessageSegmentCount = MessageSegmentCount; this.Media = Media; this.ErrorInfo = ErrorInfo; this.Stickers = Stickers; this.MessageMetadata = MessageMetadata; }
/// <summary> /// Initializes a new instance of the <see cref="ConversationEventTopicCall" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="State">State.</param> /// <param name="Recording">Recording.</param> /// <param name="RecordingState">RecordingState.</param> /// <param name="Muted">Muted.</param> /// <param name="Confined">Confined.</param> /// <param name="Held">Held.</param> /// <param name="ErrorInfo">ErrorInfo.</param> /// <param name="DisconnectType">DisconnectType.</param> /// <param name="StartHoldTime">StartHoldTime.</param> /// <param name="Direction">Direction.</param> /// <param name="DocumentId">DocumentId.</param> /// <param name="Self">Self.</param> /// <param name="Other">Other.</param> /// <param name="Provider">Provider.</param> /// <param name="ScriptId">ScriptId.</param> /// <param name="PeerId">PeerId.</param> /// <param name="ConnectedTime">ConnectedTime.</param> /// <param name="DisconnectedTime">DisconnectedTime.</param> /// <param name="DisconnectReasons">DisconnectReasons.</param> /// <param name="FaxStatus">FaxStatus.</param> /// <param name="UuiData">UuiData.</param> /// <param name="AdditionalProperties">AdditionalProperties.</param> public ConversationEventTopicCall(string Id = null, StateEnum?State = 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, Object AdditionalProperties = null) { this.Id = Id; this.State = State; 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.AdditionalProperties = AdditionalProperties; }
/// <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; }