public class RuleChoicePropertiesItem extends AbstractModel
| 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 Valid parameter values. | 
| RuleExtraParameter | getExtraParameter()Get Special parameter. | 
| Boolean | getIsAllowEmpty()Get Whether the parameter can be left empty. | 
| Boolean | getIsMultiple()Get Whether multiple values can be selected or entered. | 
| Long | getMax()Get Maximum value. | 
| Long | getMin()Get Minimum value. | 
| String | getName()Get The parameter name. | 
| String | getType()Get The parameter value type. | 
| void | setChoicesValue(String[] ChoicesValue)Set Valid parameter values. | 
| void | setExtraParameter(RuleExtraParameter ExtraParameter)Set Special parameter. | 
| void | setIsAllowEmpty(Boolean IsAllowEmpty)Set Whether the parameter can be left empty. | 
| void | setIsMultiple(Boolean IsMultiple)Set Whether multiple values can be selected or entered. | 
| void | setMax(Long Max)Set Maximum value. | 
| void | setMin(Long Min)Set Minimum value. | 
| void | setName(String Name)Set The parameter name. | 
| void | setType(String Type)Set The parameter value 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, toJsonStringpublic RuleChoicePropertiesItem()
public RuleChoicePropertiesItem(RuleChoicePropertiesItem source)
public String getName()
public void setName(String Name)
Name - The parameter name.public String getType()
public void setType(String Type)
Type - The parameter value type.
public String[] getChoicesValue()
public void setChoicesValue(String[] ChoicesValue)
ChoicesValue - Valid parameter values.
Note: If `Type` is `CUSTOM_NUM` or `CUSTOM_STRING`, this parameter will be an empty array.public Long getMin()
public void setMin(Long Min)
Min - Minimum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect.public Long getMax()
public void setMax(Long Max)
Max - Maximum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect.public Boolean getIsMultiple()
public void setIsMultiple(Boolean IsMultiple)
IsMultiple - Whether multiple values can be selected or entered.public Boolean getIsAllowEmpty()
public void setIsAllowEmpty(Boolean IsAllowEmpty)
IsAllowEmpty - Whether the parameter can be left empty.public RuleExtraParameter getExtraParameter()
public void setExtraParameter(RuleExtraParameter ExtraParameter)
ExtraParameter - Special parameter.
Copyright © 2022. All rights reserved.