public class ReqParameter extends AbstractModel
| Constructor and Description | 
|---|
ReqParameter()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDefaultValue()
Get Default value of API frontend parameter. 
 | 
String | 
getDesc()
Get API frontend parameter remarks. 
 | 
String | 
getName()
Get API frontend parameter name. 
 | 
String | 
getPosition()
Get API frontend parameter position, such as `head`. 
 | 
Boolean | 
getRequired()
Get Whether the API frontend parameter is required. 
 | 
String | 
getType()
Get API frontend parameter type, such as `String` and `int`. 
 | 
void | 
setDefaultValue(String DefaultValue)
Set Default value of API frontend parameter. 
 | 
void | 
setDesc(String Desc)
Set API frontend parameter remarks. 
 | 
void | 
setName(String Name)
Set API frontend parameter name. 
 | 
void | 
setPosition(String Position)
Set API frontend parameter position, such as `head`. 
 | 
void | 
setRequired(Boolean Required)
Set Whether the API frontend parameter is required. 
 | 
void | 
setType(String Type)
Set API frontend parameter type, such as `String` and `int`. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic String getName()
public void setName(String Name)
Name - API frontend parameter name.public String getPosition()
public void setPosition(String Position)
Position - API frontend parameter position, such as `head`. Valid values: head, query, path.public String getType()
public void setType(String Type)
Type - API frontend parameter type, such as `String` and `int`.public String getDefaultValue()
public void setDefaultValue(String DefaultValue)
DefaultValue - Default value of API frontend parameter.public Boolean getRequired()
public void setRequired(Boolean Required)
Required - Whether the API frontend parameter is required. True: yes; False: no.public String getDesc()
public void setDesc(String Desc)
Desc - API frontend parameter remarks.Copyright © 2020. All rights reserved.