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 Response parameter when the type is an enum.Note: This field may return null, indicating that no valid values can be obtained.
|
Range |
getRange()
Get Response parameter when the type is a section.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getString()
Get Response parameter when the type is a string.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getType()
Get Parameter types.
|
void |
setEnum(String[] Enum)
Set Response parameter when the type is an enum.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRange(Range Range)
Set Response parameter when the type is a section.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setString(String String)
Set Response parameter when the type is a string.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setType(String Type)
Set Parameter types.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ValueRange()
public ValueRange(ValueRange source)
public String getType()
public void setType(String Type)
Type
- Parameter types. Valid values: enum, string, and section. Enum indicates enumeration, namely utf8, latin1, gbk. String indicates that the returned parameter value is a string. Section indicates that the returned parameter value is a value range, for example, 4-8.
Note: This field may return null, indicating that no valid values can be obtained.public Range getRange()
public void setRange(Range Range)
Range
- Response parameter when the type is a section.Note: This field may return null, indicating that no valid values can be obtained.public String[] getEnum()
public void setEnum(String[] Enum)
Enum
- Response parameter when the type is an enum.Note: This field may return null, indicating that no valid values can be obtained.public String getString()
public void setString(String String)
String
- Response parameter when the type is a string.Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.