JavaApiInfo.java
1.84 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
package com.model;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
public class JavaApiInfo {
private Integer serviceId;
private Integer serviceType;
private String apiName;
private String apiUrl;
private String apiData;
private Integer apiToggle;
private Integer apiReqMethod;
private Integer apiWarnTrigger;
public Integer getServiceId() {
return serviceId;
}
public void setServiceId(Integer serviceId) {
this.serviceId = serviceId;
}
public Integer getServiceType() {
return serviceType;
}
public void setServiceType(Integer serviceType) {
this.serviceType = serviceType;
}
public String getApiName() {
return apiName;
}
public void setApiName(String apiName) {
this.apiName = apiName == null ? null : apiName.trim();
}
public String getApiUrl() {
return apiUrl;
}
public void setApiUrl(String apiUrl) {
this.apiUrl = apiUrl == null ? null : apiUrl.trim();
}
public String getApiData() {
return apiData;
}
public void setApiData(String apiData) {
this.apiData = apiData == null ? null : apiData.trim();
}
public Integer getApiToggle() {
return apiToggle;
}
public void setApiToggle(Integer apiToggle) {
this.apiToggle = apiToggle;
}
public Integer getApiReqMethod() {
return apiReqMethod;
}
public void setApiReqMethod(Integer apiReqMethod) {
this.apiReqMethod = apiReqMethod;
}
@Override
public String toString() {
return ReflectionToStringBuilder.toString(this);
}
public Integer getApiWarnTrigger() {
return apiWarnTrigger;
}
public void setApiWarnTrigger(Integer apiWarnTrigger) {
this.apiWarnTrigger = apiWarnTrigger;
}
}