2021-08-18 19:15:49 +08:00
|
|
|
package com.zdjizhi.common;
|
|
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
import java.util.ArrayList;
|
2022-09-23 18:37:33 +08:00
|
|
|
import java.util.Arrays;
|
2021-08-18 19:15:49 +08:00
|
|
|
|
2021-10-22 18:38:29 +08:00
|
|
|
/**
|
|
|
|
|
* @author wlh
|
|
|
|
|
*/
|
2021-08-18 19:15:49 +08:00
|
|
|
public class DosDetectionThreshold implements Serializable {
|
2024-02-28 16:58:15 +08:00
|
|
|
private long id;
|
2023-11-13 16:45:04 +08:00
|
|
|
private String attack_type;
|
|
|
|
|
private ArrayList<String> server_ip_list;
|
|
|
|
|
private String server_ip_addr;
|
|
|
|
|
private long packets_per_sec;
|
|
|
|
|
private long bits_per_sec;
|
|
|
|
|
private long sessions_per_sec;
|
2024-02-28 16:58:15 +08:00
|
|
|
private int is_enabled;
|
2023-11-13 16:45:04 +08:00
|
|
|
private int vsys_id;
|
|
|
|
|
private Integer[] superior_ids;
|
2021-10-22 18:38:29 +08:00
|
|
|
|
2024-02-28 16:58:15 +08:00
|
|
|
public long getId() {
|
|
|
|
|
return id;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2024-02-28 16:58:15 +08:00
|
|
|
public void setId(long id) {
|
|
|
|
|
this.id = id;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public String getAttack_type() {
|
|
|
|
|
return attack_type;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public void setAttack_type(String attack_type) {
|
|
|
|
|
this.attack_type = attack_type;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public ArrayList<String> getServer_ip_list() {
|
|
|
|
|
return server_ip_list;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public void setServer_ip_list(ArrayList<String> server_ip_list) {
|
|
|
|
|
this.server_ip_list = server_ip_list;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public String getServer_ip_addr() {
|
|
|
|
|
return server_ip_addr;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public void setServer_ip_addr(String server_ip_addr) {
|
|
|
|
|
this.server_ip_addr = server_ip_addr;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public long getPackets_per_sec() {
|
|
|
|
|
return packets_per_sec;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public void setPackets_per_sec(long packets_per_sec) {
|
|
|
|
|
this.packets_per_sec = packets_per_sec;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public long getBits_per_sec() {
|
|
|
|
|
return bits_per_sec;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public void setBits_per_sec(long bits_per_sec) {
|
|
|
|
|
this.bits_per_sec = bits_per_sec;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public long getSessions_per_sec() {
|
|
|
|
|
return sessions_per_sec;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public void setSessions_per_sec(long sessions_per_sec) {
|
|
|
|
|
this.sessions_per_sec = sessions_per_sec;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2024-02-28 16:58:15 +08:00
|
|
|
public int getIs_enabled() {
|
|
|
|
|
return is_enabled;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
|
|
|
|
|
2024-02-28 16:58:15 +08:00
|
|
|
public void setIs_enabled(int is_enabled) {
|
|
|
|
|
this.is_enabled = is_enabled;
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|
2022-09-23 18:37:33 +08:00
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public int getVsys_id() {
|
|
|
|
|
return vsys_id;
|
2022-09-23 18:37:33 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public void setVsys_id(int vsys_id) {
|
|
|
|
|
this.vsys_id = vsys_id;
|
2022-09-23 18:37:33 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public Integer[] getSuperior_ids() {
|
|
|
|
|
return superior_ids;
|
2022-09-23 18:37:33 +08:00
|
|
|
}
|
|
|
|
|
|
2023-11-13 16:45:04 +08:00
|
|
|
public void setSuperior_ids(Integer[] superior_ids) {
|
|
|
|
|
this.superior_ids = superior_ids;
|
2022-09-23 18:37:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String toString() {
|
|
|
|
|
return "DosDetectionThreshold{" +
|
2024-02-28 16:58:15 +08:00
|
|
|
"id=" + id +
|
2023-11-13 16:45:04 +08:00
|
|
|
", attack_type='" + attack_type + '\'' +
|
|
|
|
|
", server_ip_list=" + server_ip_list +
|
|
|
|
|
", server_ip_addr='" + server_ip_addr + '\'' +
|
|
|
|
|
", packets_per_sec=" + packets_per_sec +
|
|
|
|
|
", bits_per_sec=" + bits_per_sec +
|
|
|
|
|
", sessions_per_sec=" + sessions_per_sec +
|
2024-02-28 16:58:15 +08:00
|
|
|
", is_enabled=" + is_enabled +
|
2023-11-13 16:45:04 +08:00
|
|
|
", vsys_id=" + vsys_id +
|
|
|
|
|
", superior_ids=" + Arrays.toString(superior_ids) +
|
2022-09-23 18:37:33 +08:00
|
|
|
'}';
|
|
|
|
|
}
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|