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

com.aliyun.sas20181203.models.ListContainerDefenseRuleRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class ListContainerDefenseRuleRequest extends TeaModel {
    /**
     * 

The details of the condition.

*/ @NameInMap("Conditions") public java.util.List conditions; /** *

The number of the page to return. Default value: 1.

* * example: *

1

*/ @NameInMap("CurrentPage") public Integer currentPage; /** *

Specifies whether to query system rules.

*
*

This parameter is deprecated.

*
* * example: *

1

*/ @NameInMap("IsDefaultRule") public Integer isDefaultRule; /** *

The language of the content within the request and response. Default value: zh. Valid values:

*
    *
  • zh: Chinese.
  • *
  • en: English.
  • *
* * example: *

zh

*/ @NameInMap("Lang") public String lang; /** *

The number of entries per page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.

*
*

We recommend that you do not leave this parameter empty.

*
* * example: *

20

*/ @NameInMap("PageSize") public Integer pageSize; /** *

The rule type. Valid values:

*
    *
  • 1: system rule
  • *
  • 2: user-defined rule
  • *
* * example: *

1

*/ @NameInMap("RuleType") public Integer ruleType; public static ListContainerDefenseRuleRequest build(java.util.Map map) throws Exception { ListContainerDefenseRuleRequest self = new ListContainerDefenseRuleRequest(); return TeaModel.build(map, self); } public ListContainerDefenseRuleRequest setConditions(java.util.List conditions) { this.conditions = conditions; return this; } public java.util.List getConditions() { return this.conditions; } public ListContainerDefenseRuleRequest setCurrentPage(Integer currentPage) { this.currentPage = currentPage; return this; } public Integer getCurrentPage() { return this.currentPage; } public ListContainerDefenseRuleRequest setIsDefaultRule(Integer isDefaultRule) { this.isDefaultRule = isDefaultRule; return this; } public Integer getIsDefaultRule() { return this.isDefaultRule; } public ListContainerDefenseRuleRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public ListContainerDefenseRuleRequest setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public ListContainerDefenseRuleRequest setRuleType(Integer ruleType) { this.ruleType = ruleType; return this; } public Integer getRuleType() { return this.ruleType; } public static class ListContainerDefenseRuleRequestConditions extends TeaModel { /** *

The condition type. Valid values:

*
    *
  • ruleName: the rule name
  • *
* * example: *

ruleName

*/ @NameInMap("Type") public String type; /** *

The rule content.

* * example: *

auto-test-rule-**

*/ @NameInMap("Value") public String value; public static ListContainerDefenseRuleRequestConditions build(java.util.Map map) throws Exception { ListContainerDefenseRuleRequestConditions self = new ListContainerDefenseRuleRequestConditions(); return TeaModel.build(map, self); } public ListContainerDefenseRuleRequestConditions setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public ListContainerDefenseRuleRequestConditions setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy