Added support for deleted flag

This commit is contained in:
M66B
2021-02-11 09:51:48 +01:00
parent 50686ce0c0
commit 54d806d3ed
9 changed files with 2449 additions and 23 deletions

View File

@@ -188,6 +188,8 @@ public class EntityMessage implements Serializable {
public Boolean answered = false;
@NonNull
public Boolean flagged = false;
@NonNull
public Boolean deleted = false;
public String flags; // system flags
public String[] keywords; // user flags
public String[] labels; // Gmail
@@ -204,6 +206,8 @@ public class EntityMessage implements Serializable {
@NonNull
public Boolean ui_flagged = false;
@NonNull
public Boolean ui_deleted = false;
@NonNull
public Boolean ui_hide = false;
@NonNull
public Boolean ui_found = false;
@@ -529,12 +533,14 @@ public class EntityMessage implements Serializable {
this.seen.equals(other.seen) &&
this.answered.equals(other.answered) &&
this.flagged.equals(other.flagged) &&
this.deleted.equals(other.deleted) &&
Objects.equals(this.flags, other.flags) &&
Helper.equal(this.keywords, other.keywords) &&
this.notifying.equals(other.notifying) &&
this.ui_seen.equals(other.ui_seen) &&
this.ui_answered.equals(other.ui_answered) &&
this.ui_flagged.equals(other.ui_flagged) &&
this.ui_deleted.equals(other.ui_deleted) &&
this.ui_hide.equals(other.ui_hide) &&
this.ui_found.equals(other.ui_found) &&
this.ui_ignored.equals(other.ui_ignored) &&