예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateWeekScheduleRequest" /> class.
 /// </summary>
 /// <param name="Description">Description of the week schedule.</param>
 /// <param name="Published">Whether the week schedule is published.</param>
 /// <param name="UserSchedules">User schedules in the week.</param>
 /// <param name="PartialUploadIds">IDs of partial uploads to include in this imported schedule. It is applicable only for large schedules where activity count in schedule is greater than 17500.</param>
 /// <param name="Metadata">Version metadata for this work plan (required).</param>
 /// <param name="AgentSchedulesVersion">Version of agent schedules in the week schedule (required).</param>
 /// <param name="ShortTermForecast">Reference to optionally point the schedule at a new short term forecast.</param>
 /// <param name="HeadcountForecast">The headcount forecast associated with the schedule.  If not null, existing values will be irrecoverably replaced.</param>
 /// <param name="AgentUpdateFilter">For a published schedule, this determines whether a notification will be shown to agents in the default PureCloud user interface.  The CPC notification will always be sent and the value specified here affects what data is returned in the &#39;updates&#39; property.  In the default PureCloud UI, \&quot;None\&quot; means that agents will not be notified, \&quot;ShiftTimesOnly\&quot; means agents will only be notified for changes to shift start and end times,  and \&quot;All\&quot; means that agents will be notified for any change to a shift or activity (except for full day off activities).  When building a custom client, use this property to specify the level of detail you need. Defaults to \&quot;ShiftTimesOnly\&quot;..</param>
 public UpdateWeekScheduleRequest(string Description = null, bool?Published = null, Dictionary <string, UserSchedule> UserSchedules = null, List <string> PartialUploadIds = null, WfmVersionedEntityMetadata Metadata = null, int?AgentSchedulesVersion = null, ShortTermForecastReference ShortTermForecast = null, HeadcountForecast HeadcountForecast = null, AgentUpdateFilterEnum?AgentUpdateFilter = null)
 {
     this.Description           = Description;
     this.Published             = Published;
     this.UserSchedules         = UserSchedules;
     this.PartialUploadIds      = PartialUploadIds;
     this.Metadata              = Metadata;
     this.AgentSchedulesVersion = AgentSchedulesVersion;
     this.ShortTermForecast     = ShortTermForecast;
     this.HeadcountForecast     = HeadcountForecast;
     this.AgentUpdateFilter     = AgentUpdateFilter;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WeekSchedule" /> class.
 /// </summary>
 /// <param name="WeekDate">First day of this week schedule in yyyy-MM-dd format.</param>
 /// <param name="Description">Description of the week schedule.</param>
 /// <param name="Published">Whether the week schedule is published.</param>
 /// <param name="GenerationResults">Summary of the results from the schedule run.</param>
 /// <param name="ShortTermForecast">Short term forecast associated with this schedule.</param>
 /// <param name="Metadata">Version metadata for this work plan.</param>
 /// <param name="UserSchedules">User schedules in the week.</param>
 /// <param name="HeadcountForecast">Headcount information for the week schedule.</param>
 /// <param name="AgentSchedulesVersion">Version of agent schedules in the week schedule.</param>
 public WeekSchedule(string WeekDate = null, string Description = null, bool?Published = null, WeekScheduleGenerationResult GenerationResults = null, ShortTermForecastReference ShortTermForecast = null, WfmVersionedEntityMetadata Metadata = null, Dictionary <string, UserSchedule> UserSchedules = null, HeadcountForecast HeadcountForecast = null, int?AgentSchedulesVersion = null)
 {
     this.WeekDate              = WeekDate;
     this.Description           = Description;
     this.Published             = Published;
     this.GenerationResults     = GenerationResults;
     this.ShortTermForecast     = ShortTermForecast;
     this.Metadata              = Metadata;
     this.UserSchedules         = UserSchedules;
     this.HeadcountForecast     = HeadcountForecast;
     this.AgentSchedulesVersion = AgentSchedulesVersion;
 }