Class RuleChoicePropertiesItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.models.RuleChoicePropertiesItem
-
public class RuleChoicePropertiesItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getChoicesValue()Get 参数值的可选值。 注意:若参数值为用户自定义则该数组为空数组。RuleExtraParametergetExtraParameter()Get 特殊参数。 为 NULL:RuleAction 选择 NormalAction; 成员参数 Id 为 Action:RuleAction 选择 RewirteAction; 成员参数 Id 为 StatusCode:RuleAction 选择 CodeAction。BooleangetIsAllowEmpty()Get 是否允许为空。BooleangetIsMultiple()Get 参数值是否支持多选或者填写多个。LonggetMax()Get 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。LonggetMin()Get 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。StringgetName()Get 参数名称。StringgetType()Get 参数值类型。 CHOICE:参数值只能在 ChoicesValue 中选择; TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择; CUSTOM_NUM:参数值用户自定义,整型类型; CUSTOM_STRING:参数值用户自定义,字符串类型。voidsetChoicesValue(String[] ChoicesValue)Set 参数值的可选值。 注意:若参数值为用户自定义则该数组为空数组。voidsetExtraParameter(RuleExtraParameter ExtraParameter)Set 特殊参数。 为 NULL:RuleAction 选择 NormalAction; 成员参数 Id 为 Action:RuleAction 选择 RewirteAction; 成员参数 Id 为 StatusCode:RuleAction 选择 CodeAction。voidsetIsAllowEmpty(Boolean IsAllowEmpty)Set 是否允许为空。voidsetIsMultiple(Boolean IsMultiple)Set 参数值是否支持多选或者填写多个。voidsetMax(Long Max)Set 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。voidsetMin(Long Min)Set 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。voidsetName(String Name)Set 参数名称。voidsetType(String Type)Set 参数值类型。 CHOICE:参数值只能在 ChoicesValue 中选择; TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择; CUSTOM_NUM:参数值用户自定义,整型类型; CUSTOM_STRING:参数值用户自定义,字符串类型。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
RuleChoicePropertiesItem
public RuleChoicePropertiesItem()
-
RuleChoicePropertiesItem
public 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.
-
-
Method Detail
-
getName
public String getName()
Get 参数名称。- Returns:
- Name 参数名称。
-
setName
public void setName(String Name)
Set 参数名称。- Parameters:
Name- 参数名称。
-
getType
public String getType()
Get 参数值类型。- CHOICE:参数值只能在 ChoicesValue 中选择;
- TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;
- CUSTOM_NUM:参数值用户自定义,整型类型;
- CUSTOM_STRING:参数值用户自定义,字符串类型。
- Returns:
- Type 参数值类型。
- CHOICE:参数值只能在 ChoicesValue 中选择;
- TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;
- CUSTOM_NUM:参数值用户自定义,整型类型;
- CUSTOM_STRING:参数值用户自定义,字符串类型。
-
setType
public void setType(String Type)
Set 参数值类型。- CHOICE:参数值只能在 ChoicesValue 中选择;
- TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;
- CUSTOM_NUM:参数值用户自定义,整型类型;
- CUSTOM_STRING:参数值用户自定义,字符串类型。
- Parameters:
Type- 参数值类型。- CHOICE:参数值只能在 ChoicesValue 中选择;
- TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;
- CUSTOM_NUM:参数值用户自定义,整型类型;
- CUSTOM_STRING:参数值用户自定义,字符串类型。
-
getChoicesValue
public String[] getChoicesValue()
Get 参数值的可选值。 注意:若参数值为用户自定义则该数组为空数组。- Returns:
- ChoicesValue 参数值的可选值。 注意:若参数值为用户自定义则该数组为空数组。
-
setChoicesValue
public void setChoicesValue(String[] ChoicesValue)
Set 参数值的可选值。 注意:若参数值为用户自定义则该数组为空数组。- Parameters:
ChoicesValue- 参数值的可选值。 注意:若参数值为用户自定义则该数组为空数组。
-
getMin
public Long getMin()
Get 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。- Returns:
- Min 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
-
setMin
public void setMin(Long Min)
Set 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。- Parameters:
Min- 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
-
getMax
public Long getMax()
Get 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。- Returns:
- Max 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
-
setMax
public void setMax(Long Max)
Set 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。- Parameters:
Max- 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
-
getIsMultiple
public Boolean getIsMultiple()
Get 参数值是否支持多选或者填写多个。- Returns:
- IsMultiple 参数值是否支持多选或者填写多个。
-
setIsMultiple
public void setIsMultiple(Boolean IsMultiple)
Set 参数值是否支持多选或者填写多个。- Parameters:
IsMultiple- 参数值是否支持多选或者填写多个。
-
getIsAllowEmpty
public Boolean getIsAllowEmpty()
Get 是否允许为空。- Returns:
- IsAllowEmpty 是否允许为空。
-
setIsAllowEmpty
public void setIsAllowEmpty(Boolean IsAllowEmpty)
Set 是否允许为空。- Parameters:
IsAllowEmpty- 是否允许为空。
-
getExtraParameter
public RuleExtraParameter getExtraParameter()
Get 特殊参数。- 为 NULL:RuleAction 选择 NormalAction;
- 成员参数 Id 为 Action:RuleAction 选择 RewirteAction;
- 成员参数 Id 为 StatusCode:RuleAction 选择 CodeAction。
- Returns:
- ExtraParameter 特殊参数。
- 为 NULL:RuleAction 选择 NormalAction;
- 成员参数 Id 为 Action:RuleAction 选择 RewirteAction;
- 成员参数 Id 为 StatusCode:RuleAction 选择 CodeAction。
-
setExtraParameter
public void setExtraParameter(RuleExtraParameter ExtraParameter)
Set 特殊参数。- 为 NULL:RuleAction 选择 NormalAction;
- 成员参数 Id 为 Action:RuleAction 选择 RewirteAction;
- 成员参数 Id 为 StatusCode:RuleAction 选择 CodeAction。
- Parameters:
ExtraParameter- 特殊参数。- 为 NULL:RuleAction 选择 NormalAction;
- 成员参数 Id 为 Action:RuleAction 选择 RewirteAction;
- 成员参数 Id 为 StatusCode:RuleAction 选择 CodeAction。
-
-