Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuAgentScheduleHistoryChange" /> class.
 /// </summary>
 /// <param name="Metadata">The metadata of the change, including who and when the change was made.</param>
 /// <param name="Shifts">The list of changed shifts.</param>
 /// <param name="FullDayTimeOffMarkers">The list of changed full day time off markers.</param>
 /// <param name="Deletes">The deleted shifts, full day time off markers, or the entire agent schedule.</param>
 public BuAgentScheduleHistoryChange(BuAgentScheduleHistoryChangeMetadata Metadata = null, List <BuAgentScheduleShift> Shifts = null, List <BuFullDayTimeOffMarker> FullDayTimeOffMarkers = null, BuAgentScheduleHistoryDeletedChange Deletes = null)
 {
     this.Metadata = Metadata;
     this.Shifts   = Shifts;
     this.FullDayTimeOffMarkers = FullDayTimeOffMarkers;
     this.Deletes = Deletes;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BuAgentScheduleHistoryDroppedChange" /> class.
 /// </summary>
 /// <param name="Metadata">The metadata of the change, including who and when the change was made.</param>
 /// <param name="ShiftIds">The IDs of deleted shifts.</param>
 /// <param name="FullDayTimeOffMarkerDates">The dates of any deleted full day time off markers.</param>
 /// <param name="Deletes">The deleted shifts, full day time off markers, or the entire agent schedule.</param>
 public BuAgentScheduleHistoryDroppedChange(BuAgentScheduleHistoryChangeMetadata Metadata = null, List <string> ShiftIds = null, List <String> FullDayTimeOffMarkerDates = null, BuAgentScheduleHistoryDeletedChange Deletes = null)
 {
     this.Metadata = Metadata;
     this.ShiftIds = ShiftIds;
     this.FullDayTimeOffMarkerDates = FullDayTimeOffMarkerDates;
     this.Deletes = Deletes;
 }