public boolean equals()

in aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/APIGatewayProxyRequestEvent.java [346:400]


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

            if (obj instanceof ProxyRequestContext == false)
                return false;
            ProxyRequestContext other = (ProxyRequestContext) obj;
            if (other.getAccountId() == null ^ this.getAccountId() == null)
                return false;
            if (other.getAccountId() != null && other.getAccountId().equals(this.getAccountId()) == false)
                return false;
            if (other.getResourceId() == null ^ this.getResourceId() == null)
                return false;
            if (other.getResourceId() != null && other.getResourceId().equals(this.getResourceId()) == false)
                return false;
            if (other.getStage() == null ^ this.getStage() == null)
                return false;
            if (other.getStage() != null && other.getStage().equals(this.getStage()) == false)
                return false;
            if (other.getRequestId() == null ^ this.getRequestId() == null)
                return false;
            if (other.getRequestId() != null && other.getRequestId().equals(this.getRequestId()) == false)
                return false;
            if (other.getIdentity() == null ^ this.getIdentity() == null)
                return false;
            if (other.getIdentity() != null && other.getIdentity().equals(this.getIdentity()) == false)
                return false;
            if (other.getResourcePath() == null ^ this.getResourcePath() == null)
                return false;
            if (other.getResourcePath() != null && other.getResourcePath().equals(this.getResourcePath()) == false)
                return false;
            if (other.getHttpMethod() == null ^ this.getHttpMethod() == null)
                return false;
            if (other.getHttpMethod() != null && other.getHttpMethod().equals(this.getHttpMethod()) == false)
                return false;
            if (other.getApiId() == null ^ this.getApiId() == null)
                return false;
            if (other.getApiId() != null && other.getApiId().equals(this.getApiId()) == false)
                return false;
            if (other.getPath() == null ^ this.getPath() == null)
                return false;
            if (other.getPath() != null && other.getPath().equals(this.getPath()) == false)
                return false;
            if (other.getAuthorizer() == null ^ this.getAuthorizer() == null)
                return false;
            if (other.getAuthorizer() != null && !other.getAuthorizer().equals(this.getAuthorizer()))
                return false;
            if (other.getOperationName() == null ^ this.getOperationName() == null)
                return false;
            if (other.getOperationName() != null && !other.getOperationName().equals(this.getOperationName()))
                return false;
            return true;
        }