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 Integer
Note: This field may return "null", indicating that no valid value can be obtained.
|
String |
getStrVal()
Get String
Note: This field may return "null", indicating that no valid value can be obtained.
|
Long |
getType()
Get Numerical type, 0: int, 1: string
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setIntVal(Long IntVal)
Set Integer
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setStrVal(String StrVal)
Set String
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setType(Long Type)
Set Numerical type, 0: int, 1: string
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public IntOrString()
public IntOrString(IntOrString source)
public Long getType()
public void setType(Long Type)
Type
- Numerical type, 0: int, 1: string
Note: This field may return "null", indicating that no valid value can be obtained.public Long getIntVal()
public void setIntVal(Long IntVal)
IntVal
- Integer
Note: This field may return "null", indicating that no valid value can be obtained.public String getStrVal()
public void setStrVal(String StrVal)
StrVal
- String
Note: This field may return "null", indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.