JavaApiInfo.java
715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.model;
import lombok.Data;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
@Data
public class JavaApiInfo {
private Integer serviceId;
private Integer serviceType;
private String apiName;
//请求类型 http ,tcp
private String requestType;
private String apiUrl;
private String apiData;
private Integer apiToggle;
private Integer apiReqMethod;
private Integer apiWarnTrigger;
private Integer apiErrorCheck;
private Integer apiUrlCustom;
//需要特殊处理的情况
private String specialDealType;
@Override
public String toString() {
return ReflectionToStringBuilder.toString(this);
}
}