fix:Profile ID recognition error(TSG-19499)
This commit is contained in:
@@ -3,29 +3,28 @@ package com.zdjizhi.common;
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* @author wlh
|
||||
*/
|
||||
public class DosDetectionThreshold implements Serializable {
|
||||
private long profile_id;
|
||||
private long id;
|
||||
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;
|
||||
private int is_valid;
|
||||
private int is_enabled;
|
||||
private int vsys_id;
|
||||
private Integer[] superior_ids;
|
||||
|
||||
public long getProfile_id() {
|
||||
return profile_id;
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setProfile_id(long profile_id) {
|
||||
this.profile_id = profile_id;
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getAttack_type() {
|
||||
@@ -76,12 +75,12 @@ public class DosDetectionThreshold implements Serializable {
|
||||
this.sessions_per_sec = sessions_per_sec;
|
||||
}
|
||||
|
||||
public int getIs_valid() {
|
||||
return is_valid;
|
||||
public int getIs_enabled() {
|
||||
return is_enabled;
|
||||
}
|
||||
|
||||
public void setIs_valid(int is_valid) {
|
||||
this.is_valid = is_valid;
|
||||
public void setIs_enabled(int is_enabled) {
|
||||
this.is_enabled = is_enabled;
|
||||
}
|
||||
|
||||
public int getVsys_id() {
|
||||
@@ -103,14 +102,14 @@ public class DosDetectionThreshold implements Serializable {
|
||||
@Override
|
||||
public String toString() {
|
||||
return "DosDetectionThreshold{" +
|
||||
"profile_id=" + profile_id +
|
||||
"id=" + id +
|
||||
", 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 +
|
||||
", is_valid=" + is_valid +
|
||||
", is_enabled=" + is_enabled +
|
||||
", vsys_id=" + vsys_id +
|
||||
", superior_ids=" + Arrays.toString(superior_ids) +
|
||||
'}';
|
||||
|
||||
Reference in New Issue
Block a user