source: vendor/google/apiclient-services/src/Baremetalsolution/Network.php@ f9c482b

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

Upload new project files

  • Property mode set to 100644
File size: 5.4 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\Baremetalsolution;
19
20class Network extends \Google\Collection
21{
22 protected $collection_key = 'reservations';
23 /**
24 * @var string
25 */
26 public $cidr;
27 /**
28 * @var string
29 */
30 public $gatewayIp;
31 /**
32 * @var string
33 */
34 public $id;
35 /**
36 * @var string
37 */
38 public $ipAddress;
39 /**
40 * @var bool
41 */
42 public $jumboFramesEnabled;
43 /**
44 * @var string[]
45 */
46 public $labels;
47 /**
48 * @var string[]
49 */
50 public $macAddress;
51 protected $mountPointsType = NetworkMountPoint::class;
52 protected $mountPointsDataType = 'array';
53 /**
54 * @var string
55 */
56 public $name;
57 /**
58 * @var string
59 */
60 public $pod;
61 protected $reservationsType = NetworkAddressReservation::class;
62 protected $reservationsDataType = 'array';
63 /**
64 * @var string
65 */
66 public $servicesCidr;
67 /**
68 * @var string
69 */
70 public $state;
71 /**
72 * @var string
73 */
74 public $type;
75 /**
76 * @var string
77 */
78 public $vlanId;
79 protected $vrfType = VRF::class;
80 protected $vrfDataType = '';
81 /**
82 * @var string
83 */
84 public $vrfAttachment;
85
86 /**
87 * @param string
88 */
89 public function setCidr($cidr)
90 {
91 $this->cidr = $cidr;
92 }
93 /**
94 * @return string
95 */
96 public function getCidr()
97 {
98 return $this->cidr;
99 }
100 /**
101 * @param string
102 */
103 public function setGatewayIp($gatewayIp)
104 {
105 $this->gatewayIp = $gatewayIp;
106 }
107 /**
108 * @return string
109 */
110 public function getGatewayIp()
111 {
112 return $this->gatewayIp;
113 }
114 /**
115 * @param string
116 */
117 public function setId($id)
118 {
119 $this->id = $id;
120 }
121 /**
122 * @return string
123 */
124 public function getId()
125 {
126 return $this->id;
127 }
128 /**
129 * @param string
130 */
131 public function setIpAddress($ipAddress)
132 {
133 $this->ipAddress = $ipAddress;
134 }
135 /**
136 * @return string
137 */
138 public function getIpAddress()
139 {
140 return $this->ipAddress;
141 }
142 /**
143 * @param bool
144 */
145 public function setJumboFramesEnabled($jumboFramesEnabled)
146 {
147 $this->jumboFramesEnabled = $jumboFramesEnabled;
148 }
149 /**
150 * @return bool
151 */
152 public function getJumboFramesEnabled()
153 {
154 return $this->jumboFramesEnabled;
155 }
156 /**
157 * @param string[]
158 */
159 public function setLabels($labels)
160 {
161 $this->labels = $labels;
162 }
163 /**
164 * @return string[]
165 */
166 public function getLabels()
167 {
168 return $this->labels;
169 }
170 /**
171 * @param string[]
172 */
173 public function setMacAddress($macAddress)
174 {
175 $this->macAddress = $macAddress;
176 }
177 /**
178 * @return string[]
179 */
180 public function getMacAddress()
181 {
182 return $this->macAddress;
183 }
184 /**
185 * @param NetworkMountPoint[]
186 */
187 public function setMountPoints($mountPoints)
188 {
189 $this->mountPoints = $mountPoints;
190 }
191 /**
192 * @return NetworkMountPoint[]
193 */
194 public function getMountPoints()
195 {
196 return $this->mountPoints;
197 }
198 /**
199 * @param string
200 */
201 public function setName($name)
202 {
203 $this->name = $name;
204 }
205 /**
206 * @return string
207 */
208 public function getName()
209 {
210 return $this->name;
211 }
212 /**
213 * @param string
214 */
215 public function setPod($pod)
216 {
217 $this->pod = $pod;
218 }
219 /**
220 * @return string
221 */
222 public function getPod()
223 {
224 return $this->pod;
225 }
226 /**
227 * @param NetworkAddressReservation[]
228 */
229 public function setReservations($reservations)
230 {
231 $this->reservations = $reservations;
232 }
233 /**
234 * @return NetworkAddressReservation[]
235 */
236 public function getReservations()
237 {
238 return $this->reservations;
239 }
240 /**
241 * @param string
242 */
243 public function setServicesCidr($servicesCidr)
244 {
245 $this->servicesCidr = $servicesCidr;
246 }
247 /**
248 * @return string
249 */
250 public function getServicesCidr()
251 {
252 return $this->servicesCidr;
253 }
254 /**
255 * @param string
256 */
257 public function setState($state)
258 {
259 $this->state = $state;
260 }
261 /**
262 * @return string
263 */
264 public function getState()
265 {
266 return $this->state;
267 }
268 /**
269 * @param string
270 */
271 public function setType($type)
272 {
273 $this->type = $type;
274 }
275 /**
276 * @return string
277 */
278 public function getType()
279 {
280 return $this->type;
281 }
282 /**
283 * @param string
284 */
285 public function setVlanId($vlanId)
286 {
287 $this->vlanId = $vlanId;
288 }
289 /**
290 * @return string
291 */
292 public function getVlanId()
293 {
294 return $this->vlanId;
295 }
296 /**
297 * @param VRF
298 */
299 public function setVrf(VRF $vrf)
300 {
301 $this->vrf = $vrf;
302 }
303 /**
304 * @return VRF
305 */
306 public function getVrf()
307 {
308 return $this->vrf;
309 }
310 /**
311 * @param string
312 */
313 public function setVrfAttachment($vrfAttachment)
314 {
315 $this->vrfAttachment = $vrfAttachment;
316 }
317 /**
318 * @return string
319 */
320 public function getVrfAttachment()
321 {
322 return $this->vrfAttachment;
323 }
324}
325
326// Adding a class alias for backwards compatibility with the previous class name.
327class_alias(Network::class, 'Google_Service_Baremetalsolution_Network');
Note: See TracBrowser for help on using the repository browser.