public class RuleCondition extends AbstractModel
header, skipSign
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()
Deprecated.
|
String |
getName()
Get The parameter name of the match type.
|
String |
getOperator()
Get Operator.
|
String |
getTarget()
Get Match type.
|
String[] |
getValues()
Get The parameter values for match types.
|
void |
setIgnoreCase(Boolean IgnoreCase)
Set Whether the parameter value is case insensitive.
|
void |
setIgnoreNameCase(Boolean IgnoreNameCase)
Deprecated.
|
void |
setName(String Name)
Set The parameter name of the match type.
|
void |
setOperator(String Operator)
Set Operator.
|
void |
setTarget(String Target)
Set Match type.
|
void |
setValues(String[] Values)
Set The parameter values for match types.
|
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 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
- Match type. Valid values: public String[] getValues()
public void setValues(String[] Values)
Values
- The parameter values for match types. It is allowed to pass an empty array only when the match type is query_string or request_header and the operator value is Exist or Does Not Exist. The corresponding match types include:
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`.
@Deprecated public Boolean getIgnoreNameCase()
@Deprecated 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 © 2024. All rights reserved.