forked from iron-io/iron_worker_java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TaskEntity.java
107 lines (87 loc) · 1.94 KB
/
TaskEntity.java
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
package io.iron.ironworker.client.entities;
import com.google.gson.annotations.SerializedName;
import java.util.Date;
public class TaskEntity {
@SerializedName("id")
String id;
@SerializedName("project_id")
String projectId;
@SerializedName("code_id")
String codeId;
@SerializedName("code_name")
String codeName;
@SerializedName("priority")
int priority;
@SerializedName("timeout")
int timeout;
@SerializedName("status")
String status;
@SerializedName("start_time")
Date startTime;
@SerializedName("end_time")
Date endTime;
@SerializedName("duration")
int duration;
@SerializedName("run_times")
int runTimes;
@SerializedName("payload")
String payload;
@SerializedName("percent")
int percent;
@SerializedName("msg")
String msg;
@SerializedName("created_at")
Date createdAt;
@SerializedName("updated_at")
Date updatedAt;
protected TaskEntity() {
}
public String getId() {
return id;
}
public String getProjectId() {
return projectId;
}
public String getCodeId() {
return codeId;
}
public String getCodeName() {
return codeName;
}
public int getPriority() {
return priority;
}
public int getTimeout() {
return timeout;
}
public String getStatus() {
return status;
}
public Date getStartTime() {
return startTime;
}
public Date getEndTime() {
return endTime;
}
public int getDuration() {
return duration;
}
public int getRunTimes() {
return runTimes;
}
public String getPayload() {
return payload;
}
public int getPercent() {
return percent;
}
public String getMsg() {
return msg;
}
public Date getCreatedAt() {
return createdAt;
}
public Date getUpdatedAt() {
return updatedAt;
}
}