public class ParamDesc extends AbstractModel
| Constructor and Description | 
|---|
| ParamDesc() | 
| ParamDesc(ParamDesc 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 | 
|---|---|
| ParamConstraint | getConstraint()Get Parameter constraint | 
| String | getDefault()Get Default value | 
| Boolean | getHaveSetValue()Get Whether a value has been set. | 
| Boolean | getNeedRestart()Get Whether restart is required. | 
| String | getParam()Get Parameter name | 
| String | getSetValue()Get Previously set value, which is the same as `value` after the parameter takes effect. | 
| String | getValue()Get Current parameter value | 
| void | setConstraint(ParamConstraint Constraint)Set Parameter constraint | 
| void | setDefault(String Default)Set Default value | 
| void | setHaveSetValue(Boolean HaveSetValue)Set Whether a value has been set. | 
| void | setNeedRestart(Boolean NeedRestart)Set Whether restart is required. | 
| void | setParam(String Param)Set Parameter name | 
| void | setSetValue(String SetValue)Set Previously set value, which is the same as `value` after the parameter takes effect. | 
| void | setValue(String Value)Set Current parameter value | 
| 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, toJsonStringpublic ParamDesc()
public ParamDesc(ParamDesc source)
public String getParam()
public void setParam(String Param)
Param - Parameter namepublic String getValue()
public void setValue(String Value)
Value - Current parameter valuepublic String getSetValue()
public void setSetValue(String SetValue)
SetValue - Previously set value, which is the same as `value` after the parameter takes effect. If no value has been set, this field will not be returned.
Note: This field may return null, indicating that no valid values can be obtained.public String getDefault()
public void setDefault(String Default)
Default - Default valuepublic ParamConstraint getConstraint()
public void setConstraint(ParamConstraint Constraint)
Constraint - Parameter constraintpublic Boolean getHaveSetValue()
public void setHaveSetValue(Boolean HaveSetValue)
HaveSetValue - Whether a value has been set. false: no, true: yes.public Boolean getNeedRestart()
public void setNeedRestart(Boolean NeedRestart)
NeedRestart - Whether restart is required. false: no;
true: yes.Copyright © 2022. All rights reserved.