/// <summary>
 /// Initializes a new instance of the <see cref="WfmAgent" /> class.
 /// </summary>
 /// <param name="User">The user associated with this data.</param>
 /// <param name="WorkPlan">The work plan associated with this agent, if applicable.</param>
 /// <param name="WorkPlanRotation">The work plan rotation associated with this agent, if applicable.</param>
 /// <param name="AcceptDirectShiftTrades">Whether the agent accepts direct shift trade requests.</param>
 /// <param name="Queues">List of queues to which this agent is capable of handling.</param>
 /// <param name="Languages">The list of languages this agent is capable of handling.</param>
 /// <param name="Skills">The list of skills this agent is capable of handling.</param>
 /// <param name="Schedulable">Whether the agent has the permission to be included in schedule generation.</param>
 /// <param name="Metadata">Metadata for this agent.</param>
 public WfmAgent(UserReference User = null, WorkPlanReference WorkPlan = null, WorkPlanRotationReference WorkPlanRotation = null, bool?AcceptDirectShiftTrades = null, List <QueueReference> Queues = null, List <LanguageReference> Languages = null, List <RoutingSkillReference> Skills = null, bool?Schedulable = null, WfmVersionedEntityMetadata Metadata = null)
 {
     this.User                    = User;
     this.WorkPlan                = WorkPlan;
     this.WorkPlanRotation        = WorkPlanRotation;
     this.AcceptDirectShiftTrades = AcceptDirectShiftTrades;
     this.Queues                  = Queues;
     this.Languages               = Languages;
     this.Skills                  = Skills;
     this.Schedulable             = Schedulable;
     this.Metadata                = Metadata;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuAgentScheduleQueryResponse" /> class.
 /// </summary>
 /// <param name="User">The user to whom this agent schedule applies.</param>
 /// <param name="Shifts">The shift definitions for this agent schedule.</param>
 /// <param name="FullDayTimeOffMarkers">Full day time off markers which apply to this agent schedule.</param>
 /// <param name="WorkPlan">The work plan for this user.</param>
 /// <param name="WorkPlansPerWeek">The work plans per week for this user from the work plan rotation. Null values in the list denotes that user is not part of any work plan for that week.</param>
 /// <param name="Metadata">Versioned entity metadata for this agent schedule.</param>
 public BuAgentScheduleQueryResponse(UserReference User = null, List <BuAgentScheduleShift> Shifts = null, List <BuFullDayTimeOffMarker> FullDayTimeOffMarkers = null, WorkPlanReference WorkPlan = null, List <WorkPlanReference> WorkPlansPerWeek = null, WfmVersionedEntityMetadata Metadata = null)
 {
     this.User   = User;
     this.Shifts = Shifts;
     this.FullDayTimeOffMarkers = FullDayTimeOffMarkers;
     this.WorkPlan         = WorkPlan;
     this.WorkPlansPerWeek = WorkPlansPerWeek;
     this.Metadata         = Metadata;
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuAgentScheduleRescheduleResponse" /> class.
 /// </summary>
 /// <param name="User">The user to whom this agent schedule applies.</param>
 /// <param name="Shifts">The shift definitions for this agent schedule.</param>
 /// <param name="FullDayTimeOffMarkers">Full day time off markers which apply to this agent schedule.</param>
 /// <param name="WorkPlan">The work plan for this user.</param>
 /// <param name="WorkPlansPerWeek">The work plans per week for this user from the work plan rotation. Null values in the list denotes that user is not part of any work plan for that week.</param>
 public BuAgentScheduleRescheduleResponse(UserReference User = null, List <BuAgentScheduleShift> Shifts = null, List <BuFullDayTimeOffMarker> FullDayTimeOffMarkers = null, WorkPlanReference WorkPlan = null, List <WorkPlanReference> WorkPlansPerWeek = null)
 {
     this.User   = User;
     this.Shifts = Shifts;
     this.FullDayTimeOffMarkers = FullDayTimeOffMarkers;
     this.WorkPlan         = WorkPlan;
     this.WorkPlansPerWeek = WorkPlansPerWeek;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ValidateWorkPlanResponse" /> class.
 /// </summary>
 /// <param name="WorkPlan">The work plan reference associated with this response.</param>
 /// <param name="Valid">Whether the work plan is valid or not.</param>
 /// <param name="Messages">Validation messages for this work plan.</param>
 public ValidateWorkPlanResponse(WorkPlanReference WorkPlan = null, bool?Valid = null, ValidateWorkPlanMessages Messages = null)
 {
     this.WorkPlan = WorkPlan;
     this.Valid    = Valid;
     this.Messages = Messages;
 }