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

        if (obj instanceof SearchInventoryResultItem == false)
            return false;
        SearchInventoryResultItem other = (SearchInventoryResultItem) obj;
        if (other.getAssetItem() == null ^ this.getAssetItem() == null)
            return false;
        if (other.getAssetItem() != null && other.getAssetItem().equals(this.getAssetItem()) == false)
            return false;
        if (other.getGlossaryItem() == null ^ this.getGlossaryItem() == null)
            return false;
        if (other.getGlossaryItem() != null && other.getGlossaryItem().equals(this.getGlossaryItem()) == false)
            return false;
        if (other.getGlossaryTermItem() == null ^ this.getGlossaryTermItem() == null)
            return false;
        if (other.getGlossaryTermItem() != null && other.getGlossaryTermItem().equals(this.getGlossaryTermItem()) == 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-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/SearchInventoryResultItem.java