Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ShiftTradeMatchReviewUserResponse" /> class.
 /// </summary>
 /// <param name="WeeklyMinimumPaidMinutes">The minimum weekly paid minutes for this user per the work plan tied to the agent schedule.</param>
 /// <param name="WeeklyMaximumPaidMinutes">The maximum weekly paid minutes for this user per the work plan tied to the agent schedule.</param>
 /// <param name="PreTradeSchedulePaidMinutes">The paid minutes on the week schedule for this user prior to the shift trade.</param>
 /// <param name="PostTradeSchedulePaidMinutes">The paid minutes on the week schedule for this user if the shift trade is approved.</param>
 /// <param name="PostTradeNewShift">Preview of what the shift will look like for the opposite side of this trade after the match is approved.</param>
 public ShiftTradeMatchReviewUserResponse(int?WeeklyMinimumPaidMinutes = null, int?WeeklyMaximumPaidMinutes = null, int?PreTradeSchedulePaidMinutes = null, int?PostTradeSchedulePaidMinutes = null, ShiftTradePreviewResponse PostTradeNewShift = null)
 {
     this.WeeklyMinimumPaidMinutes     = WeeklyMinimumPaidMinutes;
     this.WeeklyMaximumPaidMinutes     = WeeklyMaximumPaidMinutes;
     this.PreTradeSchedulePaidMinutes  = PreTradeSchedulePaidMinutes;
     this.PostTradeSchedulePaidMinutes = PostTradeSchedulePaidMinutes;
     this.PostTradeNewShift            = PostTradeNewShift;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SearchShiftTradeResponse" /> class.
 /// </summary>
 /// <param name="Trade">A trade which matches search criteria.</param>
 /// <param name="MatchingReceivingShiftIds">IDs of shifts which match the search criteria.</param>
 /// <param name="Preview">A preview of what the shift trade would look like if matched.</param>
 public SearchShiftTradeResponse(ShiftTradeResponse Trade = null, List <string> MatchingReceivingShiftIds = null, ShiftTradePreviewResponse Preview = null)
 {
     this.Trade = Trade;
     this.MatchingReceivingShiftIds = MatchingReceivingShiftIds;
     this.Preview = Preview;
 }