public class AccountPrivilege extends AbstractModel
Constructor and Description |
---|
AccountPrivilege() |
AccountPrivilege(AccountPrivilege 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 |
getPrivilege()
Get 数据库权限。ReadWrite表示可读写,ReadOnly表示只读
|
String |
getUserName()
Get 数据库用户名
|
void |
setPrivilege(String Privilege)
Set 数据库权限。ReadWrite表示可读写,ReadOnly表示只读
|
void |
setUserName(String UserName)
Set 数据库用户名
|
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 AccountPrivilege()
public AccountPrivilege(AccountPrivilege source)
public String getUserName()
public void setUserName(String UserName)
UserName
- 数据库用户名public String getPrivilege()
public void setPrivilege(String Privilege)
Privilege
- 数据库权限。ReadWrite表示可读写,ReadOnly表示只读Copyright © 2022. All rights reserved.