public class CreateUserRequest extends AbstractModel
Constructor and Description |
---|
CreateUserRequest() |
CreateUserRequest(CreateUserRequest 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 |
getDescription()
Get User remarks, which can contain up to 512 characters.
|
String |
getDisplayName()
Get Nickname, which can contain up to 64 characters and is the same as the username by default.
|
String |
getEmail()
Get User's email address.
|
String |
getExpirationTime()
Get User expiration time in ISO 8601 format.
|
String |
getOrgNodeId()
Get Unique ID of the user's primary organization.
|
String |
getPassword()
Get User password, which needs to be configured according to the password policy.
|
String |
getPhone()
Get User's mobile number, such as `+86-1xxxxxxxxxx`.
|
Boolean |
getPwdNeedReset()
Get Whether the password needs to be reset.
|
String[] |
getSecondaryOrgNodeIdList()
Get List of IDs of the user's secondary organizations.
|
String[] |
getUserGroupIds()
Get List of IDs of the user's user groups.
|
String |
getUserName()
Get Username, which can contain up to 64 characters.
|
void |
setDescription(String Description)
Set User remarks, which can contain up to 512 characters.
|
void |
setDisplayName(String DisplayName)
Set Nickname, which can contain up to 64 characters and is the same as the username by default.
|
void |
setEmail(String Email)
Set User's email address.
|
void |
setExpirationTime(String ExpirationTime)
Set User expiration time in ISO 8601 format.
|
void |
setOrgNodeId(String OrgNodeId)
Set Unique ID of the user's primary organization.
|
void |
setPassword(String Password)
Set User password, which needs to be configured according to the password policy.
|
void |
setPhone(String Phone)
Set User's mobile number, such as `+86-1xxxxxxxxxx`.
|
void |
setPwdNeedReset(Boolean PwdNeedReset)
Set Whether the password needs to be reset.
|
void |
setSecondaryOrgNodeIdList(String[] SecondaryOrgNodeIdList)
Set List of IDs of the user's secondary organizations.
|
void |
setUserGroupIds(String[] UserGroupIds)
Set List of IDs of the user's user groups.
|
void |
setUserName(String UserName)
Set Username, which can contain up to 64 characters.
|
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, toJsonString
public CreateUserRequest()
public CreateUserRequest(CreateUserRequest source)
public String getUserName()
public void setUserName(String UserName)
UserName
- Username, which can contain up to 64 characters.public String getPassword()
public void setPassword(String Password)
Password
- User password, which needs to be configured according to the password policy.public String getDisplayName()
public void setDisplayName(String DisplayName)
DisplayName
- Nickname, which can contain up to 64 characters and is the same as the username by default.public String getDescription()
public void setDescription(String Description)
Description
- User remarks, which can contain up to 512 characters.public String[] getUserGroupIds()
public void setUserGroupIds(String[] UserGroupIds)
UserGroupIds
- List of IDs of the user's user groups.public String getPhone()
public void setPhone(String Phone)
Phone
- User's mobile number, such as `+86-1xxxxxxxxxx`.public String getOrgNodeId()
public void setOrgNodeId(String OrgNodeId)
OrgNodeId
- Unique ID of the user's primary organization. If this parameter is left empty, the user will be created under the root node by default.public String getExpirationTime()
public void setExpirationTime(String ExpirationTime)
ExpirationTime
- User expiration time in ISO 8601 format.public String getEmail()
public void setEmail(String Email)
Email
- User's email address.public Boolean getPwdNeedReset()
public void setPwdNeedReset(Boolean PwdNeedReset)
PwdNeedReset
- Whether the password needs to be reset. Default value: false (no).public String[] getSecondaryOrgNodeIdList()
public void setSecondaryOrgNodeIdList(String[] SecondaryOrgNodeIdList)
SecondaryOrgNodeIdList
- List of IDs of the user's secondary organizations.Copyright © 2023. All rights reserved.