/// <summary>
 /// Initializes a new instance of the SimpleSchedulePolicyV2 class.
 /// </summary>
 /// <param name="scheduleRunFrequency">Frequency of the schedule
 /// operation of this policy. Possible values include: 'Invalid',
 /// 'Daily', 'Weekly', 'Hourly'</param>
 /// <param name="hourlySchedule">hourly schedule of this policy</param>
 /// <param name="dailySchedule">Daily schedule of this policy</param>
 /// <param name="weeklySchedule">Weekly schedule of this policy</param>
 public SimpleSchedulePolicyV2(string scheduleRunFrequency = default(string), HourlySchedule hourlySchedule = default(HourlySchedule), DailySchedule dailySchedule = default(DailySchedule), WeeklySchedule weeklySchedule = default(WeeklySchedule))
 {
     ScheduleRunFrequency = scheduleRunFrequency;
     HourlySchedule       = hourlySchedule;
     DailySchedule        = dailySchedule;
     WeeklySchedule       = weeklySchedule;
     CustomInit();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the SimpleSchedulePolicy class.
 /// </summary>
 /// <param name="scheduleRunFrequency">Frequency of the schedule
 /// operation of this policy. Possible values include: 'Invalid',
 /// 'Daily', 'Weekly', 'Hourly'</param>
 /// <param name="scheduleRunDays">List of days of week this schedule
 /// has to be run.</param>
 /// <param name="scheduleRunTimes">List of times of day this schedule
 /// has to be run.</param>
 /// <param name="hourlySchedule">Hourly Schedule of this Policy</param>
 /// <param name="scheduleWeeklyFrequency">At every number weeks this
 /// schedule has to be run.</param>
 public SimpleSchedulePolicy(string scheduleRunFrequency = default(string), IList <DayOfWeek?> scheduleRunDays = default(IList <DayOfWeek?>), IList <System.DateTime?> scheduleRunTimes = default(IList <System.DateTime?>), HourlySchedule hourlySchedule = default(HourlySchedule), int?scheduleWeeklyFrequency = default(int?))
 {
     ScheduleRunFrequency    = scheduleRunFrequency;
     ScheduleRunDays         = scheduleRunDays;
     ScheduleRunTimes        = scheduleRunTimes;
     HourlySchedule          = hourlySchedule;
     ScheduleWeeklyFrequency = scheduleWeeklyFrequency;
     CustomInit();
 }