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

com.aliyun.sdk.service.apig20240327.models.ListDomainsResponseBody Maven / Gradle / Ivy

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

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

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

ListDomainsResponseBody

*/ public class ListDomainsResponseBody 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 ListDomainsResponseBody(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 ListDomainsResponseBody 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; /** *

Response code.

* * example: *

Ok

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

Response data.

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

Response message.

* * example: *

success

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

Request ID, used for tracing the API call chain.

* * example: *

C61E30D3-579A-5B43-994E-31E02EDC9129

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

ListDomainsResponseBody

*/ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("items") private java.util.List < DomainInfo > items; @com.aliyun.core.annotation.NameInMap("pageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("pageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("totalSize") private Integer totalSize; private Data(Builder builder) { this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.totalSize = builder.totalSize; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return items */ public java.util.List < DomainInfo > getItems() { return this.items; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalSize */ public Integer getTotalSize() { return this.totalSize; } public static final class Builder { private java.util.List < DomainInfo > items; private Integer pageNumber; private Integer pageSize; private Integer totalSize; /** *

List of domain information.

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

Page number.

* * example: *

1

*/ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** *

Number of items per page.

* * example: *

10

*/ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** *

Total number of items.

* * example: *

9

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy