暂无描述

UserInfo.php 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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. class Google_Service_IdentityToolkit_UserInfo extends Google_Collection
  18. {
  19. protected $collection_key = 'providerUserInfo';
  20. public $createdAt;
  21. public $customAttributes;
  22. public $customAuth;
  23. public $disabled;
  24. public $displayName;
  25. public $email;
  26. public $emailVerified;
  27. public $lastLoginAt;
  28. public $localId;
  29. public $passwordHash;
  30. public $passwordUpdatedAt;
  31. public $phoneNumber;
  32. public $photoUrl;
  33. protected $providerUserInfoType = 'Google_Service_IdentityToolkit_UserInfoProviderUserInfo';
  34. protected $providerUserInfoDataType = 'array';
  35. public $rawPassword;
  36. public $salt;
  37. public $screenName;
  38. public $validSince;
  39. public $version;
  40. public function setCreatedAt($createdAt)
  41. {
  42. $this->createdAt = $createdAt;
  43. }
  44. public function getCreatedAt()
  45. {
  46. return $this->createdAt;
  47. }
  48. public function setCustomAttributes($customAttributes)
  49. {
  50. $this->customAttributes = $customAttributes;
  51. }
  52. public function getCustomAttributes()
  53. {
  54. return $this->customAttributes;
  55. }
  56. public function setCustomAuth($customAuth)
  57. {
  58. $this->customAuth = $customAuth;
  59. }
  60. public function getCustomAuth()
  61. {
  62. return $this->customAuth;
  63. }
  64. public function setDisabled($disabled)
  65. {
  66. $this->disabled = $disabled;
  67. }
  68. public function getDisabled()
  69. {
  70. return $this->disabled;
  71. }
  72. public function setDisplayName($displayName)
  73. {
  74. $this->displayName = $displayName;
  75. }
  76. public function getDisplayName()
  77. {
  78. return $this->displayName;
  79. }
  80. public function setEmail($email)
  81. {
  82. $this->email = $email;
  83. }
  84. public function getEmail()
  85. {
  86. return $this->email;
  87. }
  88. public function setEmailVerified($emailVerified)
  89. {
  90. $this->emailVerified = $emailVerified;
  91. }
  92. public function getEmailVerified()
  93. {
  94. return $this->emailVerified;
  95. }
  96. public function setLastLoginAt($lastLoginAt)
  97. {
  98. $this->lastLoginAt = $lastLoginAt;
  99. }
  100. public function getLastLoginAt()
  101. {
  102. return $this->lastLoginAt;
  103. }
  104. public function setLocalId($localId)
  105. {
  106. $this->localId = $localId;
  107. }
  108. public function getLocalId()
  109. {
  110. return $this->localId;
  111. }
  112. public function setPasswordHash($passwordHash)
  113. {
  114. $this->passwordHash = $passwordHash;
  115. }
  116. public function getPasswordHash()
  117. {
  118. return $this->passwordHash;
  119. }
  120. public function setPasswordUpdatedAt($passwordUpdatedAt)
  121. {
  122. $this->passwordUpdatedAt = $passwordUpdatedAt;
  123. }
  124. public function getPasswordUpdatedAt()
  125. {
  126. return $this->passwordUpdatedAt;
  127. }
  128. public function setPhoneNumber($phoneNumber)
  129. {
  130. $this->phoneNumber = $phoneNumber;
  131. }
  132. public function getPhoneNumber()
  133. {
  134. return $this->phoneNumber;
  135. }
  136. public function setPhotoUrl($photoUrl)
  137. {
  138. $this->photoUrl = $photoUrl;
  139. }
  140. public function getPhotoUrl()
  141. {
  142. return $this->photoUrl;
  143. }
  144. /**
  145. * @param Google_Service_IdentityToolkit_UserInfoProviderUserInfo
  146. */
  147. public function setProviderUserInfo($providerUserInfo)
  148. {
  149. $this->providerUserInfo = $providerUserInfo;
  150. }
  151. /**
  152. * @return Google_Service_IdentityToolkit_UserInfoProviderUserInfo
  153. */
  154. public function getProviderUserInfo()
  155. {
  156. return $this->providerUserInfo;
  157. }
  158. public function setRawPassword($rawPassword)
  159. {
  160. $this->rawPassword = $rawPassword;
  161. }
  162. public function getRawPassword()
  163. {
  164. return $this->rawPassword;
  165. }
  166. public function setSalt($salt)
  167. {
  168. $this->salt = $salt;
  169. }
  170. public function getSalt()
  171. {
  172. return $this->salt;
  173. }
  174. public function setScreenName($screenName)
  175. {
  176. $this->screenName = $screenName;
  177. }
  178. public function getScreenName()
  179. {
  180. return $this->screenName;
  181. }
  182. public function setValidSince($validSince)
  183. {
  184. $this->validSince = $validSince;
  185. }
  186. public function getValidSince()
  187. {
  188. return $this->validSince;
  189. }
  190. public function setVersion($version)
  191. {
  192. $this->version = $version;
  193. }
  194. public function getVersion()
  195. {
  196. return $this->version;
  197. }
  198. }