public class TemplateParamInfo extends AbstractModel
skipSign
Constructor and Description |
---|
TemplateParamInfo() |
TemplateParamInfo(TemplateParamInfo 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 The collection of valid value types when parameter type is `enum`.
|
String |
getMax()
Get Maximum value when parameter type is `float` or `integer`.
|
String |
getMin()
Get Minimum value when parameter type is `float` or `integer`.
|
Long |
getNeedReboot()
Get Whether to restart the instance for the parameter to take effect
|
String |
getParamName()
Get Parameter name
|
String |
getParamType()
Get Parameter type.
|
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 The collection of valid value types when parameter type is `enum`.
|
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 |
setNeedReboot(Long NeedReboot)
Set Whether to restart the instance for the parameter to take effect
|
void |
setParamName(String ParamName)
Set Parameter name
|
void |
setParamType(String ParamType)
Set Parameter type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public TemplateParamInfo()
public TemplateParamInfo(TemplateParamInfo 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
- The collection of valid value types when parameter type is `enum`.
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`.
Note: This field may return null, indicating that no valid values can be obtained.public String getMin()
public void setMin(String Min)
Min
- Minimum value when parameter type is `float` or `integer`.
Note: This field may return null, indicating that no valid values can be obtained.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 parameter to take effectpublic String getDescription()
public void setDescription(String Description)
Description
- Parameter descriptionpublic String getParamType()
public void setParamType(String ParamType)
ParamType
- Parameter type. Valid value: `integer`, `float`, `string`, `enum`.Copyright © 2023. All rights reserved.