public class RequestParameter extends AbstractModel
header, skipSign
Constructor and Description |
---|
RequestParameter() |
RequestParameter(RequestParameter 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 |
getDefaultValue()
Get 默认值
|
String |
getDesc()
Get 描述
|
String |
getName()
Get 请求参数名称
|
String |
getPosition()
Get 参数位置
|
Boolean |
getRequired()
Get 是否必须
|
String |
getType()
Get 参数类型
|
void |
setDefaultValue(String DefaultValue)
Set 默认值
|
void |
setDesc(String Desc)
Set 描述
|
void |
setName(String Name)
Set 请求参数名称
|
void |
setPosition(String Position)
Set 参数位置
|
void |
setRequired(Boolean Required)
Set 是否必须
|
void |
setType(String Type)
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 RequestParameter()
public RequestParameter(RequestParameter source)
public String getName()
public void setName(String Name)
Name
- 请求参数名称public String getDesc()
public void setDesc(String Desc)
Desc
- 描述public String getPosition()
public void setPosition(String Position)
Position
- 参数位置public String getType()
public void setType(String Type)
Type
- 参数类型public String getDefaultValue()
public void setDefaultValue(String DefaultValue)
DefaultValue
- 默认值public Boolean getRequired()
public void setRequired(Boolean Required)
Required
- 是否必须Copyright © 2024. All rights reserved.