@Override public int hashCode() { int result = getAuthor() != null ? getAuthor().hashCode() : 0; result = 31 * result + (getValueRaw() != null ? getValueRaw().hashCode() : 0); result = 31 * result + (getRewardType() != null ? getRewardType().hashCode() : 0); return result; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof RewardAction)) { return false; } RewardAction that = (RewardAction) o; if (getAuthor() != null ? !getAuthor().equals(that.getAuthor()) : that.getAuthor() != null) { return false; } if (getValueRaw() != null ? !getValueRaw().equals(that.getValueRaw()) : that.getValueRaw() != null) { return false; } return getRewardType() != null ? getRewardType().equals(that.getRewardType()) : that.getRewardType() == null; }
@Override public int hashCode() { int result = getAuthor() != null ? getAuthor().hashCode() : 0; result = 31 * result + (getValueRaw() != null ? getValueRaw().hashCode() : 0); result = 31 * result + (getRewardType() != null ? getRewardType().hashCode() : 0); return result; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof RewardAction)) { return false; } RewardAction that = (RewardAction) o; if (getAuthor() != null ? !getAuthor().equals(that.getAuthor()) : that.getAuthor() != null) { return false; } if (getValueRaw() != null ? !getValueRaw().equals(that.getValueRaw()) : that.getValueRaw() != null) { return false; } return getRewardType() != null ? getRewardType().equals(that.getRewardType()) : that.getRewardType() == null; }
@Override public String toString() { return "RewardAction{" + "author='" + getAuthor() + '\'' + ", value='" + getValueRaw() + '\'' + ", rewardType='" + getRewardType() + '\'' + '}'; } }
@Override public String toString() { return "RewardAction{" + "author='" + getAuthor() + '\'' + ", value='" + getValueRaw() + '\'' + ", rewardType='" + getRewardType() + '\'' + '}'; } }