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 |
|
---|
18 | namespace Google\Service\Firestore;
|
---|
19 |
|
---|
20 | class GoogleFirestoreAdminV1BackupSchedule extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $createTime;
|
---|
26 | protected $dailyRecurrenceType = GoogleFirestoreAdminV1DailyRecurrence::class;
|
---|
27 | protected $dailyRecurrenceDataType = '';
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $name;
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $retention;
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $updateTime;
|
---|
40 | protected $weeklyRecurrenceType = GoogleFirestoreAdminV1WeeklyRecurrence::class;
|
---|
41 | protected $weeklyRecurrenceDataType = '';
|
---|
42 |
|
---|
43 | /**
|
---|
44 | * @param string
|
---|
45 | */
|
---|
46 | public function setCreateTime($createTime)
|
---|
47 | {
|
---|
48 | $this->createTime = $createTime;
|
---|
49 | }
|
---|
50 | /**
|
---|
51 | * @return string
|
---|
52 | */
|
---|
53 | public function getCreateTime()
|
---|
54 | {
|
---|
55 | return $this->createTime;
|
---|
56 | }
|
---|
57 | /**
|
---|
58 | * @param GoogleFirestoreAdminV1DailyRecurrence
|
---|
59 | */
|
---|
60 | public function setDailyRecurrence(GoogleFirestoreAdminV1DailyRecurrence $dailyRecurrence)
|
---|
61 | {
|
---|
62 | $this->dailyRecurrence = $dailyRecurrence;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @return GoogleFirestoreAdminV1DailyRecurrence
|
---|
66 | */
|
---|
67 | public function getDailyRecurrence()
|
---|
68 | {
|
---|
69 | return $this->dailyRecurrence;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @param string
|
---|
73 | */
|
---|
74 | public function setName($name)
|
---|
75 | {
|
---|
76 | $this->name = $name;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @return string
|
---|
80 | */
|
---|
81 | public function getName()
|
---|
82 | {
|
---|
83 | return $this->name;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @param string
|
---|
87 | */
|
---|
88 | public function setRetention($retention)
|
---|
89 | {
|
---|
90 | $this->retention = $retention;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @return string
|
---|
94 | */
|
---|
95 | public function getRetention()
|
---|
96 | {
|
---|
97 | return $this->retention;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @param string
|
---|
101 | */
|
---|
102 | public function setUpdateTime($updateTime)
|
---|
103 | {
|
---|
104 | $this->updateTime = $updateTime;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @return string
|
---|
108 | */
|
---|
109 | public function getUpdateTime()
|
---|
110 | {
|
---|
111 | return $this->updateTime;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @param GoogleFirestoreAdminV1WeeklyRecurrence
|
---|
115 | */
|
---|
116 | public function setWeeklyRecurrence(GoogleFirestoreAdminV1WeeklyRecurrence $weeklyRecurrence)
|
---|
117 | {
|
---|
118 | $this->weeklyRecurrence = $weeklyRecurrence;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @return GoogleFirestoreAdminV1WeeklyRecurrence
|
---|
122 | */
|
---|
123 | public function getWeeklyRecurrence()
|
---|
124 | {
|
---|
125 | return $this->weeklyRecurrence;
|
---|
126 | }
|
---|
127 | }
|
---|
128 |
|
---|
129 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
130 | class_alias(GoogleFirestoreAdminV1BackupSchedule::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1BackupSchedule');
|
---|