public class PhoneNumberInfo extends AbstractModel
skipSign
Constructor and Description |
---|
PhoneNumberInfo() |
PhoneNumberInfo(PhoneNumberInfo 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 |
getCode()
Get Error code for mobile number information query.
|
String |
getIsoCode()
Get Country or region code such as CN and US.
|
String |
getIsoName()
Get Country code or region name such as China.
|
String |
getMessage()
Get Description of the error code for mobile number information query.
|
String |
getNationCode()
Get Country (or region) code.
|
String |
getPhoneNumber()
Get The standardized mobile number in E.164 format after parsing, which is consistent with the parsed number for SMS message delivery.
|
String |
getSubscriberNumber()
Get Subscriber number in normal format such as 13711112222, without any prefix (country or region code).
|
void |
setCode(String Code)
Set Error code for mobile number information query.
|
void |
setIsoCode(String IsoCode)
Set Country or region code such as CN and US.
|
void |
setIsoName(String IsoName)
Set Country code or region name such as China.
|
void |
setMessage(String Message)
Set Description of the error code for mobile number information query.
|
void |
setNationCode(String NationCode)
Set Country (or region) code.
|
void |
setPhoneNumber(String PhoneNumber)
Set The standardized mobile number in E.164 format after parsing, which is consistent with the parsed number for SMS message delivery.
|
void |
setSubscriberNumber(String SubscriberNumber)
Set Subscriber number in normal format such as 13711112222, without any prefix (country or region code).
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public PhoneNumberInfo()
public PhoneNumberInfo(PhoneNumberInfo source)
public String getCode()
public void setCode(String Code)
Code
- Error code for mobile number information query. `Ok` will be returned if the query is successful.public String getMessage()
public void setMessage(String Message)
Message
- Description of the error code for mobile number information query.public String getNationCode()
public void setNationCode(String NationCode)
NationCode
- Country (or region) code.public String getSubscriberNumber()
public void setSubscriberNumber(String SubscriberNumber)
SubscriberNumber
- Subscriber number in normal format such as 13711112222, without any prefix (country or region code).public String getPhoneNumber()
public void setPhoneNumber(String PhoneNumber)
PhoneNumber
- The standardized mobile number in E.164 format after parsing, which is consistent with the parsed number for SMS message delivery. If the parsing fails, the original number will be returned.public String getIsoCode()
public void setIsoCode(String IsoCode)
IsoCode
- Country or region code such as CN and US. If the country or region code cannot be identified, `DEF` will be returned by default.public String getIsoName()
public void setIsoName(String IsoName)
IsoName
- Country code or region name such as China. For more information, see [Global SMS Price Overview](https://intl.cloud.tencent.com/document/product/382/18051?from_cn_redirect=1#.E6.97.A5.E7.BB.93.E5.90.8E.E4.BB.98.E8.B4.B9.3Ca-id.3D.22post-payment.22.3E.3C.2Fa.3E)Copyright © 2023. All rights reserved.