public class ACLUserRule extends AbstractModel
Constructor and Description |
---|
ACLUserRule() |
ACLUserRule(ACLUserRule 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 |
getAction()
Get Action
|
ACLCondition[] |
getConditions()
Get ACL rule
|
String |
getName()
Get Name of the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained.
|
Long |
getPageId()
Get ID of the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained.
|
Long |
getPunishTime()
Get IP blocking time
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getPunishTimeUnit()
Get IP blocking time unit
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getRedirectUrl()
Get Redirection URL, which must be a subdomain name of the site
Note: This field may return `null`, indicating that no valid value can be obtained.
|
Long |
getResponseCode()
Get Return code configured on the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained.
|
Long |
getRuleID()
Get ID of the rule
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getRuleName()
Get Name of the rule
|
Long |
getRulePriority()
Get Priority of the rule
|
String |
getRuleStatus()
Get Status of the rule
|
String |
getUpdateTime()
Get Update time
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setAction(String Action)
Set Action
|
void |
setConditions(ACLCondition[] Conditions)
Set ACL rule
|
void |
setName(String Name)
Set Name of the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setPageId(Long PageId)
Set ID of the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setPunishTime(Long PunishTime)
Set IP blocking time
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setPunishTimeUnit(String PunishTimeUnit)
Set IP blocking time unit
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setRedirectUrl(String RedirectUrl)
Set Redirection URL, which must be a subdomain name of the site
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setResponseCode(Long ResponseCode)
Set Return code configured on the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setRuleID(Long RuleID)
Set ID of the rule
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setRuleName(String RuleName)
Set Name of the rule
|
void |
setRulePriority(Long RulePriority)
Set Priority of the rule
|
void |
setRuleStatus(String RuleStatus)
Set Status of the rule
|
void |
setUpdateTime(String UpdateTime)
Set Update time
Note: This field may return `null`, indicating that no valid value can be obtained.
|
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 ACLUserRule()
public ACLUserRule(ACLUserRule source)
public String getRuleName()
public void setRuleName(String RuleName)
RuleName
- Name of the rulepublic String getAction()
public void setAction(String Action)
Action
- Actionpublic String getRuleStatus()
public void setRuleStatus(String RuleStatus)
RuleStatus
- Status of the rulepublic ACLCondition[] getConditions()
public void setConditions(ACLCondition[] Conditions)
Conditions
- ACL rulepublic Long getRulePriority()
public void setRulePriority(Long RulePriority)
RulePriority
- Priority of the rulepublic Long getRuleID()
public void setRuleID(Long RuleID)
RuleID
- ID of the rule
Note: This field may return `null`, indicating that no valid value can be obtained.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Update time
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getPunishTime()
public void setPunishTime(Long PunishTime)
PunishTime
- IP blocking time
Note: This field may return `null`, indicating that no valid value can be obtained.public String getPunishTimeUnit()
public void setPunishTimeUnit(String PunishTimeUnit)
PunishTimeUnit
- IP blocking time unit
Note: This field may return `null`, indicating that no valid value can be obtained.public String getName()
public void setName(String Name)
Name
- Name of the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getPageId()
public void setPageId(Long PageId)
PageId
- ID of the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained.public String getRedirectUrl()
public void setRedirectUrl(String RedirectUrl)
RedirectUrl
- Redirection URL, which must be a subdomain name of the site
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getResponseCode()
public void setResponseCode(Long ResponseCode)
ResponseCode
- Return code configured on the custom block page
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.