public class User extends AbstractModel
| Constructor and Description | 
|---|
| User() | 
| User(User source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAddress()Get Address
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getAlipayUserId()Get `AlipayUserId` on Alipay
Note: This field may return null, indicating that no valid values can be obtained. | 
| Boolean | getAlreadyFirstLogin()Get Whether the account has ever logged in. | 
| Long | getBirthdate()Get Date of birth
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getCreatedDate()Get Creation time | 
| MemberMap[] | getCustomAttributes()Get Custom attribute
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getDescription()Get Description
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getEmail()Get Email address
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getGender()Get Gender
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getIdentityVerificationMethod()Get Identity verification method
Note: This field may return null, indicating that no valid values can be obtained. | 
| Boolean | getIdentityVerified()Get Whether the identity is verified
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getJob()Get Job
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getLastModifiedDate()Get Last modified time
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getLastSignOn()Get Last login time
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getLocale()Get Coordinate
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getLockTime()Get Lock time
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getLockType()Get Lock type (locked by admin or locked by login policy)
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getName()Get Name
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getNationality()Get Country/Region
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getNickname()Get Nickname
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getPhoneNumber()Get Mobile number
Note: This field may return null, indicating that no valid values can be obtained. | 
| Boolean | getPrimary()Get Whether the account is the primary account (after account merge, this parameter is `true` for primary accounts and `false` for secondary account). | 
| String | getQqOpenId()Get `OpenId` on QQ
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getQqUnionId()Get `UnionId` on QQ
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getResidentIdentityCard()Get ID card number
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getStatus()Get Status | 
| String | getTenantId()Get Tenant ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getUserDataSourceEnum()Get User source | 
| String[] | getUserGroups()Get User group ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getUserId()Get User ID | 
| String | getUserName()Get Username
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getUserStoreId()Get User directory ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getVersion()Get Version
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getWechatOpenId()Get `WechatOpenId` on WeChat
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getWechatUnionId()Get `WechatUnionId` on WeChat
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getZone()Get Time zone
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setAddress(String Address)Set Address
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setAlipayUserId(String AlipayUserId)Set `AlipayUserId` on Alipay
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setAlreadyFirstLogin(Boolean AlreadyFirstLogin)Set Whether the account has ever logged in. | 
| void | setBirthdate(Long Birthdate)Set Date of birth
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setCreatedDate(Long CreatedDate)Set Creation time | 
| void | setCustomAttributes(MemberMap[] CustomAttributes)Set Custom attribute
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setDescription(String Description)Set Description
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setEmail(String Email)Set Email address
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setGender(String Gender)Set Gender
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setIdentityVerificationMethod(String IdentityVerificationMethod)Set Identity verification method
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setIdentityVerified(Boolean IdentityVerified)Set Whether the identity is verified
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setJob(String Job)Set Job
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setLastModifiedDate(Long LastModifiedDate)Set Last modified time
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setLastSignOn(Long LastSignOn)Set Last login time
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setLocale(String Locale)Set Coordinate
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setLockTime(Long LockTime)Set Lock time
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setLockType(String LockType)Set Lock type (locked by admin or locked by login policy)
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setName(String Name)Set Name
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setNationality(String Nationality)Set Country/Region
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setNickname(String Nickname)Set Nickname
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setPhoneNumber(String PhoneNumber)Set Mobile number
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setPrimary(Boolean Primary)Set Whether the account is the primary account (after account merge, this parameter is `true` for primary accounts and `false` for secondary account). | 
| void | setQqOpenId(String QqOpenId)Set `OpenId` on QQ
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setQqUnionId(String QqUnionId)Set `UnionId` on QQ
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setResidentIdentityCard(String ResidentIdentityCard)Set ID card number
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setStatus(String Status)Set Status | 
| void | setTenantId(String TenantId)Set Tenant ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setUserDataSourceEnum(String UserDataSourceEnum)Set User source | 
| void | setUserGroups(String[] UserGroups)Set User group ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setUserId(String UserId)Set User ID | 
| void | setUserName(String UserName)Set Username
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setUserStoreId(String UserStoreId)Set User directory ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setVersion(Long Version)Set Version
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setWechatOpenId(String WechatOpenId)Set `WechatOpenId` on WeChat
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setWechatUnionId(String WechatUnionId)Set `WechatUnionId` on WeChat
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setZone(String Zone)Set Time zone
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic User()
public User(User source)
public String getUserId()
public void setUserId(String UserId)
UserId - User IDpublic String getUserName()
public void setUserName(String UserName)
UserName - Username
Note: This field may return null, indicating that no valid values can be obtained.public String getPhoneNumber()
public void setPhoneNumber(String PhoneNumber)
PhoneNumber - Mobile number
Note: This field may return null, indicating that no valid values can be obtained.public String getEmail()
public void setEmail(String Email)
Email - Email address
Note: This field may return null, indicating that no valid values can be obtained.public Long getLastSignOn()
public void setLastSignOn(Long LastSignOn)
LastSignOn - Last login time
Note: This field may return null, indicating that no valid values can be obtained.public Long getCreatedDate()
public void setCreatedDate(Long CreatedDate)
CreatedDate - Creation timepublic String getStatus()
public void setStatus(String Status)
Status - Statuspublic String getUserDataSourceEnum()
public void setUserDataSourceEnum(String UserDataSourceEnum)
UserDataSourceEnum - User sourcepublic String getNickname()
public void setNickname(String Nickname)
Nickname - Nickname
Note: This field may return null, indicating that no valid values can be obtained.public String getAddress()
public void setAddress(String Address)
Address - Address
Note: This field may return null, indicating that no valid values can be obtained.public Long getBirthdate()
public void setBirthdate(Long Birthdate)
Birthdate - Date of birth
Note: This field may return null, indicating that no valid values can be obtained.public String[] getUserGroups()
public void setUserGroups(String[] UserGroups)
UserGroups - User group ID
Note: This field may return null, indicating that no valid values can be obtained.public Long getLastModifiedDate()
public void setLastModifiedDate(Long LastModifiedDate)
LastModifiedDate - Last modified time
Note: This field may return null, indicating that no valid values can be obtained.public MemberMap[] getCustomAttributes()
public void setCustomAttributes(MemberMap[] CustomAttributes)
CustomAttributes - Custom attribute
Note: This field may return null, indicating that no valid values can be obtained.public String getResidentIdentityCard()
public void setResidentIdentityCard(String ResidentIdentityCard)
ResidentIdentityCard - ID card number
Note: This field may return null, indicating that no valid values can be obtained.public String getQqOpenId()
public void setQqOpenId(String QqOpenId)
QqOpenId - `OpenId` on QQ
Note: This field may return null, indicating that no valid values can be obtained.public String getQqUnionId()
public void setQqUnionId(String QqUnionId)
QqUnionId - `UnionId` on QQ
Note: This field may return null, indicating that no valid values can be obtained.public String getWechatOpenId()
public void setWechatOpenId(String WechatOpenId)
WechatOpenId - `WechatOpenId` on WeChat
Note: This field may return null, indicating that no valid values can be obtained.public String getWechatUnionId()
public void setWechatUnionId(String WechatUnionId)
WechatUnionId - `WechatUnionId` on WeChat
Note: This field may return null, indicating that no valid values can be obtained.public String getAlipayUserId()
public void setAlipayUserId(String AlipayUserId)
AlipayUserId - `AlipayUserId` on Alipay
Note: This field may return null, indicating that no valid values can be obtained.public String getDescription()
public void setDescription(String Description)
Description - Description
Note: This field may return null, indicating that no valid values can be obtained.public String getName()
public void setName(String Name)
Name - Name
Note: This field may return null, indicating that no valid values can be obtained.public String getLocale()
public void setLocale(String Locale)
Locale - Coordinate
Note: This field may return null, indicating that no valid values can be obtained.public String getGender()
public void setGender(String Gender)
Gender - Gender
Note: This field may return null, indicating that no valid values can be obtained.public String getIdentityVerificationMethod()
public void setIdentityVerificationMethod(String IdentityVerificationMethod)
IdentityVerificationMethod - Identity verification method
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getIdentityVerified()
public void setIdentityVerified(Boolean IdentityVerified)
IdentityVerified - Whether the identity is verified
Note: This field may return null, indicating that no valid values can be obtained.public String getJob()
public void setJob(String Job)
Job - Job
Note: This field may return null, indicating that no valid values can be obtained.public String getNationality()
public void setNationality(String Nationality)
Nationality - Country/Region
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getPrimary()
public void setPrimary(Boolean Primary)
Primary - Whether the account is the primary account (after account merge, this parameter is `true` for primary accounts and `false` for secondary account).
Note: This field may return null, indicating that no valid values can be obtained.public String getZone()
public void setZone(String Zone)
Zone - Time zone
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getAlreadyFirstLogin()
public void setAlreadyFirstLogin(Boolean AlreadyFirstLogin)
AlreadyFirstLogin - Whether the account has ever logged in.
Note: This field may return null, indicating that no valid values can be obtained.public String getTenantId()
public void setTenantId(String TenantId)
TenantId - Tenant ID
Note: This field may return null, indicating that no valid values can be obtained.public String getUserStoreId()
public void setUserStoreId(String UserStoreId)
UserStoreId - User directory ID
Note: This field may return null, indicating that no valid values can be obtained.public Long getVersion()
public void setVersion(Long Version)
Version - Version
Note: This field may return null, indicating that no valid values can be obtained.public String getLockType()
public void setLockType(String LockType)
LockType - Lock type (locked by admin or locked by login policy)
Note: This field may return null, indicating that no valid values can be obtained.public Long getLockTime()
public void setLockTime(Long LockTime)
LockTime - Lock time
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.