public class ValueRange extends AbstractModel
header, skipSign
Constructor and Description |
---|
ValueRange() |
ValueRange(ValueRange 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[] |
getEnum()
Get type 取enum的时候,返回参数值
|
Range |
getRange()
Get type 取section的时候,返回的参数值
|
String |
getString()
Get type 取string的时候,返回的参数值
|
String |
getType()
Get 参数类型,可以为 enum,string,section; 其中enum表示枚举,类似: utf8,latin1,gbk; string表示返回的参数值是字符串; section表示返回的参数值是一个取值范围,类似:[4-8]
|
void |
setEnum(String[] Enum)
Set type 取enum的时候,返回参数值
|
void |
setRange(Range Range)
Set type 取section的时候,返回的参数值
|
void |
setString(String String)
Set type 取string的时候,返回的参数值
|
void |
setType(String Type)
Set 参数类型,可以为 enum,string,section; 其中enum表示枚举,类似: utf8,latin1,gbk; string表示返回的参数值是字符串; section表示返回的参数值是一个取值范围,类似:[4-8]
|
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 ValueRange()
public ValueRange(ValueRange source)
public String getType()
public void setType(String Type)
Type
- 参数类型,可以为 enum,string,section; 其中enum表示枚举,类似: utf8,latin1,gbk; string表示返回的参数值是字符串; section表示返回的参数值是一个取值范围,类似:[4-8]public Range getRange()
public void setRange(Range Range)
Range
- type 取section的时候,返回的参数值public String[] getEnum()
public void setEnum(String[] Enum)
Enum
- type 取enum的时候,返回参数值public String getString()
public void setString(String String)
String
- type 取string的时候,返回的参数值Copyright © 2025. All rights reserved.