@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof SearchByAttributeValue == false)
            return false;
        SearchByAttributeValue other = (SearchByAttributeValue) obj;
        if (other.getDICOMPatientId() == null ^ this.getDICOMPatientId() == null)
            return false;
        if (other.getDICOMPatientId() != null && other.getDICOMPatientId().equals(this.getDICOMPatientId()) == false)
            return false;
        if (other.getDICOMAccessionNumber() == null ^ this.getDICOMAccessionNumber() == null)
            return false;
        if (other.getDICOMAccessionNumber() != null && other.getDICOMAccessionNumber().equals(this.getDICOMAccessionNumber()) == false)
            return false;
        if (other.getDICOMStudyId() == null ^ this.getDICOMStudyId() == null)
            return false;
        if (other.getDICOMStudyId() != null && other.getDICOMStudyId().equals(this.getDICOMStudyId()) == false)
            return false;
        if (other.getDICOMStudyInstanceUID() == null ^ this.getDICOMStudyInstanceUID() == null)
            return false;
        if (other.getDICOMStudyInstanceUID() != null && other.getDICOMStudyInstanceUID().equals(this.getDICOMStudyInstanceUID()) == false)
            return false;
        if (other.getDICOMSeriesInstanceUID() == null ^ this.getDICOMSeriesInstanceUID() == null)
            return false;
        if (other.getDICOMSeriesInstanceUID() != null && other.getDICOMSeriesInstanceUID().equals(this.getDICOMSeriesInstanceUID()) == false)
            return false;
        if (other.getCreatedAt() == null ^ this.getCreatedAt() == null)
            return false;
        if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false)
            return false;
        if (other.getUpdatedAt() == null ^ this.getUpdatedAt() == null)
            return false;
        if (other.getUpdatedAt() != null && other.getUpdatedAt().equals(this.getUpdatedAt()) == false)
            return false;
        if (other.getDICOMStudyDateAndTime() == null ^ this.getDICOMStudyDateAndTime() == null)
            return false;
        if (other.getDICOMStudyDateAndTime() != null && other.getDICOMStudyDateAndTime().equals(this.getDICOMStudyDateAndTime()) == false)
            return false;
        return true;
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-medicalimaging/src/main/java/com/amazonaws/services/medicalimaging/model/SearchByAttributeValue.java