public class PGroupRuleInfo extends AbstractModel
Constructor and Description |
---|
PGroupRuleInfo() |
Modifier and Type | Method and Description |
---|---|
String |
getAuthClientIp()
Get Client IP allowed for access
|
Long |
getPriority()
Get Rule priority.
|
String |
getRuleId()
Get Rule ID
|
String |
getRWPermission()
Get Read/write permission.
|
String |
getUserPermission()
Get User permission.
|
void |
setAuthClientIp(String AuthClientIp)
Set Client IP allowed for access
|
void |
setPriority(Long Priority)
Set Rule priority.
|
void |
setRuleId(String RuleId)
Set Rule ID
|
void |
setRWPermission(String RWPermission)
Set Read/write permission.
|
void |
setUserPermission(String UserPermission)
Set User permission.
|
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 String getRuleId()
public void setRuleId(String RuleId)
RuleId
- Rule IDpublic String getAuthClientIp()
public void setAuthClientIp(String AuthClientIp)
AuthClientIp
- Client IP allowed for accesspublic String getRWPermission()
public void setRWPermission(String RWPermission)
RWPermission
- Read/write permission. ro: read-only; rw: read & writepublic String getUserPermission()
public void setUserPermission(String UserPermission)
UserPermission
- User permission. all_squash: any visiting user will be mapped to an anonymous user or user group; no_all_squash: a visiting user will be first matched with a local user, and if the match fails, it will be mapped to an anonymous user or user group; root_squash: a visiting root user will be mapped to an anonymous user or user group; no_root_squash: a visiting root user will be allowed to maintain root account permissions.public Long getPriority()
public void setPriority(Long Priority)
Priority
- Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowestCopyright © 2020. All rights reserved.