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

com.aliyun.sdk.service.bpstudio20210931.models.GetTemplateResponseBody Maven / Gradle / Ivy

There is a newer version: 5.0.6
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.bpstudio20210931.models;

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

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

GetTemplateResponseBody

*/ public class GetTemplateResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer 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 GetTemplateResponseBody(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 GetTemplateResponseBody 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. */ public Builder code(Integer code) { this.code = code; return this; } /** * The details of the template. */ public Builder data(Data data) { this.data = data; return this; } /** * The interface returns information */ public Builder message(String message) { this.message = message; return this; } /** * Request ID */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetTemplateResponseBody build() { return new GetTemplateResponseBody(this); } } public static class Variables extends TeaModel { @com.aliyun.core.annotation.NameInMap("Attribute") private String attribute; @com.aliyun.core.annotation.NameInMap("DataType") private String dataType; @com.aliyun.core.annotation.NameInMap("DefaultValue") private String defaultValue; @com.aliyun.core.annotation.NameInMap("Variable") private String variable; private Variables(Builder builder) { this.attribute = builder.attribute; this.dataType = builder.dataType; this.defaultValue = builder.defaultValue; this.variable = builder.variable; } public static Builder builder() { return new Builder(); } public static Variables create() { return builder().build(); } /** * @return attribute */ public String getAttribute() { return this.attribute; } /** * @return dataType */ public String getDataType() { return this.dataType; } /** * @return defaultValue */ public String getDefaultValue() { return this.defaultValue; } /** * @return variable */ public String getVariable() { return this.variable; } public static final class Builder { private String attribute; private String dataType; private String defaultValue; private String variable; /** * The name of the variable. */ public Builder attribute(String attribute) { this.attribute = attribute; return this; } /** * The type of the variable. */ public Builder dataType(String dataType) { this.dataType = dataType; return this; } /** * The default value of the variable. */ public Builder defaultValue(String defaultValue) { this.defaultValue = defaultValue; return this; } /** * The value of the variable. */ public Builder variable(String variable) { this.variable = variable; return this; } public Variables build() { return new Variables(this); } } } public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("ImageURL") private String imageURL; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("TemplateId") private String templateId; @com.aliyun.core.annotation.NameInMap("Variables") private java.util.List < Variables> variables; private Data(Builder builder) { this.createTime = builder.createTime; this.description = builder.description; this.imageURL = builder.imageURL; this.name = builder.name; this.resourceGroupId = builder.resourceGroupId; this.templateId = builder.templateId; this.variables = builder.variables; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return imageURL */ public String getImageURL() { return this.imageURL; } /** * @return name */ public String getName() { return this.name; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return templateId */ public String getTemplateId() { return this.templateId; } /** * @return variables */ public java.util.List < Variables> getVariables() { return this.variables; } public static final class Builder { private String createTime; private String description; private String imageURL; private String name; private String resourceGroupId; private String templateId; private java.util.List < Variables> variables; /** * The time when the template was created. */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * Template DescriptionD */ public Builder description(String description) { this.description = description; return this; } /** * The path to the template schema image file */ public Builder imageURL(String imageURL) { this.imageURL = imageURL; return this; } /** * The name of the template */ public Builder name(String name) { this.name = name; return this; } /** * The ID of the resource group. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * Template ID */ public Builder templateId(String templateId) { this.templateId = templateId; return this; } /** * The details of the template variables. */ public Builder variables(java.util.List < Variables> variables) { this.variables = variables; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy