Commit c46d8f9 1 parent fa5e5ba commit c46d8f9 Copy full SHA for c46d8f9
File tree 1 file changed +5
-0
lines changed
management-api-server/src/main/java/com/datastax/mgmtapi/resources/models
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 7
7
8
8
import com .fasterxml .jackson .annotation .JsonCreator ;
9
9
import com .fasterxml .jackson .annotation .JsonProperty ;
10
+ import com .fasterxml .jackson .databind .annotation .JsonSerialize ;
11
+ import com .fasterxml .jackson .databind .ser .std .ToStringSerializer ;
10
12
import java .io .Serializable ;
11
13
import java .util .List ;
12
14
@@ -27,9 +29,11 @@ public enum JobStatus {
27
29
private JobStatus status ;
28
30
29
31
@ JsonProperty (value = "submit_time" )
32
+ @ JsonSerialize (using = ToStringSerializer .class )
30
33
private long submitTime ;
31
34
32
35
@ JsonProperty (value = "end_time" )
36
+ @ JsonSerialize (using = ToStringSerializer .class )
33
37
private long finishedTime ;
34
38
35
39
@ JsonProperty (value = "error" )
@@ -40,6 +44,7 @@ public static class StatusChange {
40
44
String status ;
41
45
42
46
@ JsonProperty (value = "change_time" )
47
+ @ JsonSerialize (using = ToStringSerializer .class )
43
48
long changeTime ;
44
49
45
50
@ JsonProperty (value = "message" )
You can’t perform that action at this time.
0 commit comments