All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.dytnsapi20200217.models.ThreeElementsVerificationResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dytnsapi20200217.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link ThreeElementsVerificationResponseBody} extends {@link TeaModel}
 *
 * 

ThreeElementsVerificationResponseBody

*/ public class ThreeElementsVerificationResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ThreeElementsVerificationResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ThreeElementsVerificationResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String code; private Data data; private String message; private String requestId; /** *

The response code.

*
    *
  • OK: The request is successful.
  • *
  • For more information, see Error codes in this documentation.
  • *
  • RequestFrequencyLimit: Repeated queries for the same phone number at a high frequency within a short period of time are prohibited due to restrictions that are set by carriers. If this error code is returned, please try again later.
  • *
* * example: *

OK

*/ public Builder code(String code) { this.code = code; return this; } /** *

The response parameters.

*/ public Builder data(Data data) { this.data = data; return this; } /** *

The returned message.

* * example: *

OK

*/ public Builder message(String message) { this.message = message; return this; } /** *

The request ID.

* * example: *

CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ThreeElementsVerificationResponseBody build() { return new ThreeElementsVerificationResponseBody(this); } } /** * * {@link ThreeElementsVerificationResponseBody} extends {@link TeaModel} * *

ThreeElementsVerificationResponseBody

*/ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("BasicCarrier") private String basicCarrier; @com.aliyun.core.annotation.NameInMap("IsConsistent") private Integer isConsistent; private Data(Builder builder) { this.basicCarrier = builder.basicCarrier; this.isConsistent = builder.isConsistent; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return basicCarrier */ public String getBasicCarrier() { return this.basicCarrier; } /** * @return isConsistent */ public Integer getIsConsistent() { return this.isConsistent; } public static final class Builder { private String basicCarrier; private Integer isConsistent; /** *

The basic carrier. Valid values:

*
    *
  • China Mobile
  • *
  • China Unicom
  • *
  • China Telecom
  • *
* * example: *

China Mobile

*/ public Builder basicCarrier(String basicCarrier) { this.basicCarrier = basicCarrier; return this; } /** *

Indicates whether the specified name, phone number, and ID card number belong to the same user. Valid values:

*
    *
  • 1: The specified name, phone number, and ID card number belong to the same user.
  • *
  • 0: The specified name, phone number, and ID card number do not belong to the same user.
  • *
  • 2: The specified name, phone number, and ID card number cannot be found.
  • *
*

Note 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 stateOut-of-serviceNonexistentCanceled
China MobileVerifications can be carried out normally.The specified name, phone number, and ID card number cannot be found.The specified name, phone number, and ID card number cannot be found.
China UnicomVerifications can be carried out normally.The specified name, phone number, and ID card number do not belong to the same user.The specified name, phone number, and ID card number do not belong to the same user.
China TelecomVerifications can be carried out normally.The specified name, phone number, and ID card number cannot be found.The specified name, phone number, and ID card number cannot be found.
* * example: *

1

*/ public Builder isConsistent(Integer isConsistent) { this.isConsistent = isConsistent; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy