source: vendor/google/apiclient-services/src/Sheets/DataSourceRefreshSchedule.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 3.0 KB
Line 
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\Sheets;
19
20class DataSourceRefreshSchedule extends \Google\Model
21{
22 protected $dailyScheduleType = DataSourceRefreshDailySchedule::class;
23 protected $dailyScheduleDataType = '';
24 /**
25 * @var bool
26 */
27 public $enabled;
28 protected $monthlyScheduleType = DataSourceRefreshMonthlySchedule::class;
29 protected $monthlyScheduleDataType = '';
30 protected $nextRunType = Interval::class;
31 protected $nextRunDataType = '';
32 /**
33 * @var string
34 */
35 public $refreshScope;
36 protected $weeklyScheduleType = DataSourceRefreshWeeklySchedule::class;
37 protected $weeklyScheduleDataType = '';
38
39 /**
40 * @param DataSourceRefreshDailySchedule
41 */
42 public function setDailySchedule(DataSourceRefreshDailySchedule $dailySchedule)
43 {
44 $this->dailySchedule = $dailySchedule;
45 }
46 /**
47 * @return DataSourceRefreshDailySchedule
48 */
49 public function getDailySchedule()
50 {
51 return $this->dailySchedule;
52 }
53 /**
54 * @param bool
55 */
56 public function setEnabled($enabled)
57 {
58 $this->enabled = $enabled;
59 }
60 /**
61 * @return bool
62 */
63 public function getEnabled()
64 {
65 return $this->enabled;
66 }
67 /**
68 * @param DataSourceRefreshMonthlySchedule
69 */
70 public function setMonthlySchedule(DataSourceRefreshMonthlySchedule $monthlySchedule)
71 {
72 $this->monthlySchedule = $monthlySchedule;
73 }
74 /**
75 * @return DataSourceRefreshMonthlySchedule
76 */
77 public function getMonthlySchedule()
78 {
79 return $this->monthlySchedule;
80 }
81 /**
82 * @param Interval
83 */
84 public function setNextRun(Interval $nextRun)
85 {
86 $this->nextRun = $nextRun;
87 }
88 /**
89 * @return Interval
90 */
91 public function getNextRun()
92 {
93 return $this->nextRun;
94 }
95 /**
96 * @param string
97 */
98 public function setRefreshScope($refreshScope)
99 {
100 $this->refreshScope = $refreshScope;
101 }
102 /**
103 * @return string
104 */
105 public function getRefreshScope()
106 {
107 return $this->refreshScope;
108 }
109 /**
110 * @param DataSourceRefreshWeeklySchedule
111 */
112 public function setWeeklySchedule(DataSourceRefreshWeeklySchedule $weeklySchedule)
113 {
114 $this->weeklySchedule = $weeklySchedule;
115 }
116 /**
117 * @return DataSourceRefreshWeeklySchedule
118 */
119 public function getWeeklySchedule()
120 {
121 return $this->weeklySchedule;
122 }
123}
124
125// Adding a class alias for backwards compatibility with the previous class name.
126class_alias(DataSourceRefreshSchedule::class, 'Google_Service_Sheets_DataSourceRefreshSchedule');
Note: See TracBrowser for help on using the repository browser.