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 Database permissions.
|
String |
getUserName()
Get Database username
|
void |
setPrivilege(String Privilege)
Set Database permissions.
|
void |
setUserName(String UserName)
Set Database username
|
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
- Database usernamepublic String getPrivilege()
public void setPrivilege(String Privilege)
Privilege
- Database permissions. ReadWrite: read/write, ReadOnly: read-onlyCopyright © 2022. All rights reserved.