public class MatchAttribute extends AbstractModel
Constructor and Description |
---|
MatchAttribute() |
MatchAttribute(MatchAttribute 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[] |
getListValue()
Get List attribute value
|
AttributeMap[] |
getMapValue()
Get Map attribute value
|
String |
getName()
Get Attribute name.
|
Float |
getNumberValue()
Get Numeric attribute value.
|
String |
getStringValue()
Get String attribute value.
|
Long |
getType()
Get Attribute type.
|
void |
setListValue(String[] ListValue)
Set List attribute value
|
void |
setMapValue(AttributeMap[] MapValue)
Set Map attribute value
|
void |
setName(String Name)
Set Attribute name.
|
void |
setNumberValue(Float NumberValue)
Set Numeric attribute value.
|
void |
setStringValue(String StringValue)
Set String attribute value.
|
void |
setType(Long Type)
Set Attribute type.
|
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 MatchAttribute()
public MatchAttribute(MatchAttribute source)
public String getName()
public void setName(String Name)
Name
- Attribute name. It can contain up to 128 characters, supporting [a-zA-Z0-9-\.]*.public Long getType()
public void setType(Long Type)
Type
- Attribute type. 0: number, 1: string. Default value: 0public Float getNumberValue()
public void setNumberValue(Float NumberValue)
NumberValue
- Numeric attribute value. Default value: 0.0public String getStringValue()
public void setStringValue(String StringValue)
StringValue
- String attribute value. Up to 128 characters are allowed. Default value: ""public String[] getListValue()
public void setListValue(String[] ListValue)
ListValue
- List attribute valuepublic AttributeMap[] getMapValue()
public void setMapValue(AttributeMap[] MapValue)
MapValue
- Map attribute valueCopyright © 2023. All rights reserved.