Class RulesProperties
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.models.RulesProperties
-
public class RulesProperties extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description RulesProperties()RulesProperties(RulesProperties 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 RuleChoicePropertiesItem[]getChoiceProperties()Get 该参数对应的关联配置参数,属于调用接口的必填参数。 注意:如果可选参数无特殊新增参数则该数组为空数组。String[]getChoicesValue()Get 参数值的可选值。 注意:若参数值为用户自定义则该数组为空数组。RuleExtraParametergetExtraParameter()Get 为 NULL:无特殊参数,RuleAction 选择 NormalAction; 注意:此字段可能返回 null,表示取不到有效值。BooleangetIsAllowEmpty()Get 是否允许为空。BooleangetIsMultiple()Get 参数值是否支持多选或者填写多个。LonggetMax()Get 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。LonggetMin()Get 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。StringgetName()Get 值为参数名称。StringgetType()Get 参数值类型。 CHOICE:参数值只能在 ChoicesValue 中选择; TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择; OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性; CUSTOM_NUM:参数值用户自定义,整型类型; CUSTOM_STRING:参数值用户自定义,字符串类型。注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://tcloud4api.woa.com/document/product/1657/79382?!preview&!document=1)voidsetChoiceProperties(RuleChoicePropertiesItem[] ChoiceProperties)Set 该参数对应的关联配置参数,属于调用接口的必填参数。 注意:如果可选参数无特殊新增参数则该数组为空数组。voidsetChoicesValue(String[] ChoicesValue)Set 参数值的可选值。 注意:若参数值为用户自定义则该数组为空数组。voidsetExtraParameter(RuleExtraParameter ExtraParameter)Set 为 NULL:无特殊参数,RuleAction 选择 NormalAction; 注意:此字段可能返回 null,表示取不到有效值。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 中选择; OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性; CUSTOM_NUM:参数值用户自定义,整型类型; CUSTOM_STRING:参数值用户自定义,字符串类型。注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://tcloud4api.woa.com/document/product/1657/79382?!preview&!document=1)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
-
RulesProperties
public RulesProperties()
-
RulesProperties
public RulesProperties(RulesProperties 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- 值为参数名称。
-
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 则此项无意义。
-
getChoicesValue
public String[] getChoicesValue()
Get 参数值的可选值。 注意:若参数值为用户自定义则该数组为空数组。- Returns:
- ChoicesValue 参数值的可选值。 注意:若参数值为用户自定义则该数组为空数组。
-
setChoicesValue
public void setChoicesValue(String[] ChoicesValue)
Set 参数值的可选值。 注意:若参数值为用户自定义则该数组为空数组。- Parameters:
ChoicesValue- 参数值的可选值。 注意:若参数值为用户自定义则该数组为空数组。
-
getType
public String getType()
Get 参数值类型。- CHOICE:参数值只能在 ChoicesValue 中选择;
- TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;
- OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性;
- CUSTOM_NUM:参数值用户自定义,整型类型;
- CUSTOM_STRING:参数值用户自定义,字符串类型。
注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://tcloud4api.woa.com/document/product/1657/79382?!preview&!document=1)- Returns:
- Type 参数值类型。
- CHOICE:参数值只能在 ChoicesValue 中选择;
- TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;
- OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性;
- CUSTOM_NUM:参数值用户自定义,整型类型;
- CUSTOM_STRING:参数值用户自定义,字符串类型。
注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://tcloud4api.woa.com/document/product/1657/79382?!preview&!document=1)
-
setType
public void setType(String Type)
Set 参数值类型。- CHOICE:参数值只能在 ChoicesValue 中选择;
- TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;
- OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性;
- CUSTOM_NUM:参数值用户自定义,整型类型;
- CUSTOM_STRING:参数值用户自定义,字符串类型。
注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://tcloud4api.woa.com/document/product/1657/79382?!preview&!document=1)- Parameters:
Type- 参数值类型。- CHOICE:参数值只能在 ChoicesValue 中选择;
- TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;
- OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性;
- CUSTOM_NUM:参数值用户自定义,整型类型;
- CUSTOM_STRING:参数值用户自定义,字符串类型。
注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://tcloud4api.woa.com/document/product/1657/79382?!preview&!document=1)
-
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- 是否允许为空。
-
getChoiceProperties
public RuleChoicePropertiesItem[] getChoiceProperties()
Get 该参数对应的关联配置参数,属于调用接口的必填参数。 注意:如果可选参数无特殊新增参数则该数组为空数组。- Returns:
- ChoiceProperties 该参数对应的关联配置参数,属于调用接口的必填参数。 注意:如果可选参数无特殊新增参数则该数组为空数组。
-
setChoiceProperties
public void setChoiceProperties(RuleChoicePropertiesItem[] ChoiceProperties)
Set 该参数对应的关联配置参数,属于调用接口的必填参数。 注意:如果可选参数无特殊新增参数则该数组为空数组。- Parameters:
ChoiceProperties- 该参数对应的关联配置参数,属于调用接口的必填参数。 注意:如果可选参数无特殊新增参数则该数组为空数组。
-
getExtraParameter
public RuleExtraParameter getExtraParameter()
Get- 为 NULL:无特殊参数,RuleAction 选择 NormalAction;
注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ExtraParameter
- 为 NULL:无特殊参数,RuleAction 选择 NormalAction;
注意:此字段可能返回 null,表示取不到有效值。
-
setExtraParameter
public void setExtraParameter(RuleExtraParameter ExtraParameter)
Set- 为 NULL:无特殊参数,RuleAction 选择 NormalAction;
注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ExtraParameter-- 为 NULL:无特殊参数,RuleAction 选择 NormalAction;
注意:此字段可能返回 null,表示取不到有效值。
-
-