com.jdcloud.sdk.service.waf.model.UrlListCfg Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of waf Show documentation
Show all versions of waf Show documentation
JDCLOUD Open API SDK for Java
The newest version!
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*
*
*
*
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
package com.jdcloud.sdk.service.waf.model;
/**
* urlListCfg
*/
public class UrlListCfg implements java.io.Serializable {
private static final long serialVersionUID = 1L;
/**
* 序号id
*/
private Integer id;
/**
* 规则更新时间,秒级时间戳, 0 表示历史数据无记录
*/
private Integer updateTime;
/**
* 0-使用中 1-禁用
*/
private Integer disable;
/**
* 0-5 7-8 完全匹配0 前缀匹配1 包含2 正则3 大于4 后缀5 不等于7 不包含8
*/
private Integer matchOp;
/**
* val
*/
private String val;
/**
* action配置
*/
private AtCfg atCfg;
/**
* 白名单不检查指定Web防护规则id, 多个逗号分隔
*/
private String skipRuleId;
/**
* get 序号id
*
* @return
*/
public Integer getId() {
return id;
}
/**
* set 序号id
*
* @param id
*/
public void setId(Integer id) {
this.id = id;
}
/**
* get 规则更新时间,秒级时间戳, 0 表示历史数据无记录
*
* @return
*/
public Integer getUpdateTime() {
return updateTime;
}
/**
* set 规则更新时间,秒级时间戳, 0 表示历史数据无记录
*
* @param updateTime
*/
public void setUpdateTime(Integer updateTime) {
this.updateTime = updateTime;
}
/**
* get 0-使用中 1-禁用
*
* @return
*/
public Integer getDisable() {
return disable;
}
/**
* set 0-使用中 1-禁用
*
* @param disable
*/
public void setDisable(Integer disable) {
this.disable = disable;
}
/**
* get 0-5 7-8 完全匹配0 前缀匹配1 包含2 正则3 大于4 后缀5 不等于7 不包含8
*
* @return
*/
public Integer getMatchOp() {
return matchOp;
}
/**
* set 0-5 7-8 完全匹配0 前缀匹配1 包含2 正则3 大于4 后缀5 不等于7 不包含8
*
* @param matchOp
*/
public void setMatchOp(Integer matchOp) {
this.matchOp = matchOp;
}
/**
* get val
*
* @return
*/
public String getVal() {
return val;
}
/**
* set val
*
* @param val
*/
public void setVal(String val) {
this.val = val;
}
/**
* get action配置
*
* @return
*/
public AtCfg getAtCfg() {
return atCfg;
}
/**
* set action配置
*
* @param atCfg
*/
public void setAtCfg(AtCfg atCfg) {
this.atCfg = atCfg;
}
/**
* get 白名单不检查指定Web防护规则id, 多个逗号分隔
*
* @return
*/
public String getSkipRuleId() {
return skipRuleId;
}
/**
* set 白名单不检查指定Web防护规则id, 多个逗号分隔
*
* @param skipRuleId
*/
public void setSkipRuleId(String skipRuleId) {
this.skipRuleId = skipRuleId;
}
/**
* set 序号id
*
* @param id
*/
public UrlListCfg id(Integer id) {
this.id = id;
return this;
}
/**
* set 规则更新时间,秒级时间戳, 0 表示历史数据无记录
*
* @param updateTime
*/
public UrlListCfg updateTime(Integer updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* set 0-使用中 1-禁用
*
* @param disable
*/
public UrlListCfg disable(Integer disable) {
this.disable = disable;
return this;
}
/**
* set 0-5 7-8 完全匹配0 前缀匹配1 包含2 正则3 大于4 后缀5 不等于7 不包含8
*
* @param matchOp
*/
public UrlListCfg matchOp(Integer matchOp) {
this.matchOp = matchOp;
return this;
}
/**
* set val
*
* @param val
*/
public UrlListCfg val(String val) {
this.val = val;
return this;
}
/**
* set action配置
*
* @param atCfg
*/
public UrlListCfg atCfg(AtCfg atCfg) {
this.atCfg = atCfg;
return this;
}
/**
* set 白名单不检查指定Web防护规则id, 多个逗号分隔
*
* @param skipRuleId
*/
public UrlListCfg skipRuleId(String skipRuleId) {
this.skipRuleId = skipRuleId;
return this;
}
}