public class PackSpec extends AbstractModel
Constructor and Description |
---|
PackSpec() |
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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAmount()
Get 数量
|
CodePart[] |
getCodeParts()
Get 码段配置
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getCustomId()
Get 码规则ID
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getLevel()
Get 层级
|
Long |
getRate()
Get 比例
|
void |
setAmount(Long Amount)
Set 数量
|
void |
setCodeParts(CodePart[] CodeParts)
Set 码段配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCustomId(String CustomId)
Set 码规则ID
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLevel(Long Level)
Set 层级
|
void |
setRate(Long Rate)
Set 比例
|
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, toJsonString
public PackSpec()
public PackSpec(PackSpec source)
public Long getLevel()
public void setLevel(Long Level)
Level
- 层级public Long getRate()
public void setRate(Long Rate)
Rate
- 比例public Long getAmount()
public void setAmount(Long Amount)
Amount
- 数量public String getCustomId()
public void setCustomId(String CustomId)
CustomId
- 码规则ID
注意:此字段可能返回 null,表示取不到有效值。public CodePart[] getCodeParts()
public void setCodeParts(CodePart[] CodeParts)
CodeParts
- 码段配置
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.