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

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

ListHttpApisResponseBody

*/ public class ListHttpApisResponseBody 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 ListHttpApisResponseBody(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 ListHttpApisResponseBody 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 status code.

* * example: *

Ok

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

API list.

*/ 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.

* * example: *

585657D2-1C20-5B8A-AF17-D727C6490BE4

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

ListHttpApisResponseBody

*/ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("items") private java.util.List < HttpApiInfoByName > 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 < HttpApiInfoByName > 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 < HttpApiInfoByName > items; private Integer pageNumber; private Integer pageSize; private Integer totalSize; /** *

API information.

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

Page number.

* * example: *

1

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

Page size.

* * example: *

10

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

Total count.

* * example: *

10

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy