forked from intercom/intercom-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJobTask.java
More file actions
47 lines (35 loc) · 1002 Bytes
/
Copy pathJobTask.java
File metadata and controls
47 lines (35 loc) · 1002 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
package io.intercom.api;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
@SuppressWarnings("UnusedDeclaration")
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_DEFAULT)
public class JobTask extends TypedData {
@JsonProperty("type")
private final String type = "job_task";
@JsonProperty("id")
private String id;
@JsonProperty("completed_at")
private Long completedAt;
@JsonProperty("created_at")
private long createdAt;
@JsonProperty("item_count")
private long itemCount;
@Override
public String getType() {
return type;
}
public String getID() {
return id;
}
public Long getCompletedAt() {
return completedAt;
}
public long getCreatedAt() {
return createdAt;
}
public long getItemCount() {
return itemCount;
}
}