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

com.aliyun.sdk.service.agency20221216.models.CreateCustomerResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.agency20221216.models;

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

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

CreateCustomerResponseBody

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

Code indicating whether the call was successful.

* * example: *

200

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

Data indicating whether a customer was successfully created. If it"s "true", the Message contains CID.

* * example: *

true

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

Massage indicating whether the call was successful.

* * example: *

12345

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

Request ID, Alibaba Cloud will track errors with this.

* * example: *

A9B725C7-3DBD-576B-AC91-F6F22AB99A77

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

Candidate Value: True/False, which indicates whether the current API call it self was successful. It does not guarantee the success of subsequent business operations.

* * example: *

true

*/ public Builder success(Boolean success) { this.success = success; return this; } public CreateCustomerResponseBody build() { return new CreateCustomerResponseBody(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy