package com.wgcloud.entity;
|
|
import java.util.Date;
|
|
/**
|
* @version v3.3
|
* @ClassName:HeathMonitor.java
|
* @author: http://www.wgstart.com
|
* @date: 2021年1月16日
|
* @Description: 服务接口信息
|
* @Copyright: 2019-2021 wgcloud. All rights reserved.
|
*/
|
public class HeathMonitor extends BaseEntity {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
|
/**
|
* 服务接口名称
|
*/
|
private String appName;
|
|
/**
|
* 服务接口Url
|
*/
|
private String heathUrl;
|
|
/**
|
* 状态码
|
*/
|
private String heathStatus;
|
|
/**
|
* 响应时间毫秒
|
*/
|
private Integer resTimes;
|
|
/**
|
* 1启用监控2停止监控
|
*/
|
private String active;
|
|
/**
|
* 响应报文必须包含的关键字符
|
*/
|
private String resKeyword;
|
|
/**
|
* 响应报文不能包含的关键字符,多个用英文逗号隔开
|
*/
|
private String resNoKeyword;
|
|
/**
|
* 接口请求方式,GET,POST
|
*/
|
private String method;
|
|
/**
|
* post接口请求参数json字符串,可为空
|
*/
|
private String postStr;
|
|
/**
|
* post请求时候,header添加的键值对json字符串
|
*/
|
private String headerJson;
|
|
//header添加的键值对,页面显示用,数据库无此字段
|
private String headerKey;
|
private String headerValue;
|
private String headerKey2;
|
private String headerValue2;
|
private String headerKey3;
|
private String headerValue3;
|
private String headerKey4;
|
private String headerValue4;
|
private String headerKey5;
|
private String headerValue5;
|
|
//累积告警次数,页面显示用,数据库无此字段
|
private Integer warnCount;
|
|
//累积告警次数查询关键字,页面显示用,数据库无此字段
|
private String warnQueryWd;
|
|
/**
|
* 创建时间
|
*/
|
private Date createTime;
|
|
/**
|
* 所属用户账号
|
*/
|
private String account;
|
|
public String getAppName() {
|
return appName;
|
}
|
|
public void setAppName(String appName) {
|
this.appName = appName;
|
}
|
|
public String getHeathUrl() {
|
return heathUrl;
|
}
|
|
public void setHeathUrl(String heathUrl) {
|
this.heathUrl = heathUrl;
|
}
|
|
public String getHeathStatus() {
|
return heathStatus;
|
}
|
|
public void setHeathStatus(String heathStatus) {
|
this.heathStatus = heathStatus;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Integer getResTimes() {
|
return resTimes;
|
}
|
|
public void setResTimes(Integer resTimes) {
|
this.resTimes = resTimes;
|
}
|
|
public String getActive() {
|
return active;
|
}
|
|
public void setActive(String active) {
|
this.active = active;
|
}
|
|
public String getResKeyword() {
|
return resKeyword;
|
}
|
|
public void setResKeyword(String resKeyword) {
|
this.resKeyword = resKeyword;
|
}
|
|
public String getMethod() {
|
return method;
|
}
|
|
public void setMethod(String method) {
|
this.method = method;
|
}
|
|
public String getPostStr() {
|
return postStr;
|
}
|
|
public void setPostStr(String postStr) {
|
this.postStr = postStr;
|
}
|
|
public Integer getWarnCount() {
|
return warnCount;
|
}
|
|
public void setWarnCount(Integer warnCount) {
|
this.warnCount = warnCount;
|
}
|
|
public String getResNoKeyword() {
|
return resNoKeyword;
|
}
|
|
public void setResNoKeyword(String resNoKeyword) {
|
this.resNoKeyword = resNoKeyword;
|
}
|
|
public String getWarnQueryWd() {
|
return warnQueryWd;
|
}
|
|
public void setWarnQueryWd(String warnQueryWd) {
|
this.warnQueryWd = warnQueryWd;
|
}
|
|
public String getHeaderJson() {
|
return headerJson;
|
}
|
|
public void setHeaderJson(String headerJson) {
|
this.headerJson = headerJson;
|
}
|
|
public String getHeaderKey() {
|
return headerKey;
|
}
|
|
public void setHeaderKey(String headerKey) {
|
this.headerKey = headerKey;
|
}
|
|
public String getHeaderValue() {
|
return headerValue;
|
}
|
|
public void setHeaderValue(String headerValue) {
|
this.headerValue = headerValue;
|
}
|
|
public String getHeaderKey2() {
|
return headerKey2;
|
}
|
|
public void setHeaderKey2(String headerKey2) {
|
this.headerKey2 = headerKey2;
|
}
|
|
public String getHeaderValue2() {
|
return headerValue2;
|
}
|
|
public void setHeaderValue2(String headerValue2) {
|
this.headerValue2 = headerValue2;
|
}
|
|
public String getHeaderKey3() {
|
return headerKey3;
|
}
|
|
public void setHeaderKey3(String headerKey3) {
|
this.headerKey3 = headerKey3;
|
}
|
|
public String getHeaderValue3() {
|
return headerValue3;
|
}
|
|
public void setHeaderValue3(String headerValue3) {
|
this.headerValue3 = headerValue3;
|
}
|
|
public String getHeaderKey4() {
|
return headerKey4;
|
}
|
|
public void setHeaderKey4(String headerKey4) {
|
this.headerKey4 = headerKey4;
|
}
|
|
public String getHeaderValue4() {
|
return headerValue4;
|
}
|
|
public void setHeaderValue4(String headerValue4) {
|
this.headerValue4 = headerValue4;
|
}
|
|
public String getHeaderKey5() {
|
return headerKey5;
|
}
|
|
public void setHeaderKey5(String headerKey5) {
|
this.headerKey5 = headerKey5;
|
}
|
|
public String getHeaderValue5() {
|
return headerValue5;
|
}
|
|
public void setHeaderValue5(String headerValue5) {
|
this.headerValue5 = headerValue5;
|
}
|
|
public String getAccount() {
|
return account;
|
}
|
|
public void setAccount(String account) {
|
this.account = account;
|
}
|
}
|