Class NumberFormat
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.NumberFormat
-
public class NumberFormat extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description NumberFormat()
NumberFormat(NumberFormat 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 Long
getIncrement()
Get `{number}`变量的增长步长,默认为1。Long
getInitialValue()
Get `{number}`变量的起始值,默认为0。Long
getMinLength()
Get `{number}`变量的最小长度,不足时补占位符。默认为1。String
getPlaceHolder()
Get `{number}`变量的长度不足时,补充的占位符。默认为"0"。void
setIncrement(Long Increment)
Set `{number}`变量的增长步长,默认为1。void
setInitialValue(Long InitialValue)
Set `{number}`变量的起始值,默认为0。void
setMinLength(Long MinLength)
Set `{number}`变量的最小长度,不足时补占位符。默认为1。void
setPlaceHolder(String PlaceHolder)
Set `{number}`变量的长度不足时,补充的占位符。默认为"0"。void
toMap(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
-
NumberFormat
public NumberFormat()
-
NumberFormat
public NumberFormat(NumberFormat 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
-
getInitialValue
public Long getInitialValue()
Get `{number}`变量的起始值,默认为0。- Returns:
- InitialValue `{number}`变量的起始值,默认为0。
-
setInitialValue
public void setInitialValue(Long InitialValue)
Set `{number}`变量的起始值,默认为0。- Parameters:
InitialValue
- `{number}`变量的起始值,默认为0。
-
getIncrement
public Long getIncrement()
Get `{number}`变量的增长步长,默认为1。- Returns:
- Increment `{number}`变量的增长步长,默认为1。
-
setIncrement
public void setIncrement(Long Increment)
Set `{number}`变量的增长步长,默认为1。- Parameters:
Increment
- `{number}`变量的增长步长,默认为1。
-
getMinLength
public Long getMinLength()
Get `{number}`变量的最小长度,不足时补占位符。默认为1。- Returns:
- MinLength `{number}`变量的最小长度,不足时补占位符。默认为1。
-
setMinLength
public void setMinLength(Long MinLength)
Set `{number}`变量的最小长度,不足时补占位符。默认为1。- Parameters:
MinLength
- `{number}`变量的最小长度,不足时补占位符。默认为1。
-
getPlaceHolder
public String getPlaceHolder()
Get `{number}`变量的长度不足时,补充的占位符。默认为"0"。- Returns:
- PlaceHolder `{number}`变量的长度不足时,补充的占位符。默认为"0"。
-
setPlaceHolder
public void setPlaceHolder(String PlaceHolder)
Set `{number}`变量的长度不足时,补充的占位符。默认为"0"。- Parameters:
PlaceHolder
- `{number}`变量的长度不足时,补充的占位符。默认为"0"。
-
-