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

com.aliyun.sdk.service.edas20170801.models.ListConfigTemplatesResponseBody Maven / Gradle / Ivy

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

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

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

ListConfigTemplatesResponseBody

*/ public class ListConfigTemplatesResponseBody extends TeaModel { @NameInMap("Code") private Integer code; @NameInMap("Data") private Data data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; private ListConfigTemplatesResponseBody(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 ListConfigTemplatesResponseBody create() { return builder().build(); } /** * @return code */ public Integer 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 Integer code; private Data data; private String message; private String requestId; /** * The HTTP status code that is returned. */ public Builder code(Integer code) { this.code = code; return this; } /** * The result of the request. */ public Builder data(Data data) { this.data = data; return this; } /** * The additional information that is returned. */ public Builder message(String message) { this.message = message; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListConfigTemplatesResponseBody build() { return new ListConfigTemplatesResponseBody(this); } } public static class Result extends TeaModel { @NameInMap("Content") private String content; @NameInMap("Description") private String description; @NameInMap("Format") private String format; @NameInMap("GmtCreate") private Long gmtCreate; @NameInMap("GmtModified") private Long gmtModified; @NameInMap("Id") private String id; @NameInMap("Name") private String name; private Result(Builder builder) { this.content = builder.content; this.description = builder.description; this.format = builder.format; this.gmtCreate = builder.gmtCreate; this.gmtModified = builder.gmtModified; this.id = builder.id; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static Result create() { return builder().build(); } /** * @return content */ public String getContent() { return this.content; } /** * @return description */ public String getDescription() { return this.description; } /** * @return format */ public String getFormat() { return this.format; } /** * @return gmtCreate */ public Long getGmtCreate() { return this.gmtCreate; } /** * @return gmtModified */ public Long getGmtModified() { return this.gmtModified; } /** * @return id */ public String getId() { return this.id; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private String content; private String description; private String format; private Long gmtCreate; private Long gmtModified; private String id; private String name; /** * The content of the configuration template. */ public Builder content(String content) { this.content = content; return this; } /** * The description of the configuration template. */ public Builder description(String description) { this.description = description; return this; } /** * The data format of the configuration template. */ public Builder format(String format) { this.format = format; return this; } /** * The time when the configuration template was created. */ public Builder gmtCreate(Long gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * The time when the configuration template was updated. */ public Builder gmtModified(Long gmtModified) { this.gmtModified = gmtModified; return this; } /** * The ID of the configuration template. */ public Builder id(String id) { this.id = id; return this; } /** * The name of the configuration template. */ public Builder name(String name) { this.name = name; return this; } public Result build() { return new Result(this); } } } public static class Data extends TeaModel { @NameInMap("CurrentPage") private Integer currentPage; @NameInMap("PageSize") private Integer pageSize; @NameInMap("Result") private java.util.List < Result> result; @NameInMap("TotalSize") private Long totalSize; private Data(Builder builder) { this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.result = builder.result; this.totalSize = builder.totalSize; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return result */ public java.util.List < Result> getResult() { return this.result; } /** * @return totalSize */ public Long getTotalSize() { return this.totalSize; } public static final class Builder { private Integer currentPage; private Integer pageSize; private java.util.List < Result> result; private Long totalSize; /** * The page number of the returned page. */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * The number of entries returned per page. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * The configuration templates. */ public Builder result(java.util.List < Result> result) { this.result = result; return this; } /** * The total number of configuration templates. */ public Builder totalSize(Long totalSize) { this.totalSize = totalSize; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy