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

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

Upload project files

  • Property mode set to 100644
File size: 6.0 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 Spoke extends \Google\Collection
21{
22 protected $collection_key = 'reasons';
23 /**
24 * @var string
25 */
26 public $createTime;
27 /**
28 * @var string
29 */
30 public $description;
31 /**
32 * @var string
33 */
34 public $group;
35 /**
36 * @var string
37 */
38 public $hub;
39 /**
40 * @var string[]
41 */
42 public $labels;
43 protected $linkedInterconnectAttachmentsType = LinkedInterconnectAttachments::class;
44 protected $linkedInterconnectAttachmentsDataType = '';
45 protected $linkedProducerVpcNetworkType = LinkedProducerVpcNetwork::class;
46 protected $linkedProducerVpcNetworkDataType = '';
47 protected $linkedRouterApplianceInstancesType = LinkedRouterApplianceInstances::class;
48 protected $linkedRouterApplianceInstancesDataType = '';
49 protected $linkedVpcNetworkType = LinkedVpcNetwork::class;
50 protected $linkedVpcNetworkDataType = '';
51 protected $linkedVpnTunnelsType = LinkedVpnTunnels::class;
52 protected $linkedVpnTunnelsDataType = '';
53 /**
54 * @var string
55 */
56 public $name;
57 protected $reasonsType = StateReason::class;
58 protected $reasonsDataType = 'array';
59 /**
60 * @var string
61 */
62 public $spokeType;
63 /**
64 * @var string
65 */
66 public $state;
67 /**
68 * @var string
69 */
70 public $uniqueId;
71 /**
72 * @var string
73 */
74 public $updateTime;
75
76 /**
77 * @param string
78 */
79 public function setCreateTime($createTime)
80 {
81 $this->createTime = $createTime;
82 }
83 /**
84 * @return string
85 */
86 public function getCreateTime()
87 {
88 return $this->createTime;
89 }
90 /**
91 * @param string
92 */
93 public function setDescription($description)
94 {
95 $this->description = $description;
96 }
97 /**
98 * @return string
99 */
100 public function getDescription()
101 {
102 return $this->description;
103 }
104 /**
105 * @param string
106 */
107 public function setGroup($group)
108 {
109 $this->group = $group;
110 }
111 /**
112 * @return string
113 */
114 public function getGroup()
115 {
116 return $this->group;
117 }
118 /**
119 * @param string
120 */
121 public function setHub($hub)
122 {
123 $this->hub = $hub;
124 }
125 /**
126 * @return string
127 */
128 public function getHub()
129 {
130 return $this->hub;
131 }
132 /**
133 * @param string[]
134 */
135 public function setLabels($labels)
136 {
137 $this->labels = $labels;
138 }
139 /**
140 * @return string[]
141 */
142 public function getLabels()
143 {
144 return $this->labels;
145 }
146 /**
147 * @param LinkedInterconnectAttachments
148 */
149 public function setLinkedInterconnectAttachments(LinkedInterconnectAttachments $linkedInterconnectAttachments)
150 {
151 $this->linkedInterconnectAttachments = $linkedInterconnectAttachments;
152 }
153 /**
154 * @return LinkedInterconnectAttachments
155 */
156 public function getLinkedInterconnectAttachments()
157 {
158 return $this->linkedInterconnectAttachments;
159 }
160 /**
161 * @param LinkedProducerVpcNetwork
162 */
163 public function setLinkedProducerVpcNetwork(LinkedProducerVpcNetwork $linkedProducerVpcNetwork)
164 {
165 $this->linkedProducerVpcNetwork = $linkedProducerVpcNetwork;
166 }
167 /**
168 * @return LinkedProducerVpcNetwork
169 */
170 public function getLinkedProducerVpcNetwork()
171 {
172 return $this->linkedProducerVpcNetwork;
173 }
174 /**
175 * @param LinkedRouterApplianceInstances
176 */
177 public function setLinkedRouterApplianceInstances(LinkedRouterApplianceInstances $linkedRouterApplianceInstances)
178 {
179 $this->linkedRouterApplianceInstances = $linkedRouterApplianceInstances;
180 }
181 /**
182 * @return LinkedRouterApplianceInstances
183 */
184 public function getLinkedRouterApplianceInstances()
185 {
186 return $this->linkedRouterApplianceInstances;
187 }
188 /**
189 * @param LinkedVpcNetwork
190 */
191 public function setLinkedVpcNetwork(LinkedVpcNetwork $linkedVpcNetwork)
192 {
193 $this->linkedVpcNetwork = $linkedVpcNetwork;
194 }
195 /**
196 * @return LinkedVpcNetwork
197 */
198 public function getLinkedVpcNetwork()
199 {
200 return $this->linkedVpcNetwork;
201 }
202 /**
203 * @param LinkedVpnTunnels
204 */
205 public function setLinkedVpnTunnels(LinkedVpnTunnels $linkedVpnTunnels)
206 {
207 $this->linkedVpnTunnels = $linkedVpnTunnels;
208 }
209 /**
210 * @return LinkedVpnTunnels
211 */
212 public function getLinkedVpnTunnels()
213 {
214 return $this->linkedVpnTunnels;
215 }
216 /**
217 * @param string
218 */
219 public function setName($name)
220 {
221 $this->name = $name;
222 }
223 /**
224 * @return string
225 */
226 public function getName()
227 {
228 return $this->name;
229 }
230 /**
231 * @param StateReason[]
232 */
233 public function setReasons($reasons)
234 {
235 $this->reasons = $reasons;
236 }
237 /**
238 * @return StateReason[]
239 */
240 public function getReasons()
241 {
242 return $this->reasons;
243 }
244 /**
245 * @param string
246 */
247 public function setSpokeType($spokeType)
248 {
249 $this->spokeType = $spokeType;
250 }
251 /**
252 * @return string
253 */
254 public function getSpokeType()
255 {
256 return $this->spokeType;
257 }
258 /**
259 * @param string
260 */
261 public function setState($state)
262 {
263 $this->state = $state;
264 }
265 /**
266 * @return string
267 */
268 public function getState()
269 {
270 return $this->state;
271 }
272 /**
273 * @param string
274 */
275 public function setUniqueId($uniqueId)
276 {
277 $this->uniqueId = $uniqueId;
278 }
279 /**
280 * @return string
281 */
282 public function getUniqueId()
283 {
284 return $this->uniqueId;
285 }
286 /**
287 * @param string
288 */
289 public function setUpdateTime($updateTime)
290 {
291 $this->updateTime = $updateTime;
292 }
293 /**
294 * @return string
295 */
296 public function getUpdateTime()
297 {
298 return $this->updateTime;
299 }
300}
301
302// Adding a class alias for backwards compatibility with the previous class name.
303class_alias(Spoke::class, 'Google_Service_Networkconnectivity_Spoke');
Note: See TracBrowser for help on using the repository browser.