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

com.aliyun.sdk.service.dytnsapi20200217.models.PhoneNumberEncryptResponseBody 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 PhoneNumberEncryptResponseBody} extends {@link TeaModel}
 *
 * 

PhoneNumberEncryptResponseBody

*/ public class PhoneNumberEncryptResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private PhoneNumberEncryptResponseBody(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 PhoneNumberEncryptResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List 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 java.util.List data; private String message; private String requestId; /** *

The response code.

*
    *
  • The value OK indicates that the request was successful.
  • *
  • Other values indicate that the request failed. For more information, see Error codes.
  • *
* * example: *

OK

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

Details about the returned entries.

*/ public Builder data(java.util.List 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 PhoneNumberEncryptResponseBody build() { return new PhoneNumberEncryptResponseBody(this); } } /** * * {@link PhoneNumberEncryptResponseBody} extends {@link TeaModel} * *

PhoneNumberEncryptResponseBody

*/ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("EncryptedNumber") private String encryptedNumber; @com.aliyun.core.annotation.NameInMap("ExpireTime") private String expireTime; @com.aliyun.core.annotation.NameInMap("OriginalNumber") private String originalNumber; private Data(Builder builder) { this.encryptedNumber = builder.encryptedNumber; this.expireTime = builder.expireTime; this.originalNumber = builder.originalNumber; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return encryptedNumber */ public String getEncryptedNumber() { return this.encryptedNumber; } /** * @return expireTime */ public String getExpireTime() { return this.expireTime; } /** * @return originalNumber */ public String getOriginalNumber() { return this.originalNumber; } public static final class Builder { private String encryptedNumber; private String expireTime; private String originalNumber; /** *

The encrypted phone number.

* * example: *

1400513****

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

The time when the phone number expires.

* * example: *

2022-05-27 16:05:23

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

The original phone number.

* * example: *

1390000****

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy