コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuGenerateScheduleRequest" /> class.
 /// </summary>
 /// <param name="Description">The description for the schedule (required).</param>
 /// <param name="ShortTermForecast">The forecast to use when generating the schedule.  Note that the forecast must fully encompass the schedule's start week + week count.</param>
 /// <param name="WeekCount">The number of weeks in the schedule. One extra day is added at the end (required).</param>
 /// <param name="Options">Additional scheduling options.</param>
 public BuGenerateScheduleRequest(string Description = null, BuShortTermForecastReference ShortTermForecast = null, int?WeekCount = null, SchedulingOptionsRequest Options = null)
 {
     this.Description       = Description;
     this.ShortTermForecast = ShortTermForecast;
     this.WeekCount         = WeekCount;
     this.Options           = Options;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuCreateBlankScheduleRequest" /> class.
 /// </summary>
 /// <param name="Description">The description for the schedule (required).</param>
 /// <param name="ShortTermForecast">The forecast to use when generating the schedule.  Note that the forecast must fully encompass the schedule's start week + week count.</param>
 /// <param name="WeekCount">The number of weeks in the schedule. One extra day is added at the end (required).</param>
 public BuCreateBlankScheduleRequest(string Description = null, BuShortTermForecastReference ShortTermForecast = null, int?WeekCount = null)
 {
     this.Description       = Description;
     this.ShortTermForecast = ShortTermForecast;
     this.WeekCount         = WeekCount;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateScheduleUploadSchema" /> class.
 /// </summary>
 /// <param name="Description">The description to set for the schedule.</param>
 /// <param name="Published">Whether to publish the schedule. Note: a schedule cannot be un-published unless another schedule is published over it.</param>
 /// <param name="ShortTermForecast">The short term forecast to associate with the schedule.</param>
 /// <param name="HeadcountForecast">The headcount forecast to associate with the schedule.</param>
 /// <param name="AgentSchedules">Individual agent schedules.</param>
 /// <param name="Metadata">Version metadata for this schedule (required).</param>
 public UpdateScheduleUploadSchema(string Description = null, bool?Published = null, BuShortTermForecastReference ShortTermForecast = null, BuHeadcountForecast HeadcountForecast = null, List <BuUpdateAgentScheduleUploadSchema> AgentSchedules = null, WfmVersionedEntityMetadata Metadata = null)
 {
     this.Description       = Description;
     this.Published         = Published;
     this.ShortTermForecast = ShortTermForecast;
     this.HeadcountForecast = HeadcountForecast;
     this.AgentSchedules    = AgentSchedules;
     this.Metadata          = Metadata;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImportScheduleUploadSchema" /> class.
 /// </summary>
 /// <param name="Description">The description for the imported schedule (required).</param>
 /// <param name="WeekCount">The number of weeks the imported schedule will cover (required).</param>
 /// <param name="Published">Whether the imported schedule should be immediately published.</param>
 /// <param name="ShortTermForecast">The short term forecast to associate with the imported schedule.</param>
 /// <param name="HeadcountForecast">The headcount forecast to associate with the imported schedule.</param>
 /// <param name="AgentSchedules">Individual agent schedules.</param>
 public ImportScheduleUploadSchema(string Description = null, int?WeekCount = null, bool?Published = null, BuShortTermForecastReference ShortTermForecast = null, BuHeadcountForecast HeadcountForecast = null, List <BuImportAgentScheduleUploadSchema> AgentSchedules = null)
 {
     this.Description       = Description;
     this.WeekCount         = WeekCount;
     this.Published         = Published;
     this.ShortTermForecast = ShortTermForecast;
     this.HeadcountForecast = HeadcountForecast;
     this.AgentSchedules    = AgentSchedules;
 }
コード例 #5
0
 /// <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;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuScheduleListItem" /> class.
 /// </summary>
 /// <param name="WeekDate">The start week date for this schedule. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd.</param>
 /// <param name="WeekCount">The number of weeks spanned by this schedule.</param>
 /// <param name="Description">The description of this schedule.</param>
 /// <param name="Published">Whether this schedule is published.</param>
 /// <param name="ShortTermForecast">The forecast used for this schedule, if applicable.</param>
 /// <param name="GenerationResults">Generation result summary for this schedule, if applicable.</param>
 /// <param name="Metadata">Version metadata for this schedule.</param>
 public BuScheduleListItem(String WeekDate = null, int?WeekCount = null, string Description = null, bool?Published = null, BuShortTermForecastReference ShortTermForecast = null, ScheduleGenerationResultSummary GenerationResults = null, WfmVersionedEntityMetadata Metadata = null)
 {
     this.WeekDate          = WeekDate;
     this.WeekCount         = WeekCount;
     this.Description       = Description;
     this.Published         = Published;
     this.ShortTermForecast = ShortTermForecast;
     this.GenerationResults = GenerationResults;
     this.Metadata          = Metadata;
 }