示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationCallbackEventTopicConversationRoutingData" /> class.
 /// </summary>
 /// <param name="Queue">A UriReference for a resource.</param>
 /// <param name="Language">A UriReference for a resource.</param>
 /// <param name="Priority">The priority of the conversation to use for routing decisions.</param>
 /// <param name="Skills">The skills to use for routing decisions.</param>
 /// <param name="ScoredAgents">A collection of agents and their assigned scores for this conversation (0 - 100, higher being better), for use in routing to preferred agents.</param>
 public ConversationCallbackEventTopicConversationRoutingData(ConversationCallbackEventTopicUriReference Queue = null, ConversationCallbackEventTopicUriReference Language = null, int?Priority = null, List <ConversationCallbackEventTopicUriReference> Skills = null, List <ConversationCallbackEventTopicScoredAgent> ScoredAgents = null)
 {
     this.Queue        = Queue;
     this.Language     = Language;
     this.Priority     = Priority;
     this.Skills       = Skills;
     this.ScoredAgents = ScoredAgents;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationCallbackEventTopicCallbackMediaParticipant" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Name">Name.</param>
 /// <param name="Address">Address.</param>
 /// <param name="StartTime">StartTime.</param>
 /// <param name="ConnectedTime">ConnectedTime.</param>
 /// <param name="EndTime">EndTime.</param>
 /// <param name="StartHoldTime">StartHoldTime.</param>
 /// <param name="Purpose">Purpose.</param>
 /// <param name="State">State.</param>
 /// <param name="Direction">Direction.</param>
 /// <param name="DisconnectType">DisconnectType.</param>
 /// <param name="Held">Held.</param>
 /// <param name="WrapupRequired">WrapupRequired.</param>
 /// <param name="WrapupPrompt">WrapupPrompt.</param>
 /// <param name="User">User.</param>
 /// <param name="Queue">Queue.</param>
 /// <param name="Attributes">Attributes.</param>
 /// <param name="ErrorInfo">ErrorInfo.</param>
 /// <param name="Script">Script.</param>
 /// <param name="WrapupTimeoutMs">WrapupTimeoutMs.</param>
 /// <param name="WrapupSkipped">WrapupSkipped.</param>
 /// <param name="AlertingTimeoutMs">AlertingTimeoutMs.</param>
 /// <param name="Provider">Provider.</param>
 /// <param name="ExternalContact">ExternalContact.</param>
 /// <param name="ExternalOrganization">ExternalOrganization.</param>
 /// <param name="Wrapup">Wrapup.</param>
 /// <param name="ConversationRoutingData">ConversationRoutingData.</param>
 /// <param name="Peer">Peer.</param>
 /// <param name="ScreenRecordingState">ScreenRecordingState.</param>
 /// <param name="FlaggedReason">FlaggedReason.</param>
 /// <param name="JourneyContext">JourneyContext.</param>
 /// <param name="StartAcwTime">StartAcwTime.</param>
 /// <param name="EndAcwTime">EndAcwTime.</param>
 /// <param name="OutboundPreview">OutboundPreview.</param>
 /// <param name="Voicemail">Voicemail.</param>
 /// <param name="CallbackNumbers">CallbackNumbers.</param>
 /// <param name="CallbackUserName">CallbackUserName.</param>
 /// <param name="SkipEnabled">SkipEnabled.</param>
 /// <param name="TimeoutSeconds">TimeoutSeconds.</param>
 /// <param name="CallbackScheduledTime">CallbackScheduledTime.</param>
 /// <param name="AutomatedCallbackConfigId">AutomatedCallbackConfigId.</param>
 public ConversationCallbackEventTopicCallbackMediaParticipant(string Id = null, string Name = null, string Address = null, DateTime?StartTime = null, DateTime?ConnectedTime = null, DateTime?EndTime = null, DateTime?StartHoldTime = null, string Purpose = null, StateEnum?State = null, DirectionEnum?Direction = null, DisconnectTypeEnum?DisconnectType = null, bool?Held = null, bool?WrapupRequired = null, string WrapupPrompt = null, ConversationCallbackEventTopicUriReference User = null, ConversationCallbackEventTopicUriReference Queue = null, Dictionary <string, string> Attributes = null, ConversationCallbackEventTopicErrorBody ErrorInfo = null, ConversationCallbackEventTopicUriReference Script = null, int?WrapupTimeoutMs = null, bool?WrapupSkipped = null, int?AlertingTimeoutMs = null, string Provider = null, ConversationCallbackEventTopicUriReference ExternalContact = null, ConversationCallbackEventTopicUriReference ExternalOrganization = null, ConversationCallbackEventTopicWrapup Wrapup = null, ConversationCallbackEventTopicConversationRoutingData ConversationRoutingData = null, string Peer = null, string ScreenRecordingState = null, FlaggedReasonEnum?FlaggedReason = null, ConversationCallbackEventTopicJourneyContext JourneyContext = null, DateTime?StartAcwTime = null, DateTime?EndAcwTime = null, ConversationCallbackEventTopicDialerPreview OutboundPreview = null, ConversationCallbackEventTopicVoicemail Voicemail = null, List <string> CallbackNumbers = null, string CallbackUserName = null, bool?SkipEnabled = null, int?TimeoutSeconds = null, DateTime?CallbackScheduledTime = null, string AutomatedCallbackConfigId = null)
 {
     this.Id                        = Id;
     this.Name                      = Name;
     this.Address                   = Address;
     this.StartTime                 = StartTime;
     this.ConnectedTime             = ConnectedTime;
     this.EndTime                   = EndTime;
     this.StartHoldTime             = StartHoldTime;
     this.Purpose                   = Purpose;
     this.State                     = State;
     this.Direction                 = Direction;
     this.DisconnectType            = DisconnectType;
     this.Held                      = Held;
     this.WrapupRequired            = WrapupRequired;
     this.WrapupPrompt              = WrapupPrompt;
     this.User                      = User;
     this.Queue                     = Queue;
     this.Attributes                = Attributes;
     this.ErrorInfo                 = ErrorInfo;
     this.Script                    = Script;
     this.WrapupTimeoutMs           = WrapupTimeoutMs;
     this.WrapupSkipped             = WrapupSkipped;
     this.AlertingTimeoutMs         = AlertingTimeoutMs;
     this.Provider                  = Provider;
     this.ExternalContact           = ExternalContact;
     this.ExternalOrganization      = ExternalOrganization;
     this.Wrapup                    = Wrapup;
     this.ConversationRoutingData   = ConversationRoutingData;
     this.Peer                      = Peer;
     this.ScreenRecordingState      = ScreenRecordingState;
     this.FlaggedReason             = FlaggedReason;
     this.JourneyContext            = JourneyContext;
     this.StartAcwTime              = StartAcwTime;
     this.EndAcwTime                = EndAcwTime;
     this.OutboundPreview           = OutboundPreview;
     this.Voicemail                 = Voicemail;
     this.CallbackNumbers           = CallbackNumbers;
     this.CallbackUserName          = CallbackUserName;
     this.SkipEnabled               = SkipEnabled;
     this.TimeoutSeconds            = TimeoutSeconds;
     this.CallbackScheduledTime     = CallbackScheduledTime;
     this.AutomatedCallbackConfigId = AutomatedCallbackConfigId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ConversationCallbackEventTopicScoredAgent" /> class.
 /// </summary>
 /// <param name="Agent">A UriReference for a resource.</param>
 /// <param name="Score">Agent's score for the current conversation, from 0 - 100, higher being better.</param>
 public ConversationCallbackEventTopicScoredAgent(ConversationCallbackEventTopicUriReference Agent = null, int?Score = null)
 {
     this.Agent = Agent;
     this.Score = Score;
 }