public class RuleBranch extends AbstractModel
header, skipSign
Constructor and Description |
---|
RuleBranch() |
RuleBranch(RuleBranch 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 |
---|---|
RuleEngineAction[] |
getActions()
Get [操作](https://cloud.tencent.com/document/product/1552/90438#c7bd7e02-9247-4a72-b0e4-11c27cadb198)。
注意:Actions 和 SubRules 不可同时为空。 注意:此字段可能返回 null,表示取不到有效值。 |
String |
getCondition()
Get [匹配条件](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。
|
RuleEngineSubRule[] |
getSubRules()
Get 子规则列表。此列表中时存在多条规则,按照从上往下的顺序依次执行。
注意:SubRules 和 Actions 不可同时为空。且当前只支持填写一层 SubRules。 注意:此字段可能返回 null,表示取不到有效值。 |
void |
setActions(RuleEngineAction[] Actions)
Set [操作](https://cloud.tencent.com/document/product/1552/90438#c7bd7e02-9247-4a72-b0e4-11c27cadb198)。
注意:Actions 和 SubRules 不可同时为空。 注意:此字段可能返回 null,表示取不到有效值。 |
void |
setCondition(String Condition)
Set [匹配条件](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。
|
void |
setSubRules(RuleEngineSubRule[] SubRules)
Set 子规则列表。此列表中时存在多条规则,按照从上往下的顺序依次执行。
注意:SubRules 和 Actions 不可同时为空。且当前只支持填写一层 SubRules。 注意:此字段可能返回 null,表示取不到有效值。 |
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, toJsonString
public RuleBranch()
public RuleBranch(RuleBranch source)
public String getCondition()
public void setCondition(String Condition)
Condition
- [匹配条件](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。public RuleEngineAction[] getActions()
public void setActions(RuleEngineAction[] Actions)
Actions
- [操作](https://cloud.tencent.com/document/product/1552/90438#c7bd7e02-9247-4a72-b0e4-11c27cadb198)。public RuleEngineSubRule[] getSubRules()
public void setSubRules(RuleEngineSubRule[] SubRules)
SubRules
- 子规则列表。此列表中时存在多条规则,按照从上往下的顺序依次执行。Copyright © 2025. All rights reserved.