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\IdentityToolkit;
19
20class UserInfo extends \Google\Collection
21{
22  protected $collection_key = 'providerUserInfo';
23  /**
24   * @var string
25   */
26  public $createdAt;
27  /**
28   * @var string
29   */
30  public $customAttributes;
31  /**
32   * @var bool
33   */
34  public $customAuth;
35  /**
36   * @var bool
37   */
38  public $disabled;
39  /**
40   * @var string
41   */
42  public $displayName;
43  /**
44   * @var string
45   */
46  public $email;
47  /**
48   * @var bool
49   */
50  public $emailVerified;
51  /**
52   * @var string
53   */
54  public $lastLoginAt;
55  /**
56   * @var string
57   */
58  public $localId;
59  /**
60   * @var string
61   */
62  public $passwordHash;
63  public $passwordUpdatedAt;
64  /**
65   * @var string
66   */
67  public $phoneNumber;
68  /**
69   * @var string
70   */
71  public $photoUrl;
72  protected $providerUserInfoType = UserInfoProviderUserInfo::class;
73  protected $providerUserInfoDataType = 'array';
74  /**
75   * @var string
76   */
77  public $rawPassword;
78  /**
79   * @var string
80   */
81  public $salt;
82  /**
83   * @var string
84   */
85  public $screenName;
86  /**
87   * @var string
88   */
89  public $validSince;
90  /**
91   * @var int
92   */
93  public $version;
94
95  /**
96   * @param string
97   */
98  public function setCreatedAt($createdAt)
99  {
100    $this->createdAt = $createdAt;
101  }
102  /**
103   * @return string
104   */
105  public function getCreatedAt()
106  {
107    return $this->createdAt;
108  }
109  /**
110   * @param string
111   */
112  public function setCustomAttributes($customAttributes)
113  {
114    $this->customAttributes = $customAttributes;
115  }
116  /**
117   * @return string
118   */
119  public function getCustomAttributes()
120  {
121    return $this->customAttributes;
122  }
123  /**
124   * @param bool
125   */
126  public function setCustomAuth($customAuth)
127  {
128    $this->customAuth = $customAuth;
129  }
130  /**
131   * @return bool
132   */
133  public function getCustomAuth()
134  {
135    return $this->customAuth;
136  }
137  /**
138   * @param bool
139   */
140  public function setDisabled($disabled)
141  {
142    $this->disabled = $disabled;
143  }
144  /**
145   * @return bool
146   */
147  public function getDisabled()
148  {
149    return $this->disabled;
150  }
151  /**
152   * @param string
153   */
154  public function setDisplayName($displayName)
155  {
156    $this->displayName = $displayName;
157  }
158  /**
159   * @return string
160   */
161  public function getDisplayName()
162  {
163    return $this->displayName;
164  }
165  /**
166   * @param string
167   */
168  public function setEmail($email)
169  {
170    $this->email = $email;
171  }
172  /**
173   * @return string
174   */
175  public function getEmail()
176  {
177    return $this->email;
178  }
179  /**
180   * @param bool
181   */
182  public function setEmailVerified($emailVerified)
183  {
184    $this->emailVerified = $emailVerified;
185  }
186  /**
187   * @return bool
188   */
189  public function getEmailVerified()
190  {
191    return $this->emailVerified;
192  }
193  /**
194   * @param string
195   */
196  public function setLastLoginAt($lastLoginAt)
197  {
198    $this->lastLoginAt = $lastLoginAt;
199  }
200  /**
201   * @return string
202   */
203  public function getLastLoginAt()
204  {
205    return $this->lastLoginAt;
206  }
207  /**
208   * @param string
209   */
210  public function setLocalId($localId)
211  {
212    $this->localId = $localId;
213  }
214  /**
215   * @return string
216   */
217  public function getLocalId()
218  {
219    return $this->localId;
220  }
221  /**
222   * @param string
223   */
224  public function setPasswordHash($passwordHash)
225  {
226    $this->passwordHash = $passwordHash;
227  }
228  /**
229   * @return string
230   */
231  public function getPasswordHash()
232  {
233    return $this->passwordHash;
234  }
235  public function setPasswordUpdatedAt($passwordUpdatedAt)
236  {
237    $this->passwordUpdatedAt = $passwordUpdatedAt;
238  }
239  public function getPasswordUpdatedAt()
240  {
241    return $this->passwordUpdatedAt;
242  }
243  /**
244   * @param string
245   */
246  public function setPhoneNumber($phoneNumber)
247  {
248    $this->phoneNumber = $phoneNumber;
249  }
250  /**
251   * @return string
252   */
253  public function getPhoneNumber()
254  {
255    return $this->phoneNumber;
256  }
257  /**
258   * @param string
259   */
260  public function setPhotoUrl($photoUrl)
261  {
262    $this->photoUrl = $photoUrl;
263  }
264  /**
265   * @return string
266   */
267  public function getPhotoUrl()
268  {
269    return $this->photoUrl;
270  }
271  /**
272   * @param UserInfoProviderUserInfo[]
273   */
274  public function setProviderUserInfo($providerUserInfo)
275  {
276    $this->providerUserInfo = $providerUserInfo;
277  }
278  /**
279   * @return UserInfoProviderUserInfo[]
280   */
281  public function getProviderUserInfo()
282  {
283    return $this->providerUserInfo;
284  }
285  /**
286   * @param string
287   */
288  public function setRawPassword($rawPassword)
289  {
290    $this->rawPassword = $rawPassword;
291  }
292  /**
293   * @return string
294   */
295  public function getRawPassword()
296  {
297    return $this->rawPassword;
298  }
299  /**
300   * @param string
301   */
302  public function setSalt($salt)
303  {
304    $this->salt = $salt;
305  }
306  /**
307   * @return string
308   */
309  public function getSalt()
310  {
311    return $this->salt;
312  }
313  /**
314   * @param string
315   */
316  public function setScreenName($screenName)
317  {
318    $this->screenName = $screenName;
319  }
320  /**
321   * @return string
322   */
323  public function getScreenName()
324  {
325    return $this->screenName;
326  }
327  /**
328   * @param string
329   */
330  public function setValidSince($validSince)
331  {
332    $this->validSince = $validSince;
333  }
334  /**
335   * @return string
336   */
337  public function getValidSince()
338  {
339    return $this->validSince;
340  }
341  /**
342   * @param int
343   */
344  public function setVersion($version)
345  {
346    $this->version = $version;
347  }
348  /**
349   * @return int
350   */
351  public function getVersion()
352  {
353    return $this->version;
354  }
355}
356
357// Adding a class alias for backwards compatibility with the previous class name.
358class_alias(UserInfo::class, 'Google_Service_IdentityToolkit_UserInfo');
359