public boolean equals()

in aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/LexEvent.java [544:583]


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

        if (obj instanceof LexEvent == false)
            return false;
        LexEvent other = (LexEvent) obj;
        if (other.getMessageVersion() == null ^ this.getMessageVersion() == null)
            return false;
        if (other.getMessageVersion() != null && other.getMessageVersion().equals(this.getMessageVersion()) == false)
            return false;
        if (other.getInvocationSource() == null ^ this.getInvocationSource() == null)
            return false;
        if (other.getInvocationSource() != null && other.getInvocationSource().equals(this.getInvocationSource()) == 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.getSessionAttributes() == null ^ this.getSessionAttributes() == null)
            return false;
        if (other.getSessionAttributes() != null && other.getSessionAttributes().equals(this.getSessionAttributes()) == false)
            return false;
        if (other.getOutputDialogMode() == null ^ this.getOutputDialogMode() == null)
            return false;
        if (other.getOutputDialogMode() != null && other.getOutputDialogMode().equals(this.getOutputDialogMode()) == false)
            return false;
        if (other.getCurrentIntent() == null ^ this.getCurrentIntent() == null)
            return false;
        if (other.getCurrentIntent() != null && other.getCurrentIntent().equals(this.getCurrentIntent()) == false)
            return false;
        if (other.getBot() == null ^ this.getBot() == null)
            return false;
        if (other.getBot() != null && other.getBot().equals(this.getBot()) == false)
            return false;
        
        return true;
    }