public class RuleCondition extends AbstractModel
Constructor and Description |
---|
RuleCondition() |
RuleCondition(RuleCondition 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 |
---|---|
Boolean |
getIgnoreCase()
Get Whether the parameter value is case insensitive.
|
Boolean |
getIgnoreNameCase()
Get Whether the parameter name is case insensitive.
|
String |
getName()
Get The parameter name of the match type.
|
String |
getOperator()
Get Operator.
|
String |
getTarget()
Get The match type.
|
String[] |
getValues()
Get The parameter value of the match type.
|
void |
setIgnoreCase(Boolean IgnoreCase)
Set Whether the parameter value is case insensitive.
|
void |
setIgnoreNameCase(Boolean IgnoreNameCase)
Set Whether the parameter name is case insensitive.
|
void |
setName(String Name)
Set The parameter name of the match type.
|
void |
setOperator(String Operator)
Set Operator.
|
void |
setTarget(String Target)
Set The match type.
|
void |
setValues(String[] Values)
Set The parameter value of the match type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public RuleCondition()
public RuleCondition(RuleCondition source)
public String getOperator()
public void setOperator(String Operator)
Operator
- Operator. Valid values:
public String getTarget()
public void setTarget(String Target)
Target
- The match type. Values:
public String[] getValues()
public void setValues(String[] Values)
Values
- The parameter value of the match type. It can be an empty string only when `Target=query string/request header` and `Operator=exist/notexist`.
public Boolean getIgnoreCase()
public void setIgnoreCase(Boolean IgnoreCase)
IgnoreCase
- Whether the parameter value is case insensitive. Default value: false.public String getName()
public void setName(String Name)
Name
- The parameter name of the match type. This field is required only when `Target=query_string/request_header`.
public Boolean getIgnoreNameCase()
public void setIgnoreNameCase(Boolean IgnoreNameCase)
IgnoreNameCase
- Whether the parameter name is case insensitive. Default value: `false`.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.