public class User extends AbstractModel
| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Long |
getAccountType()
Get This field indicates the account type corresponding to the service subscriber ID.
|
Long |
getAge()
Get This field indicates the age information of the service subscriber's account.
|
String |
getDesc()
Get This field indicates the profile information of service subscribers.
|
Long |
getGender()
Get This field indicates the gender information of the service subscriber's account.
|
String |
getHeadUrl()
Get This field indicates the URL of the service subscriber's profile photos formatted with .png, .jpg, .jpeg, .bmp, .gif and .webp.
|
Long |
getLevel()
Get This field indicates the level information of the service subscriber's account.
|
String |
getNickname()
Get This field indicates the account nickname information of the service subscriber.
|
String |
getPhone()
Get This field indicates the mobile phone number information of the service subscriber's account.
|
String |
getUserId()
Get This field indicates the service subscriber ID.
|
void |
setAccountType(Long AccountType)
Set This field indicates the account type corresponding to the service subscriber ID.
|
void |
setAge(Long Age)
Set This field indicates the age information of the service subscriber's account.
|
void |
setDesc(String Desc)
Set This field indicates the profile information of service subscribers.
|
void |
setGender(Long Gender)
Set This field indicates the gender information of the service subscriber's account.
|
void |
setHeadUrl(String HeadUrl)
Set This field indicates the URL of the service subscriber's profile photos formatted with .png, .jpg, .jpeg, .bmp, .gif and .webp.
|
void |
setLevel(Long Level)
Set This field indicates the level information of the service subscriber's account.
|
void |
setNickname(String Nickname)
Set This field indicates the account nickname information of the service subscriber.
|
void |
setPhone(String Phone)
Set This field indicates the mobile phone number information of the service subscriber's account.
|
void |
setUserId(String UserId)
Set This field indicates the service subscriber ID.
|
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 - This field indicates the service subscriber ID. This ID can be used to optimize the moderation result judgment based on the account's violation records, which is helpful for auxiliary judgment when there is a risk of suspected violations.public String getNickname()
public void setNickname(String Nickname)
Nickname - This field indicates the account nickname information of the service subscriber.public Long getAccountType()
public void setAccountType(Long AccountType)
AccountType - This field indicates the account type corresponding to the service subscriber ID.public Long getGender()
public void setGender(Long Gender)
Gender - This field indicates the gender information of the service subscriber's account.public Long getAge()
public void setAge(Long Age)
Age - This field indicates the age information of the service subscriber's account.public Long getLevel()
public void setLevel(Long Level)
Level - This field indicates the level information of the service subscriber's account.public String getPhone()
public void setPhone(String Phone)
Phone - This field indicates the mobile phone number information of the service subscriber's account. The mobile phone numbers in various regions of the world can be recorded.public String getHeadUrl()
public void setHeadUrl(String HeadUrl)
HeadUrl - This field indicates the URL of the service subscriber's profile photos formatted with .png, .jpg, .jpeg, .bmp, .gif and .webp.
Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it takes more than 3 seconds to download, the "download timeout" is returned.public String getDesc()
public void setDesc(String Desc)
Desc - This field indicates the profile information of service subscribers. It can contain up to 5,000 characters, including Chinese characters, letters and special symbols.Copyright © 2022. All rights reserved.