Class PackSpec
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trp.v20210515.models.PackSpec
-
public class PackSpec extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetAmount()Get 数量CodePart[]getCodeParts()Get 码段配置 注意:此字段可能返回 null,表示取不到有效值。StringgetCustomId()Get 码规则ID 注意:此字段可能返回 null,表示取不到有效值。LonggetLevel()Get 层级LonggetRate()Get 比例voidsetAmount(Long Amount)Set 数量voidsetCodeParts(CodePart[] CodeParts)Set 码段配置 注意:此字段可能返回 null,表示取不到有效值。voidsetCustomId(String CustomId)Set 码规则ID 注意:此字段可能返回 null,表示取不到有效值。voidsetLevel(Long Level)Set 层级voidsetRate(Long Rate)Set 比例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
-
PackSpec
public PackSpec()
-
PackSpec
public PackSpec(PackSpec 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
-
getLevel
public Long getLevel()
Get 层级- Returns:
- Level 层级
-
setLevel
public void setLevel(Long Level)
Set 层级- Parameters:
Level- 层级
-
getRate
public Long getRate()
Get 比例- Returns:
- Rate 比例
-
setRate
public void setRate(Long Rate)
Set 比例- Parameters:
Rate- 比例
-
getAmount
public Long getAmount()
Get 数量- Returns:
- Amount 数量
-
setAmount
public void setAmount(Long Amount)
Set 数量- Parameters:
Amount- 数量
-
getCustomId
public String getCustomId()
Get 码规则ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CustomId 码规则ID 注意:此字段可能返回 null,表示取不到有效值。
-
setCustomId
public void setCustomId(String CustomId)
Set 码规则ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CustomId- 码规则ID 注意:此字段可能返回 null,表示取不到有效值。
-
getCodeParts
public CodePart[] getCodeParts()
Get 码段配置 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CodeParts 码段配置 注意:此字段可能返回 null,表示取不到有效值。
-
setCodeParts
public void setCodeParts(CodePart[] CodeParts)
Set 码段配置 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CodeParts- 码段配置 注意:此字段可能返回 null,表示取不到有效值。
-
-