public class ManagedRule extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ManagedRule() |
ManagedRule(ManagedRule 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 |
getDescription()
Get Rule description
|
Long |
getRuleId()
Get ID of the rule
|
String |
getRuleLevelDesc()
Get Rule level
|
String[] |
getRuleTags()
Get Tag of the rule
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getRuleTypeDesc()
Get Description of the rule type
Note: This field may return `null`, indicating that no valid value can be obtained.
|
Long |
getRuleTypeId()
Get ID of the rule type
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getRuleTypeName()
Get Rule type
|
String |
getStatus()
Get Rule status: `block`, `allow`
|
String |
getUpdateTime()
Get Update time
|
void |
setDescription(String Description)
Set Rule description
|
void |
setRuleId(Long RuleId)
Set ID of the rule
|
void |
setRuleLevelDesc(String RuleLevelDesc)
Set Rule level
|
void |
setRuleTags(String[] RuleTags)
Set Tag of the rule
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setRuleTypeDesc(String RuleTypeDesc)
Set Description of the rule type
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setRuleTypeId(Long RuleTypeId)
Set ID of the rule type
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setRuleTypeName(String RuleTypeName)
Set Rule type
|
void |
setStatus(String Status)
Set Rule status: `block`, `allow`
|
void |
setUpdateTime(String UpdateTime)
Set Update time
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ManagedRule()
public ManagedRule(ManagedRule source)
public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId - ID of the rulepublic String getDescription()
public void setDescription(String Description)
Description - Rule descriptionpublic String getRuleTypeName()
public void setRuleTypeName(String RuleTypeName)
RuleTypeName - Rule typepublic String getRuleLevelDesc()
public void setRuleLevelDesc(String RuleLevelDesc)
RuleLevelDesc - Rule levelpublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime - Update timepublic String getStatus()
public void setStatus(String Status)
Status - Rule status: `block`, `allow`public String[] getRuleTags()
public void setRuleTags(String[] RuleTags)
RuleTags - Tag of the rule
Note: This field may return `null`, indicating that no valid value can be obtained.public String getRuleTypeDesc()
public void setRuleTypeDesc(String RuleTypeDesc)
RuleTypeDesc - Description of the rule type
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getRuleTypeId()
public void setRuleTypeId(Long RuleTypeId)
RuleTypeId - ID of the rule type
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.