public class AccountDetail extends AbstractModel
Constructor and Description |
---|
AccountDetail() |
AccountDetail(AccountDetail 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 Account type.
|
String |
getAuthentication()
Get Valid values: `win-windows authentication`, `sql-sqlserver authentication`.
|
String |
getCreateTime()
Get Account creation time
|
DBPrivilege[] |
getDbs()
Get Information of read and write permissions of this account on relevant databases
|
String |
getHost()
Get The host required for `win-windows authentication` account
|
String |
getInternalStatus()
Get Internal account status, which should be `enable` normally
|
Boolean |
getIsAdmin()
Get Whether it is an admin account
|
String |
getName()
Get Account name
|
String |
getPassTime()
Get Password update time
|
String |
getRemark()
Get Account remarks
|
Long |
getStatus()
Get Account status.
|
String |
getUpdateTime()
Get Account update time
|
void |
setAccountType(String AccountType)
Set Account type.
|
void |
setAuthentication(String Authentication)
Set Valid values: `win-windows authentication`, `sql-sqlserver authentication`.
|
void |
setCreateTime(String CreateTime)
Set Account creation time
|
void |
setDbs(DBPrivilege[] Dbs)
Set Information of read and write permissions of this account on relevant databases
|
void |
setHost(String Host)
Set The host required for `win-windows authentication` account
|
void |
setInternalStatus(String InternalStatus)
Set Internal account status, which should be `enable` normally
|
void |
setIsAdmin(Boolean IsAdmin)
Set Whether it is an admin account
|
void |
setName(String Name)
Set Account name
|
void |
setPassTime(String PassTime)
Set Password update time
|
void |
setRemark(String Remark)
Set Account remarks
|
void |
setStatus(Long Status)
Set Account status.
|
void |
setUpdateTime(String UpdateTime)
Set Account update time
|
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 AccountDetail()
public AccountDetail(AccountDetail source)
public String getName()
public void setName(String Name)
Name
- Account namepublic String getRemark()
public void setRemark(String Remark)
Remark
- Account remarkspublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Account creation timepublic Long getStatus()
public void setStatus(Long Status)
Status
- Account status. 1: creating, 2: normal, 3: modifying, 4: resetting password, -1: deletingpublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Account update timepublic String getPassTime()
public void setPassTime(String PassTime)
PassTime
- Password update timepublic String getInternalStatus()
public void setInternalStatus(String InternalStatus)
InternalStatus
- Internal account status, which should be `enable` normallypublic DBPrivilege[] getDbs()
public void setDbs(DBPrivilege[] Dbs)
Dbs
- Information of read and write permissions of this account on relevant databasespublic Boolean getIsAdmin()
public void setIsAdmin(Boolean IsAdmin)
IsAdmin
- Whether it is an admin accountpublic String getAuthentication()
public void setAuthentication(String Authentication)
Authentication
- Valid values: `win-windows authentication`, `sql-sqlserver authentication`.public String getHost()
public void setHost(String Host)
Host
- The host required for `win-windows authentication` accountpublic String getAccountType()
public void setAccountType(String AccountType)
AccountType
- Account type. Valid values: `L0` (admin account, only for basic edition), `L1` (privileged account), `L2` (designated account), `L3` (standard account).Copyright © 2023. All rights reserved.