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\NetworkManagement;
19
20class ConnectivityTest extends \Google\Collection
21{
22  protected $collection_key = 'relatedProjects';
23  /**
24   * @var string
25   */
26  public $createTime;
27  /**
28   * @var string
29   */
30  public $description;
31  protected $destinationType = Endpoint::class;
32  protected $destinationDataType = '';
33  /**
34   * @var string
35   */
36  public $displayName;
37  /**
38   * @var string[]
39   */
40  public $labels;
41  /**
42   * @var string
43   */
44  public $name;
45  /**
46   * @var string
47   */
48  public $protocol;
49  protected $reachabilityDetailsType = ReachabilityDetails::class;
50  protected $reachabilityDetailsDataType = '';
51  /**
52   * @var string[]
53   */
54  public $relatedProjects;
55  protected $sourceType = Endpoint::class;
56  protected $sourceDataType = '';
57  /**
58   * @var string
59   */
60  public $updateTime;
61
62  /**
63   * @param string
64   */
65  public function setCreateTime($createTime)
66  {
67    $this->createTime = $createTime;
68  }
69  /**
70   * @return string
71   */
72  public function getCreateTime()
73  {
74    return $this->createTime;
75  }
76  /**
77   * @param string
78   */
79  public function setDescription($description)
80  {
81    $this->description = $description;
82  }
83  /**
84   * @return string
85   */
86  public function getDescription()
87  {
88    return $this->description;
89  }
90  /**
91   * @param Endpoint
92   */
93  public function setDestination(Endpoint $destination)
94  {
95    $this->destination = $destination;
96  }
97  /**
98   * @return Endpoint
99   */
100  public function getDestination()
101  {
102    return $this->destination;
103  }
104  /**
105   * @param string
106   */
107  public function setDisplayName($displayName)
108  {
109    $this->displayName = $displayName;
110  }
111  /**
112   * @return string
113   */
114  public function getDisplayName()
115  {
116    return $this->displayName;
117  }
118  /**
119   * @param string[]
120   */
121  public function setLabels($labels)
122  {
123    $this->labels = $labels;
124  }
125  /**
126   * @return string[]
127   */
128  public function getLabels()
129  {
130    return $this->labels;
131  }
132  /**
133   * @param string
134   */
135  public function setName($name)
136  {
137    $this->name = $name;
138  }
139  /**
140   * @return string
141   */
142  public function getName()
143  {
144    return $this->name;
145  }
146  /**
147   * @param string
148   */
149  public function setProtocol($protocol)
150  {
151    $this->protocol = $protocol;
152  }
153  /**
154   * @return string
155   */
156  public function getProtocol()
157  {
158    return $this->protocol;
159  }
160  /**
161   * @param ReachabilityDetails
162   */
163  public function setReachabilityDetails(ReachabilityDetails $reachabilityDetails)
164  {
165    $this->reachabilityDetails = $reachabilityDetails;
166  }
167  /**
168   * @return ReachabilityDetails
169   */
170  public function getReachabilityDetails()
171  {
172    return $this->reachabilityDetails;
173  }
174  /**
175   * @param string[]
176   */
177  public function setRelatedProjects($relatedProjects)
178  {
179    $this->relatedProjects = $relatedProjects;
180  }
181  /**
182   * @return string[]
183   */
184  public function getRelatedProjects()
185  {
186    return $this->relatedProjects;
187  }
188  /**
189   * @param Endpoint
190   */
191  public function setSource(Endpoint $source)
192  {
193    $this->source = $source;
194  }
195  /**
196   * @return Endpoint
197   */
198  public function getSource()
199  {
200    return $this->source;
201  }
202  /**
203   * @param string
204   */
205  public function setUpdateTime($updateTime)
206  {
207    $this->updateTime = $updateTime;
208  }
209  /**
210   * @return string
211   */
212  public function getUpdateTime()
213  {
214    return $this->updateTime;
215  }
216}
217
218// Adding a class alias for backwards compatibility with the previous class name.
219class_alias(ConnectivityTest::class, 'Google_Service_NetworkManagement_ConnectivityTest');
220