public class Rules extends AbstractModel
header, skipSign
Constructor and Description |
---|
Rules() |
Rules(Rules 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 |
---|---|
RuleConditionItem[] |
getConditions()
Get Judgment condition configuration.
|
String |
getId()
Get Judgment condition ID.
|
String |
getLinker()
Get Logical operator for the list of conditions.
|
Long[] |
getRearDriveIndexs()
Get Indexes of the nodes to execute if the judgment conditions are met.
|
void |
setConditions(RuleConditionItem[] Conditions)
Set Judgment condition configuration.
|
void |
setId(String Id)
Set Judgment condition ID.
|
void |
setLinker(String Linker)
Set Logical operator for the list of conditions.
|
void |
setRearDriveIndexs(Long[] RearDriveIndexs)
Set Indexes of the nodes to execute if the judgment conditions are met.
|
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 Rules()
public Rules(Rules source)
public String getId()
public void setId(String Id)
Id
- Judgment condition ID.
Note: This field may return null, indicating that no valid value can be obtained.public RuleConditionItem[] getConditions()
public void setConditions(RuleConditionItem[] Conditions)
Conditions
- Judgment condition configuration.
Note: This field may return null, indicating that no valid value can be obtained.public String getLinker()
public void setLinker(String Linker)
Linker
- Logical operator for the list of conditions. Valid values:
- &&: logical AND
- ||: logical ORpublic Long[] getRearDriveIndexs()
public void setRearDriveIndexs(Long[] RearDriveIndexs)
RearDriveIndexs
- Indexes of the nodes to execute if the judgment conditions are met.
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.