public class User extends AbstractModel
header, skipSign| 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 | getAccountType()Get This field indicates the account type of the business user ID. This field can be used together with the ID parameter (UserId) to uniquely identify the account. | 
| Long | getAge()Get This field indicates the age of the business user's account. Valid values: integers between **0** (default value, which indicates unknown) and **custom age limit**. | 
| String | getDesc()Get This field indicates the profile of the business user. | 
| Long | getGender()Get This field indicates the gender of the business user's account. Valid values: **0** (default value): unknown; **1** (male); **2** (female). | 
| String | getHeadUrl()Get This field indicates the access URL of the business user's profile photo in PNG, JPG, JPEG, BMP, GIF, or WEBP format. Note: the profile photo **cannot exceed 5 MB in size**. | 
| Long | getLevel()Get This field indicates the level of the business user's account. Valid values: **0** (default value): unknown; **1**: low level; **2**: medium level; **3**: high level. | 
| String | getNickname()Get This field indicates the nickname of the business user's account. | 
| String | getPhone()Get This field indicates the mobile number of the business user's account. | 
| String | getUserId()Get This field indicates the business user ID. | 
| void | setAccountType(String AccountType)Set This field indicates the account type of the business user ID. This field can be used together with the ID parameter (UserId) to uniquely identify the account. | 
| void | setAge(Long Age)Set This field indicates the age of the business user's account. Valid values: integers between **0** (default value, which indicates unknown) and **custom age limit**. | 
| void | setDesc(String Desc)Set This field indicates the profile of the business user. | 
| void | setGender(Long Gender)Set This field indicates the gender of the business user's account. Valid values: **0** (default value): unknown; **1** (male); **2** (female). | 
| void | setHeadUrl(String HeadUrl)Set This field indicates the access URL of the business user's profile photo in PNG, JPG, JPEG, BMP, GIF, or WEBP format. Note: the profile photo **cannot exceed 5 MB in size**. | 
| void | setLevel(Long Level)Set This field indicates the level of the business user's account. Valid values: **0** (default value): unknown; **1**: low level; **2**: medium level; **3**: high level. | 
| void | setNickname(String Nickname)Set This field indicates the nickname of the business user's account. | 
| void | setPhone(String Phone)Set This field indicates the mobile number of the business user's account. | 
| void | setUserId(String UserId)Set This field indicates the business user ID. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic User()
public User(User source)
public String getUserId()
public void setUserId(String UserId)
UserId - This field indicates the business user ID. After it is specified, the system can optimize the moderation result according to the violation history to facilitate determination when a suspicious violation risk exists.public String getNickname()
public void setNickname(String Nickname)
Nickname - This field indicates the nickname of the business user's account.public String getAccountType()
public void setAccountType(String AccountType)
AccountType - This field indicates the account type of the business user ID.public Long getGender()
public void setGender(Long Gender)
Gender - This field indicates the gender of the business user's account.public Long getAge()
public void setAge(Long Age)
Age - This field indicates the age of the business user's account.public Long getLevel()
public void setLevel(Long Level)
Level - This field indicates the level of the business user's account.public String getPhone()
public void setPhone(String Phone)
Phone - This field indicates the mobile number of the business user's account. It supports recording mobile numbers across the world.public String getDesc()
public void setDesc(String Desc)
Desc - This field indicates the profile of the business user. It can contain **up to 5,000 letters and special symbols**.public String getHeadUrl()
public void setHeadUrl(String HeadUrl)
HeadUrl - This field indicates the access URL of the business user's profile photo in PNG, JPG, JPEG, BMP, GIF, or WEBP format.Copyright © 2025. All rights reserved.