Fix serializedName
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Umberto Furno 2019-11-13 18:00:11 +01:00
parent c3e032bf29
commit 01e502455f

View File

@ -17,6 +17,14 @@ public class Card {
public Card() {
}
public String getAuthorId() {
return authorId;
}
public void setAuthorId(String authorId) {
this.authorId = authorId;
}
public String getId() {
return id;
}
@ -217,13 +225,6 @@ public class Card {
isOvertime = overtime;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public int getSort() {
return sort;
@ -285,7 +286,7 @@ public class Card {
", endAt='" + endAt + '\'' +
", spentTime=" + spentTime +
", isOvertime=" + isOvertime +
", userId='" + userId + '\'' +
", userId='" + authorId + '\'' +
", sort=" + sort +
", subtaskSort=" + subtaskSort +
", type='" + type + '\'' +
@ -319,10 +320,11 @@ public class Card {
private Date endAt;
private int spentTime;
private Boolean isOvertime;
private String userId;
//private String userId;
private int sort;
private int subtaskSort;
private String type;
private String linkedId;
@SerializedName(value = "authorId", alternate = "userId")
private String authorId;
}