com.aliyun.sdk.service.cloudapi20160701.models.DescribeRulesByApiResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160701 Show documentation
Show all versions of alibabacloud-cloudapi20160701 Show documentation
Alibaba Cloud CloudAPI (20160701) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160701.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeRulesByApiResponseBody} extends {@link TeaModel}
*
* DescribeRulesByApiResponseBody
*/
public class DescribeRulesByApiResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
@NameInMap("Rules")
private Rules rules;
private DescribeRulesByApiResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.rules = builder.rules;
}
public static Builder builder() {
return new Builder();
}
public static DescribeRulesByApiResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return rules
*/
public Rules getRules() {
return this.rules;
}
public static final class Builder {
private String requestId;
private Rules rules;
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Rules.
*/
public Builder rules(Rules rules) {
this.rules = rules;
return this;
}
public DescribeRulesByApiResponseBody build() {
return new DescribeRulesByApiResponseBody(this);
}
}
public static class Rule extends TeaModel {
@NameInMap("CreatedTime")
private Integer createdTime;
@NameInMap("RuleId")
private String ruleId;
@NameInMap("RuleName")
private String ruleName;
@NameInMap("RuleType")
private String ruleType;
private Rule(Builder builder) {
this.createdTime = builder.createdTime;
this.ruleId = builder.ruleId;
this.ruleName = builder.ruleName;
this.ruleType = builder.ruleType;
}
public static Builder builder() {
return new Builder();
}
public static Rule create() {
return builder().build();
}
/**
* @return createdTime
*/
public Integer getCreatedTime() {
return this.createdTime;
}
/**
* @return ruleId
*/
public String getRuleId() {
return this.ruleId;
}
/**
* @return ruleName
*/
public String getRuleName() {
return this.ruleName;
}
/**
* @return ruleType
*/
public String getRuleType() {
return this.ruleType;
}
public static final class Builder {
private Integer createdTime;
private String ruleId;
private String ruleName;
private String ruleType;
/**
* CreatedTime.
*/
public Builder createdTime(Integer createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* RuleId.
*/
public Builder ruleId(String ruleId) {
this.ruleId = ruleId;
return this;
}
/**
* RuleName.
*/
public Builder ruleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
/**
* RuleType.
*/
public Builder ruleType(String ruleType) {
this.ruleType = ruleType;
return this;
}
public Rule build() {
return new Rule(this);
}
}
}
public static class Rules extends TeaModel {
@NameInMap("Rule")
private java.util.List < Rule> rule;
private Rules(Builder builder) {
this.rule = builder.rule;
}
public static Builder builder() {
return new Builder();
}
public static Rules create() {
return builder().build();
}
/**
* @return rule
*/
public java.util.List < Rule> getRule() {
return this.rule;
}
public static final class Builder {
private java.util.List < Rule> rule;
/**
* Rule.
*/
public Builder rule(java.util.List < Rule> rule) {
this.rule = rule;
return this;
}
public Rules build() {
return new Rules(this);
}
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy