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

        if (obj instanceof AcceptPageRequest == false)
            return false;
        AcceptPageRequest other = (AcceptPageRequest) obj;
        if (other.getPageId() == null ^ this.getPageId() == null)
            return false;
        if (other.getPageId() != null && other.getPageId().equals(this.getPageId()) == false)
            return false;
        if (other.getContactChannelId() == null ^ this.getContactChannelId() == null)
            return false;
        if (other.getContactChannelId() != null && other.getContactChannelId().equals(this.getContactChannelId()) == false)
            return false;
        if (other.getAcceptType() == null ^ this.getAcceptType() == null)
            return false;
        if (other.getAcceptType() != null && other.getAcceptType().equals(this.getAcceptType()) == false)
            return false;
        if (other.getNote() == null ^ this.getNote() == null)
            return false;
        if (other.getNote() != null && other.getNote().equals(this.getNote()) == false)
            return false;
        if (other.getAcceptCode() == null ^ this.getAcceptCode() == null)
            return false;
        if (other.getAcceptCode() != null && other.getAcceptCode().equals(this.getAcceptCode()) == false)
            return false;
        if (other.getAcceptCodeValidation() == null ^ this.getAcceptCodeValidation() == null)
            return false;
        if (other.getAcceptCodeValidation() != null && other.getAcceptCodeValidation().equals(this.getAcceptCodeValidation()) == 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-ssmcontacts/src/main/java/com/amazonaws/services/ssmcontacts/model/AcceptPageRequest.java