Show send state/errors

This commit is contained in:
M66B
2018-08-15 11:26:59 +00:00
parent 92fc1349f0
commit ab485f8d43
10 changed files with 73 additions and 13 deletions

View File

@@ -62,6 +62,8 @@ public class EntityIdentity {
public Boolean primary;
@NonNull
public Boolean synchronize;
public String state;
public String error;
@Override
public boolean equals(Object obj) {
@@ -77,7 +79,9 @@ public class EntityIdentity {
this.user.equals(other.user) &&
this.password.equals(other.password) &&
this.primary.equals(other.primary) &&
this.synchronize.equals(other.synchronize));
this.synchronize.equals(other.synchronize) &&
(this.state == null ? other.state == null : this.state.equals(other.state)) &&
(this.error == null ? other.error == null : this.error.equals(other.error)));
} else
return false;
}