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

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

ListCountriesResponseBody

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

Error Code

*
    *
  • 200: OK
  • *
  • 1109: System error
  • *
* * example: *

200

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

List of Region Code

*/ public Builder data(java.util.List < String > data) { this.data = data; return this; } /** *

Message information

* * example: *

success

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

Request ID, Alibaba Cloud will track errors with this.

* * example: *

A747A00F-E096-5244-88B3-3E474BAE3AE4

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

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

* * example: *

true

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy