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 Num,Percent ,分别表示数量和百分比,默认为 Num
|
Long |
getValue()
Get 数值
|
void |
setType(String Type)
Set Num,Percent ,分别表示数量和百分比,默认为 Num
|
void |
setValue(Long Value)
Set 数值
|
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, toJsonString
public NumOrPercent()
public NumOrPercent(NumOrPercent source)
public String getType()
public void setType(String Type)
Type
- Num,Percent ,分别表示数量和百分比,默认为 Numpublic Long getValue()
public void setValue(Long Value)
Value
- 数值Copyright © 2025. All rights reserved.