1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\OSConfig;
19
20class RecurringSchedule extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $endTime;
26  /**
27   * @var string
28   */
29  public $frequency;
30  /**
31   * @var string
32   */
33  public $lastExecuteTime;
34  protected $monthlyType = MonthlySchedule::class;
35  protected $monthlyDataType = '';
36  /**
37   * @var string
38   */
39  public $nextExecuteTime;
40  /**
41   * @var string
42   */
43  public $startTime;
44  protected $timeOfDayType = TimeOfDay::class;
45  protected $timeOfDayDataType = '';
46  protected $timeZoneType = TimeZone::class;
47  protected $timeZoneDataType = '';
48  protected $weeklyType = WeeklySchedule::class;
49  protected $weeklyDataType = '';
50
51  /**
52   * @param string
53   */
54  public function setEndTime($endTime)
55  {
56    $this->endTime = $endTime;
57  }
58  /**
59   * @return string
60   */
61  public function getEndTime()
62  {
63    return $this->endTime;
64  }
65  /**
66   * @param string
67   */
68  public function setFrequency($frequency)
69  {
70    $this->frequency = $frequency;
71  }
72  /**
73   * @return string
74   */
75  public function getFrequency()
76  {
77    return $this->frequency;
78  }
79  /**
80   * @param string
81   */
82  public function setLastExecuteTime($lastExecuteTime)
83  {
84    $this->lastExecuteTime = $lastExecuteTime;
85  }
86  /**
87   * @return string
88   */
89  public function getLastExecuteTime()
90  {
91    return $this->lastExecuteTime;
92  }
93  /**
94   * @param MonthlySchedule
95   */
96  public function setMonthly(MonthlySchedule $monthly)
97  {
98    $this->monthly = $monthly;
99  }
100  /**
101   * @return MonthlySchedule
102   */
103  public function getMonthly()
104  {
105    return $this->monthly;
106  }
107  /**
108   * @param string
109   */
110  public function setNextExecuteTime($nextExecuteTime)
111  {
112    $this->nextExecuteTime = $nextExecuteTime;
113  }
114  /**
115   * @return string
116   */
117  public function getNextExecuteTime()
118  {
119    return $this->nextExecuteTime;
120  }
121  /**
122   * @param string
123   */
124  public function setStartTime($startTime)
125  {
126    $this->startTime = $startTime;
127  }
128  /**
129   * @return string
130   */
131  public function getStartTime()
132  {
133    return $this->startTime;
134  }
135  /**
136   * @param TimeOfDay
137   */
138  public function setTimeOfDay(TimeOfDay $timeOfDay)
139  {
140    $this->timeOfDay = $timeOfDay;
141  }
142  /**
143   * @return TimeOfDay
144   */
145  public function getTimeOfDay()
146  {
147    return $this->timeOfDay;
148  }
149  /**
150   * @param TimeZone
151   */
152  public function setTimeZone(TimeZone $timeZone)
153  {
154    $this->timeZone = $timeZone;
155  }
156  /**
157   * @return TimeZone
158   */
159  public function getTimeZone()
160  {
161    return $this->timeZone;
162  }
163  /**
164   * @param WeeklySchedule
165   */
166  public function setWeekly(WeeklySchedule $weekly)
167  {
168    $this->weekly = $weekly;
169  }
170  /**
171   * @return WeeklySchedule
172   */
173  public function getWeekly()
174  {
175    return $this->weekly;
176  }
177}
178
179// Adding a class alias for backwards compatibility with the previous class name.
180class_alias(RecurringSchedule::class, 'Google_Service_OSConfig_RecurringSchedule');
181