Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReschedulingOptionsRunResponse" /> class.
 /// </summary>
 /// <param name="ExistingSchedule">The existing schedule to which this reschedule run applies.</param>
 /// <param name="StartDate">The start date of the period to reschedule. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="EndDate">The end date of the period to reschedule. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="ManagementUnits">Per-management unit rescheduling options.</param>
 /// <param name="AgentCount">The number of agents to be considered in the reschedule.</param>
 /// <param name="ActivityCodeIds">The IDs of the activity codes being considered for reschedule.</param>
 /// <param name="DoNotChangeWeeklyPaidTime">Whether weekly paid time is allowed to be changed.</param>
 /// <param name="DoNotChangeDailyPaidTime">Whether daily paid time is allowed to be changed.</param>
 /// <param name="DoNotChangeShiftStartTimes">Whether shift start times are allowed to be changed.</param>
 /// <param name="DoNotChangeManuallyEditedShifts">Whether manually edited shifts are allowed to be changed.</param>
 public ReschedulingOptionsRunResponse(BuScheduleReference ExistingSchedule = null, DateTime?StartDate = null, DateTime?EndDate = null, List <ReschedulingManagementUnitResponse> ManagementUnits = null, int?AgentCount = null, List <string> ActivityCodeIds = null, bool?DoNotChangeWeeklyPaidTime = null, bool?DoNotChangeDailyPaidTime = null, bool?DoNotChangeShiftStartTimes = null, bool?DoNotChangeManuallyEditedShifts = null)
 {
     this.ExistingSchedule                = ExistingSchedule;
     this.StartDate                       = StartDate;
     this.EndDate                         = EndDate;
     this.ManagementUnits                 = ManagementUnits;
     this.AgentCount                      = AgentCount;
     this.ActivityCodeIds                 = ActivityCodeIds;
     this.DoNotChangeWeeklyPaidTime       = DoNotChangeWeeklyPaidTime;
     this.DoNotChangeDailyPaidTime        = DoNotChangeDailyPaidTime;
     this.DoNotChangeShiftStartTimes      = DoNotChangeShiftStartTimes;
     this.DoNotChangeManuallyEditedShifts = DoNotChangeManuallyEditedShifts;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuAgentScheduleShift" /> class.
 /// </summary>
 /// <param name="StartDate">The start date of this shift. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="LengthMinutes">The length of this shift in minutes.</param>
 /// <param name="Activities">The activities associated with this shift.</param>
 /// <param name="ManuallyEdited">Whether this shift was manually edited. This is only set by clients and is used for rescheduling.</param>
 /// <param name="Schedule">The schedule to which this shift belongs.</param>
 public BuAgentScheduleShift(DateTime?StartDate = null, int?LengthMinutes = null, List <BuAgentScheduleActivity> Activities = null, bool?ManuallyEdited = null, BuScheduleReference Schedule = null)
 {
     this.StartDate      = StartDate;
     this.LengthMinutes  = LengthMinutes;
     this.Activities     = Activities;
     this.ManuallyEdited = ManuallyEdited;
     this.Schedule       = Schedule;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BuIntradayResponse" /> class.
 /// </summary>
 /// <param name="StartDate">The start of the date range for which this data applies.  This is also the start reference point for the intervals represented in the various arrays. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="EndDate">The end of the date range for which this data applies. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="IntervalLengthMinutes">The aggregation period in minutes, which determines the interval duration of the returned data.</param>
 /// <param name="NoDataReason">If not null, the reason there was no data for the request.</param>
 /// <param name="Categories">The categories to which this data corresponds.</param>
 /// <param name="ShortTermForecast">Short term forecast reference.</param>
 /// <param name="Schedule">Schedule reference.</param>
 /// <param name="IntradayDataGroupings">Intraday data grouped by a single media type and set of planning group IDs.</param>
 public BuIntradayResponse(DateTime?StartDate = null, DateTime?EndDate = null, int?IntervalLengthMinutes = null, NoDataReasonEnum?NoDataReason = null, List <CategoriesEnum> Categories = null, BuShortTermForecastReference ShortTermForecast = null, BuScheduleReference Schedule = null, List <BuIntradayDataGroup> IntradayDataGroupings = null)
 {
     this.StartDate             = StartDate;
     this.EndDate               = EndDate;
     this.IntervalLengthMinutes = IntervalLengthMinutes;
     this.NoDataReason          = NoDataReason;
     this.Categories            = Categories;
     this.ShortTermForecast     = ShortTermForecast;
     this.Schedule              = Schedule;
     this.IntradayDataGroupings = IntradayDataGroupings;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuScheduleRun" /> class.
 /// </summary>
 /// <param name="SchedulerRunId">The scheduler run ID.  Reference this value for support.</param>
 /// <param name="IntradayRescheduling">Whether this is an intraday rescheduling run.</param>
 /// <param name="State">The state of the generation run.</param>
 /// <param name="WeekCount">The number of weeks spanned by the schedule.</param>
 /// <param name="PercentComplete">Percent completion of the schedule run.</param>
 /// <param name="TargetWeek">The start date of the target week. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd.</param>
 /// <param name="Schedule">The generated schedule.  Null unless the schedule run is complete.</param>
 /// <param name="ScheduleDescription">The description of the generated schedule.</param>
 /// <param name="SchedulingStartTime">When the schedule generation run started. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="SchedulingStartedBy">The user who started the scheduling run.</param>
 /// <param name="SchedulingCanceledBy">The user who canceled the scheduling run, if applicable.</param>
 /// <param name="SchedulingCompletedTime">When the scheduling run was completed, if applicable. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 /// <param name="MessageCount">The number of schedule generation messages for this schedule generation run.</param>
 /// <param name="MessageSeverityCounts">The list of schedule generation message counts by severity for this schedule generation run.</param>
 /// <param name="ReschedulingOptions">Rescheduling options for this run.  Null unless intradayRescheduling is true.</param>
 /// <param name="ReschedulingResultExpiration">When the reschedule result will expire.  Null unless intradayRescheduling is true. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z.</param>
 public BuScheduleRun(string SchedulerRunId = null, bool?IntradayRescheduling = null, StateEnum?State = null, int?WeekCount = null, double?PercentComplete = null, String TargetWeek = null, BuScheduleReference Schedule = null, string ScheduleDescription = null, DateTime?SchedulingStartTime = null, UserReference SchedulingStartedBy = null, UserReference SchedulingCanceledBy = null, DateTime?SchedulingCompletedTime = null, int?MessageCount = null, List <SchedulerMessageSeverityCount> MessageSeverityCounts = null, ReschedulingOptionsRunResponse ReschedulingOptions = null, DateTime?ReschedulingResultExpiration = null)
 {
     this.SchedulerRunId       = SchedulerRunId;
     this.IntradayRescheduling = IntradayRescheduling;
     this.State                        = State;
     this.WeekCount                    = WeekCount;
     this.PercentComplete              = PercentComplete;
     this.TargetWeek                   = TargetWeek;
     this.Schedule                     = Schedule;
     this.ScheduleDescription          = ScheduleDescription;
     this.SchedulingStartTime          = SchedulingStartTime;
     this.SchedulingStartedBy          = SchedulingStartedBy;
     this.SchedulingCanceledBy         = SchedulingCanceledBy;
     this.SchedulingCompletedTime      = SchedulingCompletedTime;
     this.MessageCount                 = MessageCount;
     this.MessageSeverityCounts        = MessageSeverityCounts;
     this.ReschedulingOptions          = ReschedulingOptions;
     this.ReschedulingResultExpiration = ReschedulingResultExpiration;
 }