public class IntOrString extends AbstractModel
header, skipSign
Constructor and Description |
---|
IntOrString() |
IntOrString(IntOrString 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 |
---|---|
Long |
getIntVal()
Get 整数
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getStrVal()
Get 字符串
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getType()
Get 数值类型,0是int, 1是字符串
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setIntVal(Long IntVal)
Set 整数
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setStrVal(String StrVal)
Set 字符串
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setType(Long Type)
Set 数值类型,0是int, 1是字符串
注意:此字段可能返回 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 IntOrString()
public IntOrString(IntOrString source)
public Long getType()
public void setType(Long Type)
Type
- 数值类型,0是int, 1是字符串
注意:此字段可能返回 null,表示取不到有效值。public Long getIntVal()
public void setIntVal(Long IntVal)
IntVal
- 整数
注意:此字段可能返回 null,表示取不到有效值。public String getStrVal()
public void setStrVal(String StrVal)
StrVal
- 字符串
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.