/// <summary> /// Initializes a new instance of the <see cref="BuImportAgentScheduleUploadSchema" /> class. /// </summary> /// <param name="UserId">The ID of the user to whom this agent schedule applies (required).</param> /// <param name="WorkPlanId">The ID of the work plan for this user. Mutually exclusive with workPlanIdsPerWeek.</param> /// <param name="WorkPlanIdsPerWeek">The IDs of the work plans per week for this user. Mutually exclusive with workPlanId.</param> /// <param name="Shifts">The shift definitions for this agent schedule.</param> /// <param name="FullDayTimeOffMarkers">Any full day time off markers that apply to this agent schedule.</param> public BuImportAgentScheduleUploadSchema(string UserId = null, ValueWrapperString WorkPlanId = null, ListWrapperString WorkPlanIdsPerWeek = null, List <BuAgentScheduleShift> Shifts = null, List <BuFullDayTimeOffMarker> FullDayTimeOffMarkers = null) { this.UserId = UserId; this.WorkPlanId = WorkPlanId; this.WorkPlanIdsPerWeek = WorkPlanIdsPerWeek; this.Shifts = Shifts; this.FullDayTimeOffMarkers = FullDayTimeOffMarkers; }
/// <summary> /// Initializes a new instance of the <see cref="BuUpdateAgentScheduleUploadSchema" /> class. /// </summary> /// <param name="UserId">The ID of the user to whom this agent schedule applies (required).</param> /// <param name="WorkPlanId">The ID of the work plan for this user. Mutually exclusive with workPlanIdsPerWeek.</param> /// <param name="WorkPlanIdsPerWeek">The IDs of the work plans per week for this user. Mutually exclusive with workPlanId.</param> /// <param name="Shifts">The shift definitions for this agent schedule.</param> /// <param name="FullDayTimeOffMarkers">Any full day time off markers that apply to this agent schedule.</param> /// <param name="Metadata">Version metadata for this agent schedule. Required if updating or deleting an existing agent schedule, otherwise should be omitted.</param> /// <param name="Delete">Whether to delete this agent's schedule. Defaults to false if not set.</param> public BuUpdateAgentScheduleUploadSchema(string UserId = null, ValueWrapperString WorkPlanId = null, ListWrapperString WorkPlanIdsPerWeek = null, List <BuAgentScheduleShift> Shifts = null, List <BuFullDayTimeOffMarker> FullDayTimeOffMarkers = null, WfmVersionedEntityMetadata Metadata = null, bool?Delete = null) { this.UserId = UserId; this.WorkPlanId = WorkPlanId; this.WorkPlanIdsPerWeek = WorkPlanIdsPerWeek; this.Shifts = Shifts; this.FullDayTimeOffMarkers = FullDayTimeOffMarkers; this.Metadata = Metadata; this.Delete = Delete; }