public static class TwoElementsVerificationResponseBody.TwoElementsVerificationResponseBodyData
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
basicCarrier
The basic carriers.
|
Integer |
isConsistent
Indicates whether the specified name and phone number belong to the same user.
|
构造器和说明 |
---|
TwoElementsVerificationResponseBodyData() |
@NameInMap(value="BasicCarrier") public String basicCarrier
The basic carriers. Valid values:
* **China Mobile**
* **China Unicom**
* **China Telecom**
> You are not allowed to verify numbers assigned by China Broadnet.
@NameInMap(value="IsConsistent") public Integer isConsistent
Indicates whether the specified name and phone number belong to the same user. Valid values:
* **1**: The specified name and phone number belong to the same user.
* **0**: The specified name and phone number do not belong to the same user.
* **2**: The specified name and phone number cannot be found.
The phone number registration data of a user is usually updated one or three days after registration. The registration data can be queried only after the update. The following table shows the verification results under different phone number states.
|Carrier/Phone number state|Out-of-service|Nonexistent|Canceled|
|---|---|---|---|
|China Mobile|Verifications can be carried out normally.|The specified name and phone number cannot be found.|The specified name and phone number cannot be found.|
|China Unicom|Verifications can be carried out normally.|The specified name and phone number do not belong to the same user.|The specified name and phone number do not belong to the same user.|
|China Telecom|Verifications can be carried out normally.|The specified name and phone number cannot be found.|The specified name and phone number cannot be found.|
public static TwoElementsVerificationResponseBody.TwoElementsVerificationResponseBodyData build(Map<String,?> map) throws Exception
Exception
public TwoElementsVerificationResponseBody.TwoElementsVerificationResponseBodyData setBasicCarrier(String basicCarrier)
public String getBasicCarrier()
public TwoElementsVerificationResponseBody.TwoElementsVerificationResponseBodyData setIsConsistent(Integer isConsistent)
public Integer getIsConsistent()
Copyright © 2024. All rights reserved.