
com.aliyun.sdk.service.dytnsapi20200217.models.DescribePhoneNumberAnalysisAIResponseBody 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 DescribePhoneNumberAnalysisAIResponseBody} extends {@link TeaModel}
*
* DescribePhoneNumberAnalysisAIResponseBody
*/
public class DescribePhoneNumberAnalysisAIResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccessDeniedDetail")
private String accessDeniedDetail;
@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 DescribePhoneNumberAnalysisAIResponseBody(Builder builder) {
this.accessDeniedDetail = builder.accessDeniedDetail;
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 DescribePhoneNumberAnalysisAIResponseBody create() {
return builder().build();
}
/**
* @return accessDeniedDetail
*/
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
/**
* @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 accessDeniedDetail;
private String code;
private Data data;
private String message;
private String requestId;
/**
* AccessDeniedDetail.
*/
public Builder accessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
return this;
}
/**
* The response code. Valid values:
*
* - OK: The request is successful.
*
*
* 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:
* 68A40250-50CD-034C-B728-0BD******177
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribePhoneNumberAnalysisAIResponseBody build() {
return new DescribePhoneNumberAnalysisAIResponseBody(this);
}
}
/**
*
* {@link DescribePhoneNumberAnalysisAIResponseBody} extends {@link TeaModel}
*
* DescribePhoneNumberAnalysisAIResponseBody
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("Number")
private String number;
private Data(Builder builder) {
this.code = builder.code;
this.number = builder.number;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return number
*/
public String getNumber() {
return this.number;
}
public static final class Builder {
private String code;
private String number;
/**
* The returned code.
*
* - YES: The specified phone number is valid.
* - NO: The specified phone number is invalid.
* - UNKNOWN: The specified phone number is unknown
*
*
* example:
* YES
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* The specified phone number.
*
* example:
* 187****5620
*/
public Builder number(String number) {
this.number = number;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy