public class AclUserRule extends AbstractModel
skipSign
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 |
---|---|
AclCondition[] |
getAclConditions()
Get The custom rule.
|
String |
getAction()
Get The rule action.
|
String |
getName()
Get The name of the custom page, which defaults to an empty string.
|
Long |
getPageId()
Get The ID of the custom page, which defaults to 0.
|
Long |
getPunishTime()
Get The IP blocking duration.
|
String |
getPunishTimeUnit()
Get The unit of the IP blocking duration.
|
String |
getRedirectUrl()
Get The redirection URL, which must be a subdomain name of the site.
|
Long |
getResponseCode()
Get The response code returned after redirection, which defaults to 0.
|
Long |
getRuleID()
Get The rule ID, which is only used as an output parameter.
|
String |
getRuleName()
Get The rule name.
|
Long |
getRulePriority()
Get The rule priority.
|
String |
getRuleStatus()
Get The rule status.
|
String |
getUpdateTime()
Get The update time, which is only used as an output parameter.
|
void |
setAclConditions(AclCondition[] AclConditions)
Set The custom rule.
|
void |
setAction(String Action)
Set The rule action.
|
void |
setName(String Name)
Set The name of the custom page, which defaults to an empty string.
|
void |
setPageId(Long PageId)
Set The ID of the custom page, which defaults to 0.
|
void |
setPunishTime(Long PunishTime)
Set The IP blocking duration.
|
void |
setPunishTimeUnit(String PunishTimeUnit)
Set The unit of the IP blocking duration.
|
void |
setRedirectUrl(String RedirectUrl)
Set The redirection URL, which must be a subdomain name of the site.
|
void |
setResponseCode(Long ResponseCode)
Set The response code returned after redirection, which defaults to 0.
|
void |
setRuleID(Long RuleID)
Set The rule ID, which is only used as an output parameter.
|
void |
setRuleName(String RuleName)
Set The rule name.
|
void |
setRulePriority(Long RulePriority)
Set The rule priority.
|
void |
setRuleStatus(String RuleStatus)
Set The rule status.
|
void |
setUpdateTime(String UpdateTime)
Set The update time, which is only used as an output parameter.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AclUserRule()
public AclUserRule(AclUserRule source)
public String getRuleName()
public void setRuleName(String RuleName)
RuleName
- The rule name.public String getAction()
public void setAction(String Action)
Action
- The rule action. Values:
public String getRuleStatus()
public void setRuleStatus(String RuleStatus)
RuleStatus
- The rule status. Values:
public AclCondition[] getAclConditions()
public void setAclConditions(AclCondition[] AclConditions)
AclConditions
- The custom rule.public Long getRulePriority()
public void setRulePriority(Long RulePriority)
RulePriority
- The rule priority. Value range: 0-100.public Long getRuleID()
public void setRuleID(Long RuleID)
RuleID
- The rule ID, which is only used as an output parameter.
Note: This field may return null, indicating that no valid values can be obtained.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- The update time, which is only used as an output parameter.
Note: This field may return null, indicating that no valid values can be obtained.public Long getPunishTime()
public void setPunishTime(Long PunishTime)
PunishTime
- The IP blocking duration. Value range: 0 seconds - 2 days. Default value: 0 seconds.
Note: This field may return null, indicating that no valid values can be obtained.public String getPunishTimeUnit()
public void setPunishTimeUnit(String PunishTimeUnit)
PunishTimeUnit
- The unit of the IP blocking duration. Values:
public String getName()
public void setName(String Name)
Name
- The name of the custom page, which defaults to an empty string.
Note: This field may return null, indicating that no valid values can be obtained.public Long getPageId()
public void setPageId(Long PageId)
PageId
- The ID of the custom page, which defaults to 0.
Note: This field may return null, indicating that no valid values can be obtained.public String getRedirectUrl()
public void setRedirectUrl(String RedirectUrl)
RedirectUrl
- The redirection URL, which must be a subdomain name of the site. It defaults to an empty string.
Note: This field may return null, indicating that no valid values can be obtained.public Long getResponseCode()
public void setResponseCode(Long ResponseCode)
ResponseCode
- The response code returned after redirection, which defaults to 0.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.