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\Directory; 19 20class UserAddress extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $country; 26 /** 27 * @var string 28 */ 29 public $countryCode; 30 /** 31 * @var string 32 */ 33 public $customType; 34 /** 35 * @var string 36 */ 37 public $extendedAddress; 38 /** 39 * @var string 40 */ 41 public $formatted; 42 /** 43 * @var string 44 */ 45 public $locality; 46 /** 47 * @var string 48 */ 49 public $poBox; 50 /** 51 * @var string 52 */ 53 public $postalCode; 54 /** 55 * @var bool 56 */ 57 public $primary; 58 /** 59 * @var string 60 */ 61 public $region; 62 /** 63 * @var bool 64 */ 65 public $sourceIsStructured; 66 /** 67 * @var string 68 */ 69 public $streetAddress; 70 /** 71 * @var string 72 */ 73 public $type; 74 75 /** 76 * @param string 77 */ 78 public function setCountry($country) 79 { 80 $this->country = $country; 81 } 82 /** 83 * @return string 84 */ 85 public function getCountry() 86 { 87 return $this->country; 88 } 89 /** 90 * @param string 91 */ 92 public function setCountryCode($countryCode) 93 { 94 $this->countryCode = $countryCode; 95 } 96 /** 97 * @return string 98 */ 99 public function getCountryCode() 100 { 101 return $this->countryCode; 102 } 103 /** 104 * @param string 105 */ 106 public function setCustomType($customType) 107 { 108 $this->customType = $customType; 109 } 110 /** 111 * @return string 112 */ 113 public function getCustomType() 114 { 115 return $this->customType; 116 } 117 /** 118 * @param string 119 */ 120 public function setExtendedAddress($extendedAddress) 121 { 122 $this->extendedAddress = $extendedAddress; 123 } 124 /** 125 * @return string 126 */ 127 public function getExtendedAddress() 128 { 129 return $this->extendedAddress; 130 } 131 /** 132 * @param string 133 */ 134 public function setFormatted($formatted) 135 { 136 $this->formatted = $formatted; 137 } 138 /** 139 * @return string 140 */ 141 public function getFormatted() 142 { 143 return $this->formatted; 144 } 145 /** 146 * @param string 147 */ 148 public function setLocality($locality) 149 { 150 $this->locality = $locality; 151 } 152 /** 153 * @return string 154 */ 155 public function getLocality() 156 { 157 return $this->locality; 158 } 159 /** 160 * @param string 161 */ 162 public function setPoBox($poBox) 163 { 164 $this->poBox = $poBox; 165 } 166 /** 167 * @return string 168 */ 169 public function getPoBox() 170 { 171 return $this->poBox; 172 } 173 /** 174 * @param string 175 */ 176 public function setPostalCode($postalCode) 177 { 178 $this->postalCode = $postalCode; 179 } 180 /** 181 * @return string 182 */ 183 public function getPostalCode() 184 { 185 return $this->postalCode; 186 } 187 /** 188 * @param bool 189 */ 190 public function setPrimary($primary) 191 { 192 $this->primary = $primary; 193 } 194 /** 195 * @return bool 196 */ 197 public function getPrimary() 198 { 199 return $this->primary; 200 } 201 /** 202 * @param string 203 */ 204 public function setRegion($region) 205 { 206 $this->region = $region; 207 } 208 /** 209 * @return string 210 */ 211 public function getRegion() 212 { 213 return $this->region; 214 } 215 /** 216 * @param bool 217 */ 218 public function setSourceIsStructured($sourceIsStructured) 219 { 220 $this->sourceIsStructured = $sourceIsStructured; 221 } 222 /** 223 * @return bool 224 */ 225 public function getSourceIsStructured() 226 { 227 return $this->sourceIsStructured; 228 } 229 /** 230 * @param string 231 */ 232 public function setStreetAddress($streetAddress) 233 { 234 $this->streetAddress = $streetAddress; 235 } 236 /** 237 * @return string 238 */ 239 public function getStreetAddress() 240 { 241 return $this->streetAddress; 242 } 243 /** 244 * @param string 245 */ 246 public function setType($type) 247 { 248 $this->type = $type; 249 } 250 /** 251 * @return string 252 */ 253 public function getType() 254 { 255 return $this->type; 256 } 257} 258 259// Adding a class alias for backwards compatibility with the previous class name. 260class_alias(UserAddress::class, 'Google_Service_Directory_UserAddress'); 261