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

com.aliyun.sdk.service.iot20180120.models.QuerySceneRuleResponseBody Maven / Gradle / Ivy

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

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

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

QuerySceneRuleResponseBody

*/ public class QuerySceneRuleResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Data") private Data data; @NameInMap("ErrorMessage") private String errorMessage; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private QuerySceneRuleResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorMessage = builder.errorMessage; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static QuerySceneRuleResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @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 Data data; private String errorMessage; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * ErrorMessage. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public QuerySceneRuleResponseBody build() { return new QuerySceneRuleResponseBody(this); } } public static class RuleList extends TeaModel { @NameInMap("GmtCreate") private Long gmtCreate; @NameInMap("GmtModified") private Long gmtModified; @NameInMap("RuleDescription") private String ruleDescription; @NameInMap("RuleId") private String ruleId; @NameInMap("RuleName") private String ruleName; @NameInMap("RuleStatus") private Integer ruleStatus; private RuleList(Builder builder) { this.gmtCreate = builder.gmtCreate; this.gmtModified = builder.gmtModified; this.ruleDescription = builder.ruleDescription; this.ruleId = builder.ruleId; this.ruleName = builder.ruleName; this.ruleStatus = builder.ruleStatus; } public static Builder builder() { return new Builder(); } public static RuleList create() { return builder().build(); } /** * @return gmtCreate */ public Long getGmtCreate() { return this.gmtCreate; } /** * @return gmtModified */ public Long getGmtModified() { return this.gmtModified; } /** * @return ruleDescription */ public String getRuleDescription() { return this.ruleDescription; } /** * @return ruleId */ public String getRuleId() { return this.ruleId; } /** * @return ruleName */ public String getRuleName() { return this.ruleName; } /** * @return ruleStatus */ public Integer getRuleStatus() { return this.ruleStatus; } public static final class Builder { private Long gmtCreate; private Long gmtModified; private String ruleDescription; private String ruleId; private String ruleName; private Integer ruleStatus; /** * GmtCreate. */ public Builder gmtCreate(Long gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * GmtModified. */ public Builder gmtModified(Long gmtModified) { this.gmtModified = gmtModified; return this; } /** * RuleDescription. */ public Builder ruleDescription(String ruleDescription) { this.ruleDescription = ruleDescription; return this; } /** * RuleId. */ public Builder ruleId(String ruleId) { this.ruleId = ruleId; return this; } /** * RuleName. */ public Builder ruleName(String ruleName) { this.ruleName = ruleName; return this; } /** * RuleStatus. */ public Builder ruleStatus(Integer ruleStatus) { this.ruleStatus = ruleStatus; return this; } public RuleList build() { return new RuleList(this); } } } public static class Data extends TeaModel { @NameInMap("CurrentPage") private Integer currentPage; @NameInMap("PageSize") private Integer pageSize; @NameInMap("RuleList") private java.util.List < RuleList> ruleList; @NameInMap("Total") private Integer total; private Data(Builder builder) { this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.ruleList = builder.ruleList; this.total = builder.total; } 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 ruleList */ public java.util.List < RuleList> getRuleList() { return this.ruleList; } /** * @return total */ public Integer getTotal() { return this.total; } public static final class Builder { private Integer currentPage; private Integer pageSize; private java.util.List < RuleList> ruleList; private Integer total; /** * CurrentPage. */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * RuleList. */ public Builder ruleList(java.util.List < RuleList> ruleList) { this.ruleList = ruleList; return this; } /** * Total. */ public Builder total(Integer total) { this.total = total; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy