File tree Expand file tree Collapse file tree
api/src/main/java/com/creatubbles/api/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66import com .fasterxml .jackson .annotation .JsonProperty ;
77import com .fasterxml .jackson .databind .annotation .JsonDeserialize ;
88
9+ import java .util .Date ;
910import java .util .List ;
1011
1112import static java .util .Collections .unmodifiableList ;
@@ -30,6 +31,15 @@ public class Meta {
3031 @ JsonProperty ("followed_users" )
3132 private List <String > followedUsers ;
3233
34+ @ JsonProperty ("total_unread_count" )
35+ private Integer totalUnreadCount ;
36+
37+ @ JsonProperty ("total_new_count" )
38+ private Integer totalNewCount ;
39+
40+ @ JsonProperty ("last_viewed_at" )
41+ private Date lastViewedAt ;
42+
3343 @ JsonDeserialize (using = AbilitiesConverter .class )
3444 private List <Ability > abilities ;
3545
@@ -67,4 +77,19 @@ public List<String> getFollowedUsers() {
6777 public List <Ability > getAbilities () {
6878 return unmodifiableList (abilities );
6979 }
80+
81+ @ Nullable
82+ public Integer getTotalUnreadCount () {
83+ return totalUnreadCount ;
84+ }
85+
86+ @ Nullable
87+ public Integer getTotalNewCount () {
88+ return totalNewCount ;
89+ }
90+
91+ @ Nullable
92+ public Date getLastViewedAt () {
93+ return lastViewedAt ;
94+ }
7095}
You can’t perform that action at this time.
0 commit comments