@Override public int hashCode() { int h$ = 1; h$ *= 1000003; h$ ^= message.hashCode(); h$ *= 1000003; h$ ^= title.hashCode(); h$ *= 1000003; h$ ^= (subtitle == null) ? 0 : subtitle.hashCode(); h$ *= 1000003; h$ ^= icon.hashCode(); h$ *= 1000003; h$ ^= level.hashCode(); return h$; }
@Override public int hashCode() { int h$ = 1; h$ *= 1000003; h$ ^= message.hashCode(); h$ *= 1000003; h$ ^= title.hashCode(); h$ *= 1000003; h$ ^= (subtitle == null) ? 0 : subtitle.hashCode(); h$ *= 1000003; h$ ^= icon.hashCode(); h$ *= 1000003; h$ ^= level.hashCode(); return h$; }
@Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof Notification) { Notification that = (Notification) o; return (this.message.equals(that.message())) && (this.title.equals(that.title())) && ((this.subtitle == null) ? (that.subtitle() == null) : this.subtitle.equals(that.subtitle())) && (this.icon.equals(that.icon())) && (this.level.equals(that.level())); } return false; }
@Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof Notification) { Notification that = (Notification) o; return (this.message.equals(that.message())) && (this.title.equals(that.title())) && ((this.subtitle == null) ? (that.subtitle() == null) : this.subtitle.equals(that.subtitle())) && (this.icon.equals(that.icon())) && (this.level.equals(that.level())); } return false; }
@Override public Notification.Level convert(String value) { return Notification.Level.valueOf(value.toUpperCase()); } }