public class RuleChoicePropertiesItem extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| RuleChoicePropertiesItem() | 
| RuleChoicePropertiesItem(RuleChoicePropertiesItem 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[] | getChoicesValue()Get 参数值的可选值。
注意:若参数值为用户自定义则该数组为空数组。 | 
| RuleExtraParameter | getExtraParameter()Get 特殊参数。
 为 NULL:RuleAction 选择 NormalAction;
 成员参数 Id 为 Action:RuleAction 选择 RewirteAction;
 成员参数 Id 为 StatusCode:RuleAction 选择 CodeAction。 | 
| Boolean | getIsAllowEmpty()Get 是否允许为空。 | 
| Boolean | getIsMultiple()Get 参数值是否支持多选或者填写多个。 | 
| Long | getMax()Get 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。 | 
| Long | getMin()Get 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。 | 
| String | getName()Get 参数名称。 | 
| String | getType()Get 参数值类型。
 CHOICE:参数值只能在 ChoicesValue 中选择; 
 TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;
 CUSTOM_NUM:参数值用户自定义,整型类型;
 CUSTOM_STRING:参数值用户自定义,字符串类型。 | 
| void | setChoicesValue(String[] ChoicesValue)Set 参数值的可选值。
注意:若参数值为用户自定义则该数组为空数组。 | 
| void | setExtraParameter(RuleExtraParameter ExtraParameter)Set 特殊参数。
 为 NULL:RuleAction 选择 NormalAction;
 成员参数 Id 为 Action:RuleAction 选择 RewirteAction;
 成员参数 Id 为 StatusCode:RuleAction 选择 CodeAction。 | 
| void | setIsAllowEmpty(Boolean IsAllowEmpty)Set 是否允许为空。 | 
| void | setIsMultiple(Boolean IsMultiple)Set 参数值是否支持多选或者填写多个。 | 
| void | setMax(Long Max)Set 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。 | 
| void | setMin(Long Min)Set 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。 | 
| void | setName(String Name)Set 参数名称。 | 
| void | setType(String Type)Set 参数值类型。
 CHOICE:参数值只能在 ChoicesValue 中选择; 
 TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;
 CUSTOM_NUM:参数值用户自定义,整型类型;
 CUSTOM_STRING:参数值用户自定义,字符串类型。 | 
| 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, toJsonStringpublic RuleChoicePropertiesItem()
public RuleChoicePropertiesItem(RuleChoicePropertiesItem source)
public String getName()
public void setName(String Name)
Name - 参数名称。public String getType()
public void setType(String Type)
Type - 参数值类型。
public String[] getChoicesValue()
public void setChoicesValue(String[] ChoicesValue)
ChoicesValue - 参数值的可选值。
注意:若参数值为用户自定义则该数组为空数组。public Long getMin()
public void setMin(Long Min)
Min - 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。public Long getMax()
public void setMax(Long Max)
Max - 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。public Boolean getIsMultiple()
public void setIsMultiple(Boolean IsMultiple)
IsMultiple - 参数值是否支持多选或者填写多个。public Boolean getIsAllowEmpty()
public void setIsAllowEmpty(Boolean IsAllowEmpty)
IsAllowEmpty - 是否允许为空。public RuleExtraParameter getExtraParameter()
public void setExtraParameter(RuleExtraParameter ExtraParameter)
ExtraParameter - 特殊参数。
Copyright © 2025. All rights reserved.