public class NumOrPercent extends AbstractModel
header, skipSign| Constructor and Description |
|---|
NumOrPercent() |
NumOrPercent(NumOrPercent 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 |
getType()
Get Valid values: Num and Percent, which indicate quantity and percentage respectively.
|
Long |
getValue()
Get Numeric value.
|
void |
setType(String Type)
Set Valid values: Num and Percent, which indicate quantity and percentage respectively.
|
void |
setValue(Long Value)
Set Numeric value.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic NumOrPercent()
public NumOrPercent(NumOrPercent source)
public String getType()
public void setType(String Type)
Type - Valid values: Num and Percent, which indicate quantity and percentage respectively. The default value is Num.public Long getValue()
public void setValue(Long Value)
Value - Numeric value.Copyright © 2025. All rights reserved.