public class ApiContent extends AbstractModel
header, skipSign
Constructor and Description |
---|
ApiContent() |
ApiContent(ApiContent 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 默认值
|
Boolean |
getDynamic()
Get 是否为动态值
|
String |
getId()
Get 所属API的id
|
String |
getName()
Get 参数名称
|
Boolean |
getRequired()
Get 是否必填
|
String |
getType()
Get 参数类型
|
String |
getValue()
Get 参数值
|
void |
setDefaultValue(String DefaultValue)
Set 默认值
|
void |
setDynamic(Boolean Dynamic)
Set 是否为动态值
|
void |
setId(String Id)
Set 所属API的id
|
void |
setName(String Name)
Set 参数名称
|
void |
setRequired(Boolean Required)
Set 是否必填
|
void |
setType(String Type)
Set 参数类型
|
void |
setValue(String Value)
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 ApiContent()
public ApiContent(ApiContent source)
public String getId()
public void setId(String Id)
Id
- 所属API的idpublic String getName()
public void setName(String Name)
Name
- 参数名称public String getType()
public void setType(String Type)
Type
- 参数类型public Boolean getDynamic()
public void setDynamic(Boolean Dynamic)
Dynamic
- 是否为动态值public Boolean getRequired()
public void setRequired(Boolean Required)
Required
- 是否必填public String getValue()
public void setValue(String Value)
Value
- 参数值public String getDefaultValue()
public void setDefaultValue(String DefaultValue)
DefaultValue
- 默认值Copyright © 2025. All rights reserved.