public boolean equals()

in aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/APIGatewayV2WebSocketEvent.java [666:690]


  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    APIGatewayV2WebSocketEvent that = (APIGatewayV2WebSocketEvent) o;

    if (isBase64Encoded != that.isBase64Encoded) return false;
    if (resource != null ? !resource.equals(that.resource) : that.resource != null) return false;
    if (path != null ? !path.equals(that.path) : that.path != null) return false;
    if (httpMethod != null ? !httpMethod.equals(that.httpMethod) : that.httpMethod != null) return false;
    if (headers != null ? !headers.equals(that.headers) : that.headers != null) return false;
    if (multiValueHeaders != null ? !multiValueHeaders.equals(that.multiValueHeaders) : that.multiValueHeaders != null)
      return false;
    if (queryStringParameters != null ? !queryStringParameters.equals(that.queryStringParameters) : that.queryStringParameters != null)
      return false;
    if (multiValueQueryStringParameters != null ? !multiValueQueryStringParameters.equals(that.multiValueQueryStringParameters) : that.multiValueQueryStringParameters != null)
      return false;
    if (pathParameters != null ? !pathParameters.equals(that.pathParameters) : that.pathParameters != null)
      return false;
    if (stageVariables != null ? !stageVariables.equals(that.stageVariables) : that.stageVariables != null)
      return false;
    if (requestContext != null ? !requestContext.equals(that.requestContext) : that.requestContext != null)
      return false;
    return body != null ? body.equals(that.body) : that.body == null;
  }