public class EdgeArgsFlag extends AbstractModel
Constructor and Description |
---|
EdgeArgsFlag() |
EdgeArgsFlag(EdgeArgsFlag 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 |
getConstraint()
Get Valid value or range.
|
String |
getDefault()
Get Default value of the parameter
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String |
getName()
Get Parameter name
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String |
getType()
Get Parameter type
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String |
getUsage()
Get Parameter description
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setConstraint(String Constraint)
Set Valid value or range.
|
void |
setDefault(String Default)
Set Default value of the parameter
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setName(String Name)
Set Parameter name
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setType(String Type)
Set Parameter type
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setUsage(String Usage)
Set Parameter description
Note: This field may return `null`, indicating that no valid values can be obtained.
|
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 EdgeArgsFlag()
public EdgeArgsFlag(EdgeArgsFlag source)
public String getName()
public void setName(String Name)
Name
- Parameter name
Note: This field may return `null`, indicating that no valid values can be obtained.public String getType()
public void setType(String Type)
Type
- Parameter type
Note: This field may return `null`, indicating that no valid values can be obtained.public String getUsage()
public void setUsage(String Usage)
Usage
- Parameter description
Note: This field may return `null`, indicating that no valid values can be obtained.public String getDefault()
public void setDefault(String Default)
Default
- Default value of the parameter
Note: This field may return `null`, indicating that no valid values can be obtained.public String getConstraint()
public void setConstraint(String Constraint)
Constraint
- Valid value or range. Options: `[]` (it indicates a range, for example, “[1, 5]” indicates the parameter must be equal or larger than 1, and be equal or smaller than 5), and `()` (it indicates a valid value, for example, “('aa', 'bb')” indicates the parameter must be “aa” or “bb”. If it is left empty, the verification can be skipped.)
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.