com.aliyun.sas20181203.models.ListClientUserDefineRulesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sas20181203 Show documentation
Show all versions of sas20181203 Show documentation
Alibaba Cloud Threat Detection (20181203) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class ListClientUserDefineRulesResponseBody extends TeaModel {
/**
* The pagination information.
*/
@NameInMap("PageInfo")
public ListClientUserDefineRulesResponseBodyPageInfo pageInfo;
/**
* The ID of the request, which is used to locate and troubleshoot issues.
*
* example:
* A4EB8B1C-1DEC-5E18-BCD0-D1BBB393***
*/
@NameInMap("RequestId")
public String requestId;
/**
* An array that consists of the rules.
*/
@NameInMap("UserDefineRuleList")
public java.util.List userDefineRuleList;
public static ListClientUserDefineRulesResponseBody build(java.util.Map map) throws Exception {
ListClientUserDefineRulesResponseBody self = new ListClientUserDefineRulesResponseBody();
return TeaModel.build(map, self);
}
public ListClientUserDefineRulesResponseBody setPageInfo(ListClientUserDefineRulesResponseBodyPageInfo pageInfo) {
this.pageInfo = pageInfo;
return this;
}
public ListClientUserDefineRulesResponseBodyPageInfo getPageInfo() {
return this.pageInfo;
}
public ListClientUserDefineRulesResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public ListClientUserDefineRulesResponseBody setUserDefineRuleList(java.util.List userDefineRuleList) {
this.userDefineRuleList = userDefineRuleList;
return this;
}
public java.util.List getUserDefineRuleList() {
return this.userDefineRuleList;
}
public static class ListClientUserDefineRulesResponseBodyPageInfo extends TeaModel {
/**
* The page number of the returned page.
*
* example:
* 1
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* The number of entries returned per page.
*
* example:
* 20
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The total number of entries returned.
*
* example:
* 69
*/
@NameInMap("TotalCount")
public Integer totalCount;
public static ListClientUserDefineRulesResponseBodyPageInfo build(java.util.Map map) throws Exception {
ListClientUserDefineRulesResponseBodyPageInfo self = new ListClientUserDefineRulesResponseBodyPageInfo();
return TeaModel.build(map, self);
}
public ListClientUserDefineRulesResponseBodyPageInfo setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public ListClientUserDefineRulesResponseBodyPageInfo setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public ListClientUserDefineRulesResponseBodyPageInfo setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
}
public static class ListClientUserDefineRulesResponseBodyUserDefineRuleList extends TeaModel {
/**
* The action of the rule. Valid values:
*
* - 0: allow
* - 1: block
*
*
* example:
* 0
*/
@NameInMap("ActionType")
public Integer actionType;
/**
* The ID of the rule.
*
* example:
* 200****
*/
@NameInMap("Id")
public Long id;
/**
* The name of the rule.
*
* example:
* Rule\\\\
*/
@NameInMap("Name")
public String name;
/**
* The type of the operating system. Valid values:
*
* - windows: Windows
* - linux: Linux
* - all: all types
*
*
* example:
* linux
*/
@NameInMap("Platform")
public String platform;
/**
* The switch ID of the rule.
*
* example:
* USER-DEFINE-RULE-SWITCH-TYPE_200****
*/
@NameInMap("SwitchId")
public String switchId;
/**
* The type of the rule. Valid values:
*
* - 1: Process hash
* - 2: Command line
* - 3: Process Network
* - 4: File Read and Write
* - 5: Operation on Registry
* - 6: Dynamic-link Library Loading
* - 7: File Renaming
*
*
* example:
* 1
*/
@NameInMap("Type")
public Integer type;
public static ListClientUserDefineRulesResponseBodyUserDefineRuleList build(java.util.Map map) throws Exception {
ListClientUserDefineRulesResponseBodyUserDefineRuleList self = new ListClientUserDefineRulesResponseBodyUserDefineRuleList();
return TeaModel.build(map, self);
}
public ListClientUserDefineRulesResponseBodyUserDefineRuleList setActionType(Integer actionType) {
this.actionType = actionType;
return this;
}
public Integer getActionType() {
return this.actionType;
}
public ListClientUserDefineRulesResponseBodyUserDefineRuleList setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public ListClientUserDefineRulesResponseBodyUserDefineRuleList setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public ListClientUserDefineRulesResponseBodyUserDefineRuleList setPlatform(String platform) {
this.platform = platform;
return this;
}
public String getPlatform() {
return this.platform;
}
public ListClientUserDefineRulesResponseBodyUserDefineRuleList setSwitchId(String switchId) {
this.switchId = switchId;
return this;
}
public String getSwitchId() {
return this.switchId;
}
public ListClientUserDefineRulesResponseBodyUserDefineRuleList setType(Integer type) {
this.type = type;
return this;
}
public Integer getType() {
return this.type;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy