source: vendor/google/apiclient-services/src/NetAppFiles/SnapshotPolicy.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: 2.6 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\NetAppFiles;
19
20class SnapshotPolicy extends \Google\Model
21{
22 protected $dailyScheduleType = DailySchedule::class;
23 protected $dailyScheduleDataType = '';
24 /**
25 * @var bool
26 */
27 public $enabled;
28 protected $hourlyScheduleType = HourlySchedule::class;
29 protected $hourlyScheduleDataType = '';
30 protected $monthlyScheduleType = MonthlySchedule::class;
31 protected $monthlyScheduleDataType = '';
32 protected $weeklyScheduleType = WeeklySchedule::class;
33 protected $weeklyScheduleDataType = '';
34
35 /**
36 * @param DailySchedule
37 */
38 public function setDailySchedule(DailySchedule $dailySchedule)
39 {
40 $this->dailySchedule = $dailySchedule;
41 }
42 /**
43 * @return DailySchedule
44 */
45 public function getDailySchedule()
46 {
47 return $this->dailySchedule;
48 }
49 /**
50 * @param bool
51 */
52 public function setEnabled($enabled)
53 {
54 $this->enabled = $enabled;
55 }
56 /**
57 * @return bool
58 */
59 public function getEnabled()
60 {
61 return $this->enabled;
62 }
63 /**
64 * @param HourlySchedule
65 */
66 public function setHourlySchedule(HourlySchedule $hourlySchedule)
67 {
68 $this->hourlySchedule = $hourlySchedule;
69 }
70 /**
71 * @return HourlySchedule
72 */
73 public function getHourlySchedule()
74 {
75 return $this->hourlySchedule;
76 }
77 /**
78 * @param MonthlySchedule
79 */
80 public function setMonthlySchedule(MonthlySchedule $monthlySchedule)
81 {
82 $this->monthlySchedule = $monthlySchedule;
83 }
84 /**
85 * @return MonthlySchedule
86 */
87 public function getMonthlySchedule()
88 {
89 return $this->monthlySchedule;
90 }
91 /**
92 * @param WeeklySchedule
93 */
94 public function setWeeklySchedule(WeeklySchedule $weeklySchedule)
95 {
96 $this->weeklySchedule = $weeklySchedule;
97 }
98 /**
99 * @return WeeklySchedule
100 */
101 public function getWeeklySchedule()
102 {
103 return $this->weeklySchedule;
104 }
105}
106
107// Adding a class alias for backwards compatibility with the previous class name.
108class_alias(SnapshotPolicy::class, 'Google_Service_NetAppFiles_SnapshotPolicy');
Note: See TracBrowser for help on using the repository browser.