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\PeopleService; 19 20class Organization extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $costCenter; 26 /** 27 * @var bool 28 */ 29 public $current; 30 /** 31 * @var string 32 */ 33 public $department; 34 /** 35 * @var string 36 */ 37 public $domain; 38 protected $endDateType = Date::class; 39 protected $endDateDataType = ''; 40 /** 41 * @var string 42 */ 43 public $formattedType; 44 /** 45 * @var int 46 */ 47 public $fullTimeEquivalentMillipercent; 48 /** 49 * @var string 50 */ 51 public $jobDescription; 52 /** 53 * @var string 54 */ 55 public $location; 56 protected $metadataType = FieldMetadata::class; 57 protected $metadataDataType = ''; 58 /** 59 * @var string 60 */ 61 public $name; 62 /** 63 * @var string 64 */ 65 public $phoneticName; 66 protected $startDateType = Date::class; 67 protected $startDateDataType = ''; 68 /** 69 * @var string 70 */ 71 public $symbol; 72 /** 73 * @var string 74 */ 75 public $title; 76 /** 77 * @var string 78 */ 79 public $type; 80 81 /** 82 * @param string 83 */ 84 public function setCostCenter($costCenter) 85 { 86 $this->costCenter = $costCenter; 87 } 88 /** 89 * @return string 90 */ 91 public function getCostCenter() 92 { 93 return $this->costCenter; 94 } 95 /** 96 * @param bool 97 */ 98 public function setCurrent($current) 99 { 100 $this->current = $current; 101 } 102 /** 103 * @return bool 104 */ 105 public function getCurrent() 106 { 107 return $this->current; 108 } 109 /** 110 * @param string 111 */ 112 public function setDepartment($department) 113 { 114 $this->department = $department; 115 } 116 /** 117 * @return string 118 */ 119 public function getDepartment() 120 { 121 return $this->department; 122 } 123 /** 124 * @param string 125 */ 126 public function setDomain($domain) 127 { 128 $this->domain = $domain; 129 } 130 /** 131 * @return string 132 */ 133 public function getDomain() 134 { 135 return $this->domain; 136 } 137 /** 138 * @param Date 139 */ 140 public function setEndDate(Date $endDate) 141 { 142 $this->endDate = $endDate; 143 } 144 /** 145 * @return Date 146 */ 147 public function getEndDate() 148 { 149 return $this->endDate; 150 } 151 /** 152 * @param string 153 */ 154 public function setFormattedType($formattedType) 155 { 156 $this->formattedType = $formattedType; 157 } 158 /** 159 * @return string 160 */ 161 public function getFormattedType() 162 { 163 return $this->formattedType; 164 } 165 /** 166 * @param int 167 */ 168 public function setFullTimeEquivalentMillipercent($fullTimeEquivalentMillipercent) 169 { 170 $this->fullTimeEquivalentMillipercent = $fullTimeEquivalentMillipercent; 171 } 172 /** 173 * @return int 174 */ 175 public function getFullTimeEquivalentMillipercent() 176 { 177 return $this->fullTimeEquivalentMillipercent; 178 } 179 /** 180 * @param string 181 */ 182 public function setJobDescription($jobDescription) 183 { 184 $this->jobDescription = $jobDescription; 185 } 186 /** 187 * @return string 188 */ 189 public function getJobDescription() 190 { 191 return $this->jobDescription; 192 } 193 /** 194 * @param string 195 */ 196 public function setLocation($location) 197 { 198 $this->location = $location; 199 } 200 /** 201 * @return string 202 */ 203 public function getLocation() 204 { 205 return $this->location; 206 } 207 /** 208 * @param FieldMetadata 209 */ 210 public function setMetadata(FieldMetadata $metadata) 211 { 212 $this->metadata = $metadata; 213 } 214 /** 215 * @return FieldMetadata 216 */ 217 public function getMetadata() 218 { 219 return $this->metadata; 220 } 221 /** 222 * @param string 223 */ 224 public function setName($name) 225 { 226 $this->name = $name; 227 } 228 /** 229 * @return string 230 */ 231 public function getName() 232 { 233 return $this->name; 234 } 235 /** 236 * @param string 237 */ 238 public function setPhoneticName($phoneticName) 239 { 240 $this->phoneticName = $phoneticName; 241 } 242 /** 243 * @return string 244 */ 245 public function getPhoneticName() 246 { 247 return $this->phoneticName; 248 } 249 /** 250 * @param Date 251 */ 252 public function setStartDate(Date $startDate) 253 { 254 $this->startDate = $startDate; 255 } 256 /** 257 * @return Date 258 */ 259 public function getStartDate() 260 { 261 return $this->startDate; 262 } 263 /** 264 * @param string 265 */ 266 public function setSymbol($symbol) 267 { 268 $this->symbol = $symbol; 269 } 270 /** 271 * @return string 272 */ 273 public function getSymbol() 274 { 275 return $this->symbol; 276 } 277 /** 278 * @param string 279 */ 280 public function setTitle($title) 281 { 282 $this->title = $title; 283 } 284 /** 285 * @return string 286 */ 287 public function getTitle() 288 { 289 return $this->title; 290 } 291 /** 292 * @param string 293 */ 294 public function setType($type) 295 { 296 $this->type = $type; 297 } 298 /** 299 * @return string 300 */ 301 public function getType() 302 { 303 return $this->type; 304 } 305} 306 307// Adding a class alias for backwards compatibility with the previous class name. 308class_alias(Organization::class, 'Google_Service_PeopleService_Organization'); 309