public class ApiRequestDescr extends AbstractModel
Constructor and Description |
---|
ApiRequestDescr() |
ApiRequestDescr(ApiRequestDescr 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 参数的默认值
注意:此字段可能返回 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 ApiRequestDescr()
public ApiRequestDescr(ApiRequestDescr source)
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 © 2021. All rights reserved.