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

        if (obj instanceof SourceCodeType == false)
            return false;
        SourceCodeType other = (SourceCodeType) obj;
        if (other.getCommitDiff() == null ^ this.getCommitDiff() == null)
            return false;
        if (other.getCommitDiff() != null && other.getCommitDiff().equals(this.getCommitDiff()) == false)
            return false;
        if (other.getRepositoryHead() == null ^ this.getRepositoryHead() == null)
            return false;
        if (other.getRepositoryHead() != null && other.getRepositoryHead().equals(this.getRepositoryHead()) == false)
            return false;
        if (other.getBranchDiff() == null ^ this.getBranchDiff() == null)
            return false;
        if (other.getBranchDiff() != null && other.getBranchDiff().equals(this.getBranchDiff()) == false)
            return false;
        if (other.getS3BucketRepository() == null ^ this.getS3BucketRepository() == null)
            return false;
        if (other.getS3BucketRepository() != null && other.getS3BucketRepository().equals(this.getS3BucketRepository()) == false)
            return false;
        if (other.getRequestMetadata() == null ^ this.getRequestMetadata() == null)
            return false;
        if (other.getRequestMetadata() != null && other.getRequestMetadata().equals(this.getRequestMetadata()) == 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-codegurureviewer/src/main/java/com/amazonaws/services/codegurureviewer/model/SourceCodeType.java