public class ParamInfo extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ParamInfo() |
ParamInfo(ParamInfo 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 |
getCurrentValue()
Get Current value
|
String |
getDefault()
Get Default value
|
String |
getDescription()
Get Parameter description
|
String[] |
getEnumValue()
Get If the parameter is of type enum/string/bool, the available options list.
|
String |
getFunc()
Get Function.
|
String |
getFuncPattern()
Get The default formula style of parameters that support formulas.
|
Boolean |
getIsFunc()
Get Whether it is a function.
|
Long |
getIsGlobal()
Get Whether it is a global parameter.
|
String |
getMatchType()
Get Match type.
|
String |
getMatchValue()
Get Match values, which will be separated by semicolon when match type is `multiVal`.
|
String |
getMax()
Get Maximum value when parameter type is `float` or `integer`.
|
String |
getMin()
Get Minimum value when parameter type is `float` or `integer`.
|
ModifiableInfo |
getModifiableInfo()
Get Whether the parameter is modifiable.
|
Long |
getNeedReboot()
Get Whether to restart the instance for the modified parameters to take effect.
|
String |
getParamName()
Get Parameter name
|
String |
getParamType()
Get Parameter type: `integer`, `float`, `string`, `enum`, `bool`.
|
void |
setCurrentValue(String CurrentValue)
Set Current value
|
void |
setDefault(String Default)
Set Default value
|
void |
setDescription(String Description)
Set Parameter description
|
void |
setEnumValue(String[] EnumValue)
Set If the parameter is of type enum/string/bool, the available options list.
|
void |
setFunc(String Func)
Set Function.
|
void |
setFuncPattern(String FuncPattern)
Set The default formula style of parameters that support formulas.
|
void |
setIsFunc(Boolean IsFunc)
Set Whether it is a function.
|
void |
setIsGlobal(Long IsGlobal)
Set Whether it is a global parameter.
|
void |
setMatchType(String MatchType)
Set Match type.
|
void |
setMatchValue(String MatchValue)
Set Match values, which will be separated by semicolon when match type is `multiVal`.
|
void |
setMax(String Max)
Set Maximum value when parameter type is `float` or `integer`.
|
void |
setMin(String Min)
Set Minimum value when parameter type is `float` or `integer`.
|
void |
setModifiableInfo(ModifiableInfo ModifiableInfo)
Set Whether the parameter is modifiable.
|
void |
setNeedReboot(Long NeedReboot)
Set Whether to restart the instance for the modified parameters to take effect.
|
void |
setParamName(String ParamName)
Set Parameter name
|
void |
setParamType(String ParamType)
Set Parameter type: `integer`, `float`, `string`, `enum`, `bool`.
|
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, toJsonStringpublic ParamInfo()
public ParamInfo(ParamInfo source)
public String getCurrentValue()
public void setCurrentValue(String CurrentValue)
CurrentValue - Current valuepublic String getDefault()
public void setDefault(String Default)
Default - Default valuepublic String[] getEnumValue()
public void setEnumValue(String[] EnumValue)
EnumValue - If the parameter is of type enum/string/bool, the available options list.public String getMax()
public void setMax(String Max)
Max - Maximum value when parameter type is `float` or `integer`.public String getMin()
public void setMin(String Min)
Min - Minimum value when parameter type is `float` or `integer`.public String getParamName()
public void setParamName(String ParamName)
ParamName - Parameter namepublic Long getNeedReboot()
public void setNeedReboot(Long NeedReboot)
NeedReboot - Whether to restart the instance for the modified parameters to take effect.public String getParamType()
public void setParamType(String ParamType)
ParamType - Parameter type: `integer`, `float`, `string`, `enum`, `bool`.public String getMatchType()
public void setMatchType(String MatchType)
MatchType - Match type. Regex can be used when parameter type is `string`. Valid value: `multiVal`.public String getMatchValue()
public void setMatchValue(String MatchValue)
MatchValue - Match values, which will be separated by semicolon when match type is `multiVal`.public String getDescription()
public void setDescription(String Description)
Description - Parameter descriptionpublic Long getIsGlobal()
public void setIsGlobal(Long IsGlobal)
IsGlobal - Whether it is a global parameter.public ModifiableInfo getModifiableInfo()
public void setModifiableInfo(ModifiableInfo ModifiableInfo)
ModifiableInfo - Whether the parameter is modifiable.public Boolean getIsFunc()
public void setIsFunc(Boolean IsFunc)
IsFunc - Whether it is a function.public String getFunc()
public void setFunc(String Func)
Func - Function.public String getFuncPattern()
public void setFuncPattern(String FuncPattern)
FuncPattern - The default formula style of parameters that support formulas.Copyright © 2025. All rights reserved.