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

        if (obj instanceof Participant == false)
            return false;
        Participant other = (Participant) obj;
        if (other.getParticipantId() == null ^ this.getParticipantId() == null)
            return false;
        if (other.getParticipantId() != null && other.getParticipantId().equals(this.getParticipantId()) == false)
            return false;
        if (other.getUserId() == null ^ this.getUserId() == null)
            return false;
        if (other.getUserId() != null && other.getUserId().equals(this.getUserId()) == false)
            return false;
        if (other.getState() == null ^ this.getState() == null)
            return false;
        if (other.getState() != null && other.getState().equals(this.getState()) == false)
            return false;
        if (other.getFirstJoinTime() == null ^ this.getFirstJoinTime() == null)
            return false;
        if (other.getFirstJoinTime() != null && other.getFirstJoinTime().equals(this.getFirstJoinTime()) == false)
            return false;
        if (other.getAttributes() == null ^ this.getAttributes() == null)
            return false;
        if (other.getAttributes() != null && other.getAttributes().equals(this.getAttributes()) == false)
            return false;
        if (other.getPublished() == null ^ this.getPublished() == null)
            return false;
        if (other.getPublished() != null && other.getPublished().equals(this.getPublished()) == false)
            return false;
        if (other.getIspName() == null ^ this.getIspName() == null)
            return false;
        if (other.getIspName() != null && other.getIspName().equals(this.getIspName()) == false)
            return false;
        if (other.getOsName() == null ^ this.getOsName() == null)
            return false;
        if (other.getOsName() != null && other.getOsName().equals(this.getOsName()) == false)
            return false;
        if (other.getOsVersion() == null ^ this.getOsVersion() == null)
            return false;
        if (other.getOsVersion() != null && other.getOsVersion().equals(this.getOsVersion()) == false)
            return false;
        if (other.getBrowserName() == null ^ this.getBrowserName() == null)
            return false;
        if (other.getBrowserName() != null && other.getBrowserName().equals(this.getBrowserName()) == false)
            return false;
        if (other.getBrowserVersion() == null ^ this.getBrowserVersion() == null)
            return false;
        if (other.getBrowserVersion() != null && other.getBrowserVersion().equals(this.getBrowserVersion()) == false)
            return false;
        if (other.getSdkVersion() == null ^ this.getSdkVersion() == null)
            return false;
        if (other.getSdkVersion() != null && other.getSdkVersion().equals(this.getSdkVersion()) == false)
            return false;
        if (other.getRecordingS3BucketName() == null ^ this.getRecordingS3BucketName() == null)
            return false;
        if (other.getRecordingS3BucketName() != null && other.getRecordingS3BucketName().equals(this.getRecordingS3BucketName()) == false)
            return false;
        if (other.getRecordingS3Prefix() == null ^ this.getRecordingS3Prefix() == null)
            return false;
        if (other.getRecordingS3Prefix() != null && other.getRecordingS3Prefix().equals(this.getRecordingS3Prefix()) == false)
            return false;
        if (other.getRecordingState() == null ^ this.getRecordingState() == null)
            return false;
        if (other.getRecordingState() != null && other.getRecordingState().equals(this.getRecordingState()) == 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-ivsrealtime/src/main/java/com/amazonaws/services/ivsrealtime/model/Participant.java