public static class PhoneNumberStatusForSmsResponseBody.PhoneNumberStatusForSmsResponseBodyData
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
carrier
The basic carrier who assigns the phone number.
|
String |
status
The returned status for the queried phone number.
|
构造器和说明 |
---|
PhoneNumberStatusForSmsResponseBodyData() |
@NameInMap(value="Carrier") public String carrier
The basic carrier who assigns the phone number. If the queried phone number involves mobile number portability, the carrier after mobile number portability is returned. Valid values:
* **CMCC**: China Mobile
* **CUCC**: China Unicom
* **CTCC**: China Telecom
> You are not allowed to query the phone numbers assigned by China Broadnet.
@NameInMap(value="Status") public String status
The returned status for the queried phone number. Valid values:
* **NORMAL**: The queried phone number can be reached.
* **SHUTDOWN**: The queried phone number is suspended.
* **POWER_OFF**: The phone is powered off.
* **NOT_EXIST**: The queried phone number is a nonexistent number.
* **DEFECT**: The queried phone number is invalid.
* **UNKNOWN**: The queried phone number is unknown.
> Due to system adjustment of the carrier, the BUSY, SUSPECTED_POWER_OFF, and POWER_OFF states cannot be returned for the numbers assigned by China Telecom. [For more information, see the official announcements](https://help.aliyun.com/document_detail/2489709.html).
public static PhoneNumberStatusForSmsResponseBody.PhoneNumberStatusForSmsResponseBodyData build(Map<String,?> map) throws Exception
Exception
public PhoneNumberStatusForSmsResponseBody.PhoneNumberStatusForSmsResponseBodyData setCarrier(String carrier)
public String getCarrier()
public PhoneNumberStatusForSmsResponseBody.PhoneNumberStatusForSmsResponseBodyData setStatus(String status)
public String getStatus()
Copyright © 2024. All rights reserved.