public class ApiRequestDescr extends AbstractModel
Constructor and Description |
---|
ApiRequestDescr() |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultValue()
Get 参数的默认值
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getDescription()
Get 参数描述
|
String |
getIn()
Get 参数位置
|
String |
getName()
Get 参数名称
|
Boolean |
getRequired()
Get 参数是否必须
|
String |
getType()
Get 参数类型
|
void |
setDefaultValue(String DefaultValue)
Set 参数的默认值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDescription(String Description)
Set 参数描述
|
void |
setIn(String In)
Set 参数位置
|
void |
setName(String Name)
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getName()
public void setName(String Name)
Name
- 参数名称public String getType()
public void setType(String Type)
Type
- 参数类型public String getIn()
public void setIn(String In)
In
- 参数位置public String getDescription()
public void setDescription(String Description)
Description
- 参数描述public Boolean getRequired()
public void setRequired(Boolean Required)
Required
- 参数是否必须public String getDefaultValue()
public void setDefaultValue(String DefaultValue)
DefaultValue
- 参数的默认值
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2020. All rights reserved.