public boolean equals()

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


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

            if (obj instanceof Record == false)
                return false;
            Record other = (Record) obj;
            if (other.getEventId() == null ^ this.getEventId() == null)
                return false;
            if (other.getEventId() != null && other.getEventId().equals(this.getEventId()) == false)
                return false;
            if (other.getEventVersion() == null ^ this.getEventVersion() == null)
                return false;
            if (other.getEventVersion() != null && other.getEventVersion().equals(this.getEventVersion()) == false)
                return false;
            if (other.getEventTime() == null ^ this.getEventTime() == null)
                return false;
            if (other.getEventTime() != null && other.getEventTime().equals(this.getEventTime()) == false)
                return false;
            if (other.getEventTriggerName() == null ^ this.getEventTriggerName() == null)
                return false;
            if (other.getEventTriggerName() != null && other.getEventTriggerName().equals(this.getEventTriggerName()) == false)
                return false;
            if (other.getEventPartNumber() == null ^ this.getEventPartNumber() == null)
                return false;
            if (other.getEventPartNumber() != null && other.getEventPartNumber().equals(this.getEventPartNumber()) == false)
                return false;
            if (other.getCodeCommit() == null ^ this.getCodeCommit() == null)
                return false;
            if (other.getCodeCommit() != null && other.getCodeCommit().equals(this.getCodeCommit()) == false)
                return false;
            if (other.getEventName() == null ^ this.getEventName() == null)
                return false;
            if (other.getEventName() != null && other.getEventName().equals(this.getEventName()) == false)
                return false;
            if (other.getEventTriggerConfigId() == null ^ this.getEventTriggerConfigId() == null)
                return false;
            if (other.getEventTriggerConfigId() != null && other.getEventTriggerConfigId().equals(this.getEventTriggerConfigId()) == false)
                return false;
            if (other.getEventSourceArn() == null ^ this.getEventSourceArn() == null)
                return false;
            if (other.getEventSourceArn() != null && other.getEventSourceArn().equals(this.getEventSourceArn()) == false)
                return false;
            if (other.getUserIdentityArn() == null ^ this.getUserIdentityArn() == null)
                return false;
            if (other.getUserIdentityArn() != null && other.getUserIdentityArn().equals(this.getUserIdentityArn()) == false)
                return false;
            if (other.getEventSource() == null ^ this.getEventSource() == null)
                return false;
            if (other.getEventSource() != null && other.getEventSource().equals(this.getEventSource()) == false)
                return false;
            if (other.getAwsRegion() == null ^ this.getAwsRegion() == null)
                return false;
            if (other.getAwsRegion() != null && other.getAwsRegion().equals(this.getAwsRegion()) == false)
                return false;
            if (other.getEventTotalParts() == null ^ this.getEventTotalParts() == null)
                return false;
            if (other.getEventTotalParts() != null && other.getEventTotalParts().equals(this.getEventTotalParts()) == false)
                return false;
            if (other.getCustomData() == null ^ this.getCustomData() == null)
                return false;
            if (other.getCustomData() != null && other.getCustomData().equals(this.getCustomData()) == false)
                return false;
            return true;
        }