com.jdcloud.sdk.service.waf.model.ListWafConditionsResult 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.
*
* Domain-Protection
* Domain-Protection API
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
package com.jdcloud.sdk.service.waf.model;
import java.util.List;
import java.util.ArrayList;
import com.jdcloud.sdk.service.waf.model.ListWafConditionCfg;
import com.jdcloud.sdk.service.JdcloudResult;
/**
* 获取网站waf自定义防护条件
*/
public class ListWafConditionsResult extends JdcloudResult implements java.io.Serializable {
private static final long serialVersionUID = 1L;
/**
* 页码
*/
private Integer pageIndex;
/**
* 页大小
*/
private Integer pageSize;
/**
* 配置总数
*/
private Integer totalCount;
/**
* list
*/
private List list;
/**
* get 页码
*
* @return
*/
public Integer getPageIndex() {
return pageIndex;
}
/**
* set 页码
*
* @param pageIndex
*/
public void setPageIndex(Integer pageIndex) {
this.pageIndex = pageIndex;
}
/**
* get 页大小
*
* @return
*/
public Integer getPageSize() {
return pageSize;
}
/**
* set 页大小
*
* @param pageSize
*/
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
/**
* get 配置总数
*
* @return
*/
public Integer getTotalCount() {
return totalCount;
}
/**
* set 配置总数
*
* @param totalCount
*/
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
/**
* get list
*
* @return
*/
public List getList() {
return list;
}
/**
* set list
*
* @param list
*/
public void setList(List list) {
this.list = list;
}
/**
* set 页码
*
* @param pageIndex
*/
public ListWafConditionsResult pageIndex(Integer pageIndex) {
this.pageIndex = pageIndex;
return this;
}
/**
* set 页大小
*
* @param pageSize
*/
public ListWafConditionsResult pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* set 配置总数
*
* @param totalCount
*/
public ListWafConditionsResult totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
/**
* set list
*
* @param list
*/
public ListWafConditionsResult list(List list) {
this.list = list;
return this;
}
/**
* add item to list
*
* @param list
*/
public void addList(ListWafConditionCfg list) {
if (this.list == null) {
this.list = new ArrayList<>();
}
this.list.add(list);
}
}