[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\CloudSearch;
|
---|
| 19 |
|
---|
| 20 | class AppsDynamiteFrontendUser extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'phoneNumber';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $avatarUrl;
|
---|
| 27 | protected $blockRelationshipType = AppsDynamiteSharedUserBlockRelationship::class;
|
---|
| 28 | protected $blockRelationshipDataType = '';
|
---|
| 29 | protected $botInfoType = AppsDynamiteFrontendBotInfo::class;
|
---|
| 30 | protected $botInfoDataType = '';
|
---|
| 31 | /**
|
---|
| 32 | * @var bool
|
---|
| 33 | */
|
---|
| 34 | public $deleted;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $email;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $firstName;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $gender;
|
---|
| 47 | protected $idType = AppsDynamiteUserId::class;
|
---|
| 48 | protected $idDataType = '';
|
---|
| 49 | /**
|
---|
| 50 | * @var bool
|
---|
| 51 | */
|
---|
| 52 | public $isAnonymous;
|
---|
| 53 | /**
|
---|
| 54 | * @var string
|
---|
| 55 | */
|
---|
| 56 | public $lastName;
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $name;
|
---|
| 61 | protected $organizationInfoType = AppsDynamiteSharedOrganizationInfo::class;
|
---|
| 62 | protected $organizationInfoDataType = '';
|
---|
| 63 | protected $phoneNumberType = AppsDynamiteSharedPhoneNumber::class;
|
---|
| 64 | protected $phoneNumberDataType = 'array';
|
---|
| 65 | /**
|
---|
| 66 | * @var string
|
---|
| 67 | */
|
---|
| 68 | public $userAccountState;
|
---|
| 69 | /**
|
---|
| 70 | * @var string
|
---|
| 71 | */
|
---|
| 72 | public $userProfileVisibility;
|
---|
| 73 |
|
---|
| 74 | /**
|
---|
| 75 | * @param string
|
---|
| 76 | */
|
---|
| 77 | public function setAvatarUrl($avatarUrl)
|
---|
| 78 | {
|
---|
| 79 | $this->avatarUrl = $avatarUrl;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @return string
|
---|
| 83 | */
|
---|
| 84 | public function getAvatarUrl()
|
---|
| 85 | {
|
---|
| 86 | return $this->avatarUrl;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @param AppsDynamiteSharedUserBlockRelationship
|
---|
| 90 | */
|
---|
| 91 | public function setBlockRelationship(AppsDynamiteSharedUserBlockRelationship $blockRelationship)
|
---|
| 92 | {
|
---|
| 93 | $this->blockRelationship = $blockRelationship;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @return AppsDynamiteSharedUserBlockRelationship
|
---|
| 97 | */
|
---|
| 98 | public function getBlockRelationship()
|
---|
| 99 | {
|
---|
| 100 | return $this->blockRelationship;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @param AppsDynamiteFrontendBotInfo
|
---|
| 104 | */
|
---|
| 105 | public function setBotInfo(AppsDynamiteFrontendBotInfo $botInfo)
|
---|
| 106 | {
|
---|
| 107 | $this->botInfo = $botInfo;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @return AppsDynamiteFrontendBotInfo
|
---|
| 111 | */
|
---|
| 112 | public function getBotInfo()
|
---|
| 113 | {
|
---|
| 114 | return $this->botInfo;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @param bool
|
---|
| 118 | */
|
---|
| 119 | public function setDeleted($deleted)
|
---|
| 120 | {
|
---|
| 121 | $this->deleted = $deleted;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @return bool
|
---|
| 125 | */
|
---|
| 126 | public function getDeleted()
|
---|
| 127 | {
|
---|
| 128 | return $this->deleted;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @param string
|
---|
| 132 | */
|
---|
| 133 | public function setEmail($email)
|
---|
| 134 | {
|
---|
| 135 | $this->email = $email;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @return string
|
---|
| 139 | */
|
---|
| 140 | public function getEmail()
|
---|
| 141 | {
|
---|
| 142 | return $this->email;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @param string
|
---|
| 146 | */
|
---|
| 147 | public function setFirstName($firstName)
|
---|
| 148 | {
|
---|
| 149 | $this->firstName = $firstName;
|
---|
| 150 | }
|
---|
| 151 | /**
|
---|
| 152 | * @return string
|
---|
| 153 | */
|
---|
| 154 | public function getFirstName()
|
---|
| 155 | {
|
---|
| 156 | return $this->firstName;
|
---|
| 157 | }
|
---|
| 158 | /**
|
---|
| 159 | * @param string
|
---|
| 160 | */
|
---|
| 161 | public function setGender($gender)
|
---|
| 162 | {
|
---|
| 163 | $this->gender = $gender;
|
---|
| 164 | }
|
---|
| 165 | /**
|
---|
| 166 | * @return string
|
---|
| 167 | */
|
---|
| 168 | public function getGender()
|
---|
| 169 | {
|
---|
| 170 | return $this->gender;
|
---|
| 171 | }
|
---|
| 172 | /**
|
---|
| 173 | * @param AppsDynamiteUserId
|
---|
| 174 | */
|
---|
| 175 | public function setId(AppsDynamiteUserId $id)
|
---|
| 176 | {
|
---|
| 177 | $this->id = $id;
|
---|
| 178 | }
|
---|
| 179 | /**
|
---|
| 180 | * @return AppsDynamiteUserId
|
---|
| 181 | */
|
---|
| 182 | public function getId()
|
---|
| 183 | {
|
---|
| 184 | return $this->id;
|
---|
| 185 | }
|
---|
| 186 | /**
|
---|
| 187 | * @param bool
|
---|
| 188 | */
|
---|
| 189 | public function setIsAnonymous($isAnonymous)
|
---|
| 190 | {
|
---|
| 191 | $this->isAnonymous = $isAnonymous;
|
---|
| 192 | }
|
---|
| 193 | /**
|
---|
| 194 | * @return bool
|
---|
| 195 | */
|
---|
| 196 | public function getIsAnonymous()
|
---|
| 197 | {
|
---|
| 198 | return $this->isAnonymous;
|
---|
| 199 | }
|
---|
| 200 | /**
|
---|
| 201 | * @param string
|
---|
| 202 | */
|
---|
| 203 | public function setLastName($lastName)
|
---|
| 204 | {
|
---|
| 205 | $this->lastName = $lastName;
|
---|
| 206 | }
|
---|
| 207 | /**
|
---|
| 208 | * @return string
|
---|
| 209 | */
|
---|
| 210 | public function getLastName()
|
---|
| 211 | {
|
---|
| 212 | return $this->lastName;
|
---|
| 213 | }
|
---|
| 214 | /**
|
---|
| 215 | * @param string
|
---|
| 216 | */
|
---|
| 217 | public function setName($name)
|
---|
| 218 | {
|
---|
| 219 | $this->name = $name;
|
---|
| 220 | }
|
---|
| 221 | /**
|
---|
| 222 | * @return string
|
---|
| 223 | */
|
---|
| 224 | public function getName()
|
---|
| 225 | {
|
---|
| 226 | return $this->name;
|
---|
| 227 | }
|
---|
| 228 | /**
|
---|
| 229 | * @param AppsDynamiteSharedOrganizationInfo
|
---|
| 230 | */
|
---|
| 231 | public function setOrganizationInfo(AppsDynamiteSharedOrganizationInfo $organizationInfo)
|
---|
| 232 | {
|
---|
| 233 | $this->organizationInfo = $organizationInfo;
|
---|
| 234 | }
|
---|
| 235 | /**
|
---|
| 236 | * @return AppsDynamiteSharedOrganizationInfo
|
---|
| 237 | */
|
---|
| 238 | public function getOrganizationInfo()
|
---|
| 239 | {
|
---|
| 240 | return $this->organizationInfo;
|
---|
| 241 | }
|
---|
| 242 | /**
|
---|
| 243 | * @param AppsDynamiteSharedPhoneNumber[]
|
---|
| 244 | */
|
---|
| 245 | public function setPhoneNumber($phoneNumber)
|
---|
| 246 | {
|
---|
| 247 | $this->phoneNumber = $phoneNumber;
|
---|
| 248 | }
|
---|
| 249 | /**
|
---|
| 250 | * @return AppsDynamiteSharedPhoneNumber[]
|
---|
| 251 | */
|
---|
| 252 | public function getPhoneNumber()
|
---|
| 253 | {
|
---|
| 254 | return $this->phoneNumber;
|
---|
| 255 | }
|
---|
| 256 | /**
|
---|
| 257 | * @param string
|
---|
| 258 | */
|
---|
| 259 | public function setUserAccountState($userAccountState)
|
---|
| 260 | {
|
---|
| 261 | $this->userAccountState = $userAccountState;
|
---|
| 262 | }
|
---|
| 263 | /**
|
---|
| 264 | * @return string
|
---|
| 265 | */
|
---|
| 266 | public function getUserAccountState()
|
---|
| 267 | {
|
---|
| 268 | return $this->userAccountState;
|
---|
| 269 | }
|
---|
| 270 | /**
|
---|
| 271 | * @param string
|
---|
| 272 | */
|
---|
| 273 | public function setUserProfileVisibility($userProfileVisibility)
|
---|
| 274 | {
|
---|
| 275 | $this->userProfileVisibility = $userProfileVisibility;
|
---|
| 276 | }
|
---|
| 277 | /**
|
---|
| 278 | * @return string
|
---|
| 279 | */
|
---|
| 280 | public function getUserProfileVisibility()
|
---|
| 281 | {
|
---|
| 282 | return $this->userProfileVisibility;
|
---|
| 283 | }
|
---|
| 284 | }
|
---|
| 285 |
|
---|
| 286 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 287 | class_alias(AppsDynamiteFrontendUser::class, 'Google_Service_CloudSearch_AppsDynamiteFrontendUser');
|
---|