public class PluginToolReqParam extends AbstractModel
header, skipSign
Constructor and Description |
---|
PluginToolReqParam() |
PluginToolReqParam(PluginToolReqParam 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 参数默认值
|
String |
getDesc()
Get 参数描述
|
Boolean |
getIsRequired()
Get 参数是否必填
|
String |
getName()
Get 参数名称
|
PluginToolReqParam[] |
getSubParams()
Get 子参数,ParamType 是OBJECT 或 ARRAY<>类型有用
|
Long |
getType()
Get 参数类型,0:string, 1:int, 2:float,3:bool 4:object 5:array_string, 6:array_int, 7:array_float, 8:array_bool, 9:array_object
|
void |
setDefaultValue(String DefaultValue)
Set 参数默认值
|
void |
setDesc(String Desc)
Set 参数描述
|
void |
setIsRequired(Boolean IsRequired)
Set 参数是否必填
|
void |
setName(String Name)
Set 参数名称
|
void |
setSubParams(PluginToolReqParam[] SubParams)
Set 子参数,ParamType 是OBJECT 或 ARRAY<>类型有用
|
void |
setType(Long Type)
Set 参数类型,0:string, 1:int, 2:float,3:bool 4:object 5:array_string, 6:array_int, 7:array_float, 8:array_bool, 9:array_object
|
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 PluginToolReqParam()
public PluginToolReqParam(PluginToolReqParam source)
public String getName()
public void setName(String Name)
Name
- 参数名称public String getDesc()
public void setDesc(String Desc)
Desc
- 参数描述public Long getType()
public void setType(Long Type)
Type
- 参数类型,0:string, 1:int, 2:float,3:bool 4:object 5:array_string, 6:array_int, 7:array_float, 8:array_bool, 9:array_objectpublic Boolean getIsRequired()
public void setIsRequired(Boolean IsRequired)
IsRequired
- 参数是否必填public String getDefaultValue()
public void setDefaultValue(String DefaultValue)
DefaultValue
- 参数默认值public PluginToolReqParam[] getSubParams()
public void setSubParams(PluginToolReqParam[] SubParams)
SubParams
- 子参数,ParamType 是OBJECT 或 ARRAY<>类型有用Copyright © 2025. All rights reserved.