public class RuleItem extends AbstractModel
header, skipSign
Constructor and Description |
---|
RuleItem() |
RuleItem(RuleItem 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 |
getRuleId()
Get The rule ID.
|
String |
getRuleName()
Get The rule name.
|
Long |
getRulePriority()
Get The rule priority.
|
Rule[] |
getRules()
Get The rule content.
|
String |
getStatus()
Get Rule status.
|
String[] |
getTags()
Get Tag of the rule.
|
void |
setRuleId(String RuleId)
Set The rule ID.
|
void |
setRuleName(String RuleName)
Set The rule name.
|
void |
setRulePriority(Long RulePriority)
Set The rule priority.
|
void |
setRules(Rule[] Rules)
Set The rule content.
|
void |
setStatus(String Status)
Set Rule status.
|
void |
setTags(String[] Tags)
Set Tag of the rule.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RuleItem()
public RuleItem(RuleItem source)
public String getRuleId()
public void setRuleId(String RuleId)
RuleId
- The rule ID.public String getRuleName()
public void setRuleName(String RuleName)
RuleName
- The rule name. It is a string that can contain 1–255 characters.public String getStatus()
public void setStatus(String Status)
Status
- Rule status. Values:
public Rule[] getRules()
public void setRules(Rule[] Rules)
Rules
- The rule content.public Long getRulePriority()
public void setRulePriority(Long RulePriority)
RulePriority
- The rule priority. The greater the value, the higher the priority. The minimum value is `1`.public String[] getTags()
public void setTags(String[] Tags)
Tags
- Tag of the rule.Copyright © 2024. All rights reserved.