public class Attribute extends AbstractModel
header, skipSign
Constructor and Description |
---|
Attribute() |
Attribute(Attribute 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 |
getKey()
Get 属性key
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getType()
Get 为‘List’时属性值取Values 否则取Value
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getValue()
Get 属性值
注意:此字段可能返回 null,表示取不到有效值。
|
String[] |
getValues()
Get 属性值列表
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setKey(String Key)
Set 属性key
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setType(String Type)
Set 为‘List’时属性值取Values 否则取Value
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setValue(String Value)
Set 属性值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setValues(String[] Values)
Set 属性值列表
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Attribute()
public Attribute(Attribute source)
public String getType()
public void setType(String Type)
Type
- 为‘List’时属性值取Values 否则取Value
注意:此字段可能返回 null,表示取不到有效值。public String getKey()
public void setKey(String Key)
Key
- 属性key
注意:此字段可能返回 null,表示取不到有效值。public String getValue()
public void setValue(String Value)
Value
- 属性值
注意:此字段可能返回 null,表示取不到有效值。public String[] getValues()
public void setValues(String[] Values)
Values
- 属性值列表
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.