/// <summary>
 /// Initializes a new instance of the <see cref="QueueRequest" /> class.
 /// </summary>
 /// <param name="Name">The queue name (required).</param>
 /// <param name="Division">The division to which this entity belongs..</param>
 /// <param name="Description">The queue description..</param>
 /// <param name="DateCreated">The date the queue was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="DateModified">The date of the last modification to the queue. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="ModifiedBy">The ID of the user that last modified the queue..</param>
 /// <param name="CreatedBy">The ID of the user that created the queue..</param>
 /// <param name="MediaSettings">The media settings for the queue. Valid key values: CALL, CALLBACK, CHAT, EMAIL, MESSAGE, SOCIAL_EXPRESSION, VIDEO_COMM.</param>
 /// <param name="RoutingRules">The routing rules for the queue, used for Preferred Agent Routing..</param>
 /// <param name="Bullseye">The bullseye settings for the queue..</param>
 /// <param name="AcwSettings">The ACW settings for the queue..</param>
 /// <param name="SkillEvaluationMethod">The skill evaluation method to use when routing conversations..</param>
 /// <param name="MemberGroups">The groups of agents associated with the queue, if any.  Queue membership will update to match group membership changes..</param>
 /// <param name="QueueFlow">The in-queue flow to use for call conversations waiting in queue..</param>
 /// <param name="EmailInQueueFlow">The in-queue flow to use for email conversations waiting in queue..</param>
 /// <param name="MessageInQueueFlow">The in-queue flow to use for message conversations waiting in queue..</param>
 /// <param name="WhisperPrompt">The prompt used for whisper on the queue, if configured..</param>
 /// <param name="OnHoldPrompt">The audio to be played when calls on this queue are on hold. If not configured, the default on-hold music will play..</param>
 /// <param name="AutoAnswerOnly">Specifies whether the configured whisper should play for all ACD calls, or only for those which are auto-answered..</param>
 /// <param name="EnableTranscription">Indicates whether voice transcription is enabled for this queue..</param>
 /// <param name="EnableManualAssignment">Indicates whether manual assignment is enabled for this queue..</param>
 /// <param name="AgentOwnedRouting">The Agent Owned Routing settings for the queue.</param>
 /// <param name="CallingPartyName">The name to use for caller identification for outbound calls from this queue..</param>
 /// <param name="CallingPartyNumber">The phone number to use for caller identification for outbound calls from this queue..</param>
 /// <param name="DefaultScripts">The default script Ids for the communication types..</param>
 /// <param name="OutboundMessagingAddresses">The messaging addresses for the queue..</param>
 /// <param name="OutboundEmailAddress">OutboundEmailAddress.</param>
 /// <param name="PeerId">The ID of an associated external queue..</param>
 public QueueRequest(string Name = null, WritableDivision Division = null, string Description = null, DateTime?DateCreated = null, DateTime?DateModified = null, string ModifiedBy = null, string CreatedBy = null, Dictionary <string, MediaSetting> MediaSettings = null, List <RoutingRule> RoutingRules = null, Bullseye Bullseye = null, AcwSettings AcwSettings = null, SkillEvaluationMethodEnum?SkillEvaluationMethod = null, List <MemberGroup> MemberGroups = null, DomainEntityRef QueueFlow = null, DomainEntityRef EmailInQueueFlow = null, DomainEntityRef MessageInQueueFlow = null, DomainEntityRef WhisperPrompt = null, DomainEntityRef OnHoldPrompt = null, bool?AutoAnswerOnly = null, bool?EnableTranscription = null, bool?EnableManualAssignment = null, AgentOwnedRouting AgentOwnedRouting = null, string CallingPartyName = null, string CallingPartyNumber = null, Dictionary <string, Script> DefaultScripts = null, QueueMessagingAddresses OutboundMessagingAddresses = null, QueueEmailAddress OutboundEmailAddress = null, string PeerId = null)
 {
     this.Name                       = Name;
     this.Division                   = Division;
     this.Description                = Description;
     this.DateCreated                = DateCreated;
     this.DateModified               = DateModified;
     this.ModifiedBy                 = ModifiedBy;
     this.CreatedBy                  = CreatedBy;
     this.MediaSettings              = MediaSettings;
     this.RoutingRules               = RoutingRules;
     this.Bullseye                   = Bullseye;
     this.AcwSettings                = AcwSettings;
     this.SkillEvaluationMethod      = SkillEvaluationMethod;
     this.MemberGroups               = MemberGroups;
     this.QueueFlow                  = QueueFlow;
     this.EmailInQueueFlow           = EmailInQueueFlow;
     this.MessageInQueueFlow         = MessageInQueueFlow;
     this.WhisperPrompt              = WhisperPrompt;
     this.OnHoldPrompt               = OnHoldPrompt;
     this.AutoAnswerOnly             = AutoAnswerOnly;
     this.EnableTranscription        = EnableTranscription;
     this.EnableManualAssignment     = EnableManualAssignment;
     this.AgentOwnedRouting          = AgentOwnedRouting;
     this.CallingPartyName           = CallingPartyName;
     this.CallingPartyNumber         = CallingPartyNumber;
     this.DefaultScripts             = DefaultScripts;
     this.OutboundMessagingAddresses = OutboundMessagingAddresses;
     this.OutboundEmailAddress       = OutboundEmailAddress;
     this.PeerId                     = PeerId;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Queue" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Division">The division to which this entity belongs..</param>
 /// <param name="Description">The queue description..</param>
 /// <param name="DateCreated">The date the queue was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="DateModified">The date of the last modification to the queue. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="ModifiedBy">The ID of the user that last modified the queue..</param>
 /// <param name="CreatedBy">The ID of the user that created the queue..</param>
 /// <param name="MediaSettings">The media settings for the queue. Valid key values: CALL, CALLBACK, CHAT, EMAIL, MESSAGE, SOCIAL_EXPRESSION, VIDEO_COMM.</param>
 /// <param name="Bullseye">The bulls-eye settings for the queue..</param>
 /// <param name="AcwSettings">The ACW settings for the queue..</param>
 /// <param name="SkillEvaluationMethod">The skill evaluation method to use when routing conversations..</param>
 /// <param name="QueueFlow">The in-queue flow to use for conversations waiting in queue..</param>
 /// <param name="WhisperPrompt">The prompt used for whisper on the queue, if configured..</param>
 /// <param name="AutoAnswerOnly">Specifies whether the configured whisper should play for all ACD calls, or only for those which are auto-answered..</param>
 /// <param name="CallingPartyName">The name to use for caller identification for outbound calls from this queue..</param>
 /// <param name="CallingPartyNumber">The phone number to use for caller identification for outbound calls from this queue..</param>
 /// <param name="DefaultScripts">The default script Ids for the communication types..</param>
 /// <param name="OutboundMessagingAddresses">The messaging addresses for the queue..</param>
 /// <param name="OutboundEmailAddress">OutboundEmailAddress.</param>
 public Queue(string Name = null, Division Division = null, string Description = null, DateTime?DateCreated = null, DateTime?DateModified = null, string ModifiedBy = null, string CreatedBy = null, Dictionary <string, MediaSetting> MediaSettings = null, Bullseye Bullseye = null, AcwSettings AcwSettings = null, SkillEvaluationMethodEnum?SkillEvaluationMethod = null, DomainEntityRef QueueFlow = null, DomainEntityRef WhisperPrompt = null, bool?AutoAnswerOnly = null, string CallingPartyName = null, string CallingPartyNumber = null, Dictionary <string, Script> DefaultScripts = null, QueueMessagingAddresses OutboundMessagingAddresses = null, QueueEmailAddress OutboundEmailAddress = null)
 {
     this.Name                       = Name;
     this.Division                   = Division;
     this.Description                = Description;
     this.DateCreated                = DateCreated;
     this.DateModified               = DateModified;
     this.ModifiedBy                 = ModifiedBy;
     this.CreatedBy                  = CreatedBy;
     this.MediaSettings              = MediaSettings;
     this.Bullseye                   = Bullseye;
     this.AcwSettings                = AcwSettings;
     this.SkillEvaluationMethod      = SkillEvaluationMethod;
     this.QueueFlow                  = QueueFlow;
     this.WhisperPrompt              = WhisperPrompt;
     this.AutoAnswerOnly             = AutoAnswerOnly;
     this.CallingPartyName           = CallingPartyName;
     this.CallingPartyNumber         = CallingPartyNumber;
     this.DefaultScripts             = DefaultScripts;
     this.OutboundMessagingAddresses = OutboundMessagingAddresses;
     this.OutboundEmailAddress       = OutboundEmailAddress;
 }