/// <summary> /// Initializes a new instance of the <see cref="CreatePredictorRequest" /> class. /// </summary> /// <param name="QueueIds">The queue IDs associated with the predictor. (required).</param> /// <param name="Kpi">The KPI that the predictor attempts to maximize/minimize. (required).</param> /// <param name="RoutingTimeoutSeconds">Number of seconds allocated to predictive routing before attempting a different routing method. This is a value between 12 and 900 seconds..</param> /// <param name="Schedule">The predictor schedule that determines when the predictor is used for routing interactions..</param> /// <param name="WorkloadBalancingConfig">The predictor balancing configuration to enable workload balancing.</param> public CreatePredictorRequest(List <string> QueueIds = null, string Kpi = null, int?RoutingTimeoutSeconds = null, PredictorSchedule Schedule = null, PredictorWorkloadBalancing WorkloadBalancingConfig = null) { this.QueueIds = QueueIds; this.Kpi = Kpi; this.RoutingTimeoutSeconds = RoutingTimeoutSeconds; this.Schedule = Schedule; this.WorkloadBalancingConfig = WorkloadBalancingConfig; }
/// <summary> /// Initializes a new instance of the <see cref="Predictor" /> class. /// </summary> /// <param name="Queues">The queue IDs associated with the predictor. (required).</param> /// <param name="Kpi">The KPI that the predictor attempts to maximize/minimize. (required).</param> /// <param name="RoutingTimeoutSeconds">Number of seconds allocated to predictive routing before attempting a different routing method. This is a value between 12 and 900 seconds..</param> /// <param name="Schedule">The predictor schedule that determines when the predictor is used for routing interactions..</param> /// <param name="WorkloadBalancingConfig">The predictor balancing configuration to enable workload balancing..</param> public Predictor(List <AddressableEntityRef> Queues = null, string Kpi = null, int?RoutingTimeoutSeconds = null, PredictorSchedule Schedule = null, PredictorWorkloadBalancing WorkloadBalancingConfig = null) { this.Queues = Queues; this.Kpi = Kpi; this.RoutingTimeoutSeconds = RoutingTimeoutSeconds; this.Schedule = Schedule; this.WorkloadBalancingConfig = WorkloadBalancingConfig; }
/// <summary> /// Initializes a new instance of the <see cref="PatchPredictorRequest" /> class. /// </summary> /// <param name="RoutingTimeoutSeconds">Number of seconds allocated to predictive routing before attempting a different routing method. This is a value between 12 and 900 seconds..</param> /// <param name="Schedule">The predictor schedule that determines when the predictor is used for routing interactions..</param> /// <param name="WorkloadBalancingConfig">The predictor balancing configuration to enable workload balancing.</param> public PatchPredictorRequest(int?RoutingTimeoutSeconds = null, PredictorSchedule Schedule = null, PredictorWorkloadBalancing WorkloadBalancingConfig = null) { this.RoutingTimeoutSeconds = RoutingTimeoutSeconds; this.Schedule = Schedule; this.WorkloadBalancingConfig = WorkloadBalancingConfig; }