source: vendor/google/apiclient-services/src/Backupdr/DataSource.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload new project files

  • Property mode set to 100644
File size: 4.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\Backupdr;
19
20class DataSource extends \Google\Model
21{
22 protected $backupConfigInfoType = BackupConfigInfo::class;
23 protected $backupConfigInfoDataType = '';
24 /**
25 * @var string
26 */
27 public $backupCount;
28 /**
29 * @var string
30 */
31 public $configState;
32 /**
33 * @var string
34 */
35 public $createTime;
36 protected $dataSourceBackupApplianceApplicationType = DataSourceBackupApplianceApplication::class;
37 protected $dataSourceBackupApplianceApplicationDataType = '';
38 protected $dataSourceGcpResourceType = DataSourceGcpResource::class;
39 protected $dataSourceGcpResourceDataType = '';
40 /**
41 * @var string
42 */
43 public $etag;
44 /**
45 * @var string[]
46 */
47 public $labels;
48 /**
49 * @var string
50 */
51 public $name;
52 /**
53 * @var string
54 */
55 public $state;
56 /**
57 * @var string
58 */
59 public $totalStoredBytes;
60 /**
61 * @var string
62 */
63 public $updateTime;
64
65 /**
66 * @param BackupConfigInfo
67 */
68 public function setBackupConfigInfo(BackupConfigInfo $backupConfigInfo)
69 {
70 $this->backupConfigInfo = $backupConfigInfo;
71 }
72 /**
73 * @return BackupConfigInfo
74 */
75 public function getBackupConfigInfo()
76 {
77 return $this->backupConfigInfo;
78 }
79 /**
80 * @param string
81 */
82 public function setBackupCount($backupCount)
83 {
84 $this->backupCount = $backupCount;
85 }
86 /**
87 * @return string
88 */
89 public function getBackupCount()
90 {
91 return $this->backupCount;
92 }
93 /**
94 * @param string
95 */
96 public function setConfigState($configState)
97 {
98 $this->configState = $configState;
99 }
100 /**
101 * @return string
102 */
103 public function getConfigState()
104 {
105 return $this->configState;
106 }
107 /**
108 * @param string
109 */
110 public function setCreateTime($createTime)
111 {
112 $this->createTime = $createTime;
113 }
114 /**
115 * @return string
116 */
117 public function getCreateTime()
118 {
119 return $this->createTime;
120 }
121 /**
122 * @param DataSourceBackupApplianceApplication
123 */
124 public function setDataSourceBackupApplianceApplication(DataSourceBackupApplianceApplication $dataSourceBackupApplianceApplication)
125 {
126 $this->dataSourceBackupApplianceApplication = $dataSourceBackupApplianceApplication;
127 }
128 /**
129 * @return DataSourceBackupApplianceApplication
130 */
131 public function getDataSourceBackupApplianceApplication()
132 {
133 return $this->dataSourceBackupApplianceApplication;
134 }
135 /**
136 * @param DataSourceGcpResource
137 */
138 public function setDataSourceGcpResource(DataSourceGcpResource $dataSourceGcpResource)
139 {
140 $this->dataSourceGcpResource = $dataSourceGcpResource;
141 }
142 /**
143 * @return DataSourceGcpResource
144 */
145 public function getDataSourceGcpResource()
146 {
147 return $this->dataSourceGcpResource;
148 }
149 /**
150 * @param string
151 */
152 public function setEtag($etag)
153 {
154 $this->etag = $etag;
155 }
156 /**
157 * @return string
158 */
159 public function getEtag()
160 {
161 return $this->etag;
162 }
163 /**
164 * @param string[]
165 */
166 public function setLabels($labels)
167 {
168 $this->labels = $labels;
169 }
170 /**
171 * @return string[]
172 */
173 public function getLabels()
174 {
175 return $this->labels;
176 }
177 /**
178 * @param string
179 */
180 public function setName($name)
181 {
182 $this->name = $name;
183 }
184 /**
185 * @return string
186 */
187 public function getName()
188 {
189 return $this->name;
190 }
191 /**
192 * @param string
193 */
194 public function setState($state)
195 {
196 $this->state = $state;
197 }
198 /**
199 * @return string
200 */
201 public function getState()
202 {
203 return $this->state;
204 }
205 /**
206 * @param string
207 */
208 public function setTotalStoredBytes($totalStoredBytes)
209 {
210 $this->totalStoredBytes = $totalStoredBytes;
211 }
212 /**
213 * @return string
214 */
215 public function getTotalStoredBytes()
216 {
217 return $this->totalStoredBytes;
218 }
219 /**
220 * @param string
221 */
222 public function setUpdateTime($updateTime)
223 {
224 $this->updateTime = $updateTime;
225 }
226 /**
227 * @return string
228 */
229 public function getUpdateTime()
230 {
231 return $this->updateTime;
232 }
233}
234
235// Adding a class alias for backwards compatibility with the previous class name.
236class_alias(DataSource::class, 'Google_Service_Backupdr_DataSource');
Note: See TracBrowser for help on using the repository browser.