-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathResponse.java
More file actions
57 lines (44 loc) · 994 Bytes
/
Copy pathResponse.java
File metadata and controls
57 lines (44 loc) · 994 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package fun.fireline.tools;
/**
* @author yhy
* @date 2021/8/20 22:56
* @github https://github.com/yhy0
*/
public class Response {
private int code;
private String head;
private String text;
private String error;
public Response() {
}
public Response(int code, String head, String text, String error) {
this.code = code;
this.head = head;
this.text = text;
this.error = error;
}
public int getCode() {
return this.code;
}
public void setCode(int code) {
this.code = code;
}
public String getHead() {
return this.head;
}
public void setHead(String head) {
this.head = head;
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public String getError() {
return this.error;
}
public void setError(String error) {
this.error = error;
}
}