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
18class Google_Service_TrafficDirectorService_Node extends Google_Collection
19{
20  protected $collection_key = 'listeningAddresses';
21  public $buildVersion;
22  public $clientFeatures;
23  public $cluster;
24  protected $extensionsType = 'Google_Service_TrafficDirectorService_Extension';
25  protected $extensionsDataType = 'array';
26  public $id;
27  protected $listeningAddressesType = 'Google_Service_TrafficDirectorService_Address';
28  protected $listeningAddressesDataType = 'array';
29  protected $localityType = 'Google_Service_TrafficDirectorService_Locality';
30  protected $localityDataType = '';
31  public $metadata;
32  protected $userAgentBuildVersionType = 'Google_Service_TrafficDirectorService_BuildVersion';
33  protected $userAgentBuildVersionDataType = '';
34  public $userAgentName;
35  public $userAgentVersion;
36
37  public function setBuildVersion($buildVersion)
38  {
39    $this->buildVersion = $buildVersion;
40  }
41  public function getBuildVersion()
42  {
43    return $this->buildVersion;
44  }
45  public function setClientFeatures($clientFeatures)
46  {
47    $this->clientFeatures = $clientFeatures;
48  }
49  public function getClientFeatures()
50  {
51    return $this->clientFeatures;
52  }
53  public function setCluster($cluster)
54  {
55    $this->cluster = $cluster;
56  }
57  public function getCluster()
58  {
59    return $this->cluster;
60  }
61  /**
62   * @param Google_Service_TrafficDirectorService_Extension[]
63   */
64  public function setExtensions($extensions)
65  {
66    $this->extensions = $extensions;
67  }
68  /**
69   * @return Google_Service_TrafficDirectorService_Extension[]
70   */
71  public function getExtensions()
72  {
73    return $this->extensions;
74  }
75  public function setId($id)
76  {
77    $this->id = $id;
78  }
79  public function getId()
80  {
81    return $this->id;
82  }
83  /**
84   * @param Google_Service_TrafficDirectorService_Address[]
85   */
86  public function setListeningAddresses($listeningAddresses)
87  {
88    $this->listeningAddresses = $listeningAddresses;
89  }
90  /**
91   * @return Google_Service_TrafficDirectorService_Address[]
92   */
93  public function getListeningAddresses()
94  {
95    return $this->listeningAddresses;
96  }
97  /**
98   * @param Google_Service_TrafficDirectorService_Locality
99   */
100  public function setLocality(Google_Service_TrafficDirectorService_Locality $locality)
101  {
102    $this->locality = $locality;
103  }
104  /**
105   * @return Google_Service_TrafficDirectorService_Locality
106   */
107  public function getLocality()
108  {
109    return $this->locality;
110  }
111  public function setMetadata($metadata)
112  {
113    $this->metadata = $metadata;
114  }
115  public function getMetadata()
116  {
117    return $this->metadata;
118  }
119  /**
120   * @param Google_Service_TrafficDirectorService_BuildVersion
121   */
122  public function setUserAgentBuildVersion(Google_Service_TrafficDirectorService_BuildVersion $userAgentBuildVersion)
123  {
124    $this->userAgentBuildVersion = $userAgentBuildVersion;
125  }
126  /**
127   * @return Google_Service_TrafficDirectorService_BuildVersion
128   */
129  public function getUserAgentBuildVersion()
130  {
131    return $this->userAgentBuildVersion;
132  }
133  public function setUserAgentName($userAgentName)
134  {
135    $this->userAgentName = $userAgentName;
136  }
137  public function getUserAgentName()
138  {
139    return $this->userAgentName;
140  }
141  public function setUserAgentVersion($userAgentVersion)
142  {
143    $this->userAgentVersion = $userAgentVersion;
144  }
145  public function getUserAgentVersion()
146  {
147    return $this->userAgentVersion;
148  }
149}
150