public class ReqParameter extends AbstractModel
header, skipSign
Constructor and Description |
---|
ReqParameter() |
ReqParameter(ReqParameter 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 Default value of API frontend parameter.
|
String |
getDesc()
Get API frontend parameter remarks.
|
String |
getName()
Get API frontend parameter name.
|
String |
getPosition()
Get Position of the API frontend parameter, such as the header.
|
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 Position of the API frontend parameter, such as the header.
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ReqParameter()
public ReqParameter(ReqParameter source)
public String getName()
public void setName(String Name)
Name
- API frontend parameter name.public String getPosition()
public void setPosition(String Position)
Position
- Position of the API frontend parameter, such as the header. Supported values: `header`, `query`, and `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 © 2024. All rights reserved.