public boolean equals()

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


    public boolean equals(Object obj) {
      if (this == obj) {
        return true;
      }
      if (obj == null) {
        return false;
      }
      if (getClass() != obj.getClass()) {
        return false;
      }
      final RequestContext other = (RequestContext) obj;
      if (this.connectedAt != other.connectedAt) {
        return false;
      }
      if (this.requestTimeEpoch != other.requestTimeEpoch) {
        return false;
      }
      if ((this.accountId == null) ? (other.accountId != null) : !this.accountId.equals(other.accountId)) {
        return false;
      }
      if ((this.resourceId == null) ? (other.resourceId != null) : !this.resourceId.equals(other.resourceId)) {
        return false;
      }
      if ((this.stage == null) ? (other.stage != null) : !this.stage.equals(other.stage)) {
        return false;
      }
      if ((this.requestId == null) ? (other.requestId != null) : !this.requestId.equals(other.requestId)) {
        return false;
      }
      if ((this.ResourcePath == null) ? (other.ResourcePath != null) : !this.ResourcePath.equals(other.ResourcePath)) {
        return false;
      }
      if ((this.authorizer == null) ? (other.authorizer != null) : !this.authorizer.equals(other.authorizer)) {
        return false;
      }
      if ((this.httpMethod == null) ? (other.httpMethod != null) : !this.httpMethod.equals(other.httpMethod)) {
        return false;
      }
      if ((this.apiId == null) ? (other.apiId != null) : !this.apiId.equals(other.apiId)) {
        return false;
      }
      if ((this.connectionId == null) ? (other.connectionId != null) : !this.connectionId.equals(other.connectionId)) {
        return false;
      }
      if ((this.domainName == null) ? (other.domainName != null) : !this.domainName.equals(other.domainName)) {
        return false;
      }
      if ((this.error == null) ? (other.error != null) : !this.error.equals(other.error)) {
        return false;
      }
      if ((this.eventType == null) ? (other.eventType != null) : !this.eventType.equals(other.eventType)) {
        return false;
      }
      if ((this.extendedRequestId == null) ? (other.extendedRequestId != null) : !this.extendedRequestId.equals(other.extendedRequestId)) {
        return false;
      }
      if ((this.integrationLatency == null) ? (other.integrationLatency != null) : !this.integrationLatency.equals(other.integrationLatency)) {
        return false;
      }
      if ((this.messageDirection == null) ? (other.messageDirection != null) : !this.messageDirection.equals(other.messageDirection)) {
        return false;
      }
      if ((this.messageId == null) ? (other.messageId != null) : !this.messageId.equals(other.messageId)) {
        return false;
      }
      if ((this.requestTime == null) ? (other.requestTime != null) : !this.requestTime.equals(other.requestTime)) {
        return false;
      }
      if ((this.routeKey == null) ? (other.routeKey != null) : !this.routeKey.equals(other.routeKey)) {
        return false;
      }
      if ((this.status == null) ? (other.status != null) : !this.status.equals(other.status)) {
        return false;
      }
      if (this.identity != other.identity && (this.identity == null || !this.identity.equals(other.identity))) {
        return false;
      }
      return true;
    }