public class AddUserRequest extends AbstractModel
| Constructor and Description | 
|---|
| AddUserRequest() | 
| AddUserRequest(AddUserRequest 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 | 
|---|---|
| Long | getConsoleLogin()Get Whether or not the sub-user is allowed to log in to the console. | 
| String | getCountryCode()Get Country/Area Code | 
| String | getEmail()Get Email | 
| String | getName()Get Sub-user username | 
| Long | getNeedResetPassword()Get If the sub-user needs to reset their password when they next log in to the console. | 
| String | getPassword()Get Sub-user's console login password. | 
| String | getPhoneNum()Get Mobile number | 
| String | getRemark()Get Sub-user remarks | 
| Long | getUseApi()Get Whether or not to generate keys for sub-users. | 
| void | setConsoleLogin(Long ConsoleLogin)Set Whether or not the sub-user is allowed to log in to the console. | 
| void | setCountryCode(String CountryCode)Set Country/Area Code | 
| void | setEmail(String Email)Set Email | 
| void | setName(String Name)Set Sub-user username | 
| void | setNeedResetPassword(Long NeedResetPassword)Set If the sub-user needs to reset their password when they next log in to the console. | 
| void | setPassword(String Password)Set Sub-user's console login password. | 
| void | setPhoneNum(String PhoneNum)Set Mobile number | 
| void | setRemark(String Remark)Set Sub-user remarks | 
| void | setUseApi(Long UseApi)Set Whether or not to generate keys for sub-users. | 
| 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 AddUserRequest()
public AddUserRequest(AddUserRequest source)
public String getName()
public void setName(String Name)
Name - Sub-user usernamepublic String getRemark()
public void setRemark(String Remark)
Remark - Sub-user remarkspublic Long getConsoleLogin()
public void setConsoleLogin(Long ConsoleLogin)
ConsoleLogin - Whether or not the sub-user is allowed to log in to the console. 0: No; 1: Yes.public Long getUseApi()
public void setUseApi(Long UseApi)
UseApi - Whether or not to generate keys for sub-users. 0: No; 1: Yes.public String getPassword()
public void setPassword(String Password)
Password - Sub-user's console login password. If no password rules have been set, the password must have a minimum of 8 characters containing uppercase letters, lowercase letters, digits, and special characters by default. This parameter will be valid only when the sub-user is allowed to log in to the console. If it is not specified and console login is allowed, the system will automatically generate a random 32-character password that contains uppercase letters, lowercase letters, digits, and special characters.public Long getNeedResetPassword()
public void setNeedResetPassword(Long NeedResetPassword)
NeedResetPassword - If the sub-user needs to reset their password when they next log in to the console. 0: No; 1: Yes.public String getPhoneNum()
public void setPhoneNum(String PhoneNum)
PhoneNum - Mobile numberpublic String getCountryCode()
public void setCountryCode(String CountryCode)
CountryCode - Country/Area Codepublic String getEmail()
public void setEmail(String Email)
Email - EmailCopyright © 2022. All rights reserved.