in aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/CloudFrontEvent.java [394:424]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof Request == false)
return false;
Request other = (Request) obj;
if (other.getUri() == null ^ this.getUri() == null)
return false;
if (other.getUri() != null && other.getUri().equals(this.getUri()) == false)
return false;
if (other.getMethod() == null ^ this.getMethod() == null)
return false;
if (other.getMethod() != null && other.getMethod().equals(this.getMethod()) == false)
return false;
if (other.getHttpVersion() == null ^ this.getHttpVersion() == null)
return false;
if (other.getHttpVersion() != null && other.getHttpVersion().equals(this.getHttpVersion()) == false)
return false;
if (other.getClientIp() == null ^ this.getClientIp() == null)
return false;
if (other.getClientIp() != null && other.getClientIp().equals(this.getClientIp()) == false)
return false;
if (other.getHeaders() == null ^ this.getHeaders() == null)
return false;
if (other.getHeaders() != null && other.getHeaders().equals(this.getHeaders()) == false)
return false;
return true;
}