@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof AddAttachmentsToSetResult == false) return false; AddAttachmentsToSetResult other = (AddAttachmentsToSetResult) obj; if (other.getAttachmentSetId() == null ^ this.getAttachmentSetId() == null) return false; if (other.getAttachmentSetId() != null && other.getAttachmentSetId().equals(this.getAttachmentSetId()) == false) return false; if (other.getExpiryTime() == null ^ this.getExpiryTime() == null) return false; if (other.getExpiryTime() != null && other.getExpiryTime().equals(this.getExpiryTime()) == false) return false; return true; }