source: vendor/google/apiclient-services/src/Networkconnectivity/Route.php

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

Upload project files

  • Property mode set to 100644
File size: 5.7 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\Networkconnectivity;
19
20class Route extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $createTime;
26 /**
27 * @var string
28 */
29 public $description;
30 /**
31 * @var string
32 */
33 public $ipCidrRange;
34 /**
35 * @var string[]
36 */
37 public $labels;
38 /**
39 * @var string
40 */
41 public $location;
42 /**
43 * @var string
44 */
45 public $name;
46 protected $nextHopInterconnectAttachmentType = NextHopInterconnectAttachment::class;
47 protected $nextHopInterconnectAttachmentDataType = '';
48 protected $nextHopRouterApplianceInstanceType = NextHopRouterApplianceInstance::class;
49 protected $nextHopRouterApplianceInstanceDataType = '';
50 protected $nextHopVpcNetworkType = NextHopVpcNetwork::class;
51 protected $nextHopVpcNetworkDataType = '';
52 protected $nextHopVpnTunnelType = NextHopVPNTunnel::class;
53 protected $nextHopVpnTunnelDataType = '';
54 /**
55 * @var string
56 */
57 public $priority;
58 /**
59 * @var string
60 */
61 public $spoke;
62 /**
63 * @var string
64 */
65 public $state;
66 /**
67 * @var string
68 */
69 public $type;
70 /**
71 * @var string
72 */
73 public $uid;
74 /**
75 * @var string
76 */
77 public $updateTime;
78
79 /**
80 * @param string
81 */
82 public function setCreateTime($createTime)
83 {
84 $this->createTime = $createTime;
85 }
86 /**
87 * @return string
88 */
89 public function getCreateTime()
90 {
91 return $this->createTime;
92 }
93 /**
94 * @param string
95 */
96 public function setDescription($description)
97 {
98 $this->description = $description;
99 }
100 /**
101 * @return string
102 */
103 public function getDescription()
104 {
105 return $this->description;
106 }
107 /**
108 * @param string
109 */
110 public function setIpCidrRange($ipCidrRange)
111 {
112 $this->ipCidrRange = $ipCidrRange;
113 }
114 /**
115 * @return string
116 */
117 public function getIpCidrRange()
118 {
119 return $this->ipCidrRange;
120 }
121 /**
122 * @param string[]
123 */
124 public function setLabels($labels)
125 {
126 $this->labels = $labels;
127 }
128 /**
129 * @return string[]
130 */
131 public function getLabels()
132 {
133 return $this->labels;
134 }
135 /**
136 * @param string
137 */
138 public function setLocation($location)
139 {
140 $this->location = $location;
141 }
142 /**
143 * @return string
144 */
145 public function getLocation()
146 {
147 return $this->location;
148 }
149 /**
150 * @param string
151 */
152 public function setName($name)
153 {
154 $this->name = $name;
155 }
156 /**
157 * @return string
158 */
159 public function getName()
160 {
161 return $this->name;
162 }
163 /**
164 * @param NextHopInterconnectAttachment
165 */
166 public function setNextHopInterconnectAttachment(NextHopInterconnectAttachment $nextHopInterconnectAttachment)
167 {
168 $this->nextHopInterconnectAttachment = $nextHopInterconnectAttachment;
169 }
170 /**
171 * @return NextHopInterconnectAttachment
172 */
173 public function getNextHopInterconnectAttachment()
174 {
175 return $this->nextHopInterconnectAttachment;
176 }
177 /**
178 * @param NextHopRouterApplianceInstance
179 */
180 public function setNextHopRouterApplianceInstance(NextHopRouterApplianceInstance $nextHopRouterApplianceInstance)
181 {
182 $this->nextHopRouterApplianceInstance = $nextHopRouterApplianceInstance;
183 }
184 /**
185 * @return NextHopRouterApplianceInstance
186 */
187 public function getNextHopRouterApplianceInstance()
188 {
189 return $this->nextHopRouterApplianceInstance;
190 }
191 /**
192 * @param NextHopVpcNetwork
193 */
194 public function setNextHopVpcNetwork(NextHopVpcNetwork $nextHopVpcNetwork)
195 {
196 $this->nextHopVpcNetwork = $nextHopVpcNetwork;
197 }
198 /**
199 * @return NextHopVpcNetwork
200 */
201 public function getNextHopVpcNetwork()
202 {
203 return $this->nextHopVpcNetwork;
204 }
205 /**
206 * @param NextHopVPNTunnel
207 */
208 public function setNextHopVpnTunnel(NextHopVPNTunnel $nextHopVpnTunnel)
209 {
210 $this->nextHopVpnTunnel = $nextHopVpnTunnel;
211 }
212 /**
213 * @return NextHopVPNTunnel
214 */
215 public function getNextHopVpnTunnel()
216 {
217 return $this->nextHopVpnTunnel;
218 }
219 /**
220 * @param string
221 */
222 public function setPriority($priority)
223 {
224 $this->priority = $priority;
225 }
226 /**
227 * @return string
228 */
229 public function getPriority()
230 {
231 return $this->priority;
232 }
233 /**
234 * @param string
235 */
236 public function setSpoke($spoke)
237 {
238 $this->spoke = $spoke;
239 }
240 /**
241 * @return string
242 */
243 public function getSpoke()
244 {
245 return $this->spoke;
246 }
247 /**
248 * @param string
249 */
250 public function setState($state)
251 {
252 $this->state = $state;
253 }
254 /**
255 * @return string
256 */
257 public function getState()
258 {
259 return $this->state;
260 }
261 /**
262 * @param string
263 */
264 public function setType($type)
265 {
266 $this->type = $type;
267 }
268 /**
269 * @return string
270 */
271 public function getType()
272 {
273 return $this->type;
274 }
275 /**
276 * @param string
277 */
278 public function setUid($uid)
279 {
280 $this->uid = $uid;
281 }
282 /**
283 * @return string
284 */
285 public function getUid()
286 {
287 return $this->uid;
288 }
289 /**
290 * @param string
291 */
292 public function setUpdateTime($updateTime)
293 {
294 $this->updateTime = $updateTime;
295 }
296 /**
297 * @return string
298 */
299 public function getUpdateTime()
300 {
301 return $this->updateTime;
302 }
303}
304
305// Adding a class alias for backwards compatibility with the previous class name.
306class_alias(Route::class, 'Google_Service_Networkconnectivity_Route');
Note: See TracBrowser for help on using the repository browser.