public class ParamInfo extends AbstractModel
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 List of valid values when parameter type is `enum`, `string` or `bool`.
|
String |
getFunc()
Get Function
Note: This field may return null, indicating that no valid values can be obtained.
|
Boolean |
getIsFunc()
Get Whether it is a function
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getIsGlobal()
Get Whether it is global parameter
Note: This field may return null, indicating that no valid values can be obtained.
|
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 can be modified
Note: This field may return null, indicating that no valid values can be obtained.
|
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 List of valid values when parameter type is `enum`, `string` or `bool`.
|
void |
setFunc(String Func)
Set Function
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setIsFunc(Boolean IsFunc)
Set Whether it is a function
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setIsGlobal(Long IsGlobal)
Set Whether it is global parameter
Note: This field may return null, indicating that no valid values can be obtained.
|
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 can be modified
Note: This field may return null, indicating that no valid values can be obtained.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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
- List of valid values when parameter type is `enum`, `string` or `bool`.
Note: This field may return null, indicating that no valid values can be obtained.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 global parameter
Note: This field may return null, indicating that no valid values can be obtained.public ModifiableInfo getModifiableInfo()
public void setModifiableInfo(ModifiableInfo ModifiableInfo)
ModifiableInfo
- Whether the parameter can be modified
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getIsFunc()
public void setIsFunc(Boolean IsFunc)
IsFunc
- Whether it is a function
Note: This field may return null, indicating that no valid values can be obtained.public String getFunc()
public void setFunc(String Func)
Func
- Function
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.