/// <summary>
 /// Initializes a new instance of the <see cref="PatchShiftTradeRequest" /> class.
 /// </summary>
 /// <param name="ReceivingUserId">Update the ID of the receiving user to direct the request at a specific user, or set the wrapped id to null to open up a trade to be matched by any user..</param>
 /// <param name="Expiration">Update the expiration time for this shift trade..</param>
 /// <param name="AcceptableIntervals">Update the acceptable intervals the initiating user is willing to accept in trade. Setting the enclosed list to empty will make this a one sided trade request.</param>
 /// <param name="Metadata">Version metadata (required).</param>
 public PatchShiftTradeRequest(ValueWrapperString ReceivingUserId = null, ValueWrapperDate Expiration = null, ListWrapperInterval AcceptableIntervals = null, WfmVersionedEntityMetadata Metadata = null)
 {
     this.ReceivingUserId     = ReceivingUserId;
     this.Expiration          = Expiration;
     this.AcceptableIntervals = AcceptableIntervals;
     this.Metadata            = Metadata;
 }
Example #2
0
 /// <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;
 }