public boolean equals()

in src/main/java/com/aliyun/openservices/log/common/JobInstance.java [141:186]


    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        JobInstance that = (JobInstance) o;
        if (getInstanceId() != null ? !getInstanceId().equals(that.getInstanceId()) : that.getInstanceId() != null) {
            return false;
        }
        if (getJobName() != null ? !getJobName().equals(that.getJobName()) : that.getJobName() != null) {
            return false;
        }
        if (getDisplayName() != null ? !getDisplayName().equals(that.getDisplayName()) : that.getDisplayName() != null) {
            return false;
        }
        if (getDescription() != null ? !getDescription().equals(that.getDescription()) : that.getDescription() != null) {
            return false;
        }
        if (getJobScheduleId() != null ? !getJobScheduleId().equals(that.getJobScheduleId()) : that.getJobScheduleId() != null) {
            return false;
        }
        if (getCreateTimeInMillis() != that.getCreateTimeInMillis()) {
            return false;
        }
        if (getUpdateTimeInMillis() != that.getUpdateTimeInMillis()) {
            return false;
        }
        if (getScheduleTimeInMillis() != that.getScheduleTimeInMillis()) {
            return false;
        }
        if (getState() != null ? !getState().equals(that.getState()) : that.getState() != null) {
            return false;
        }
        if (getErrorCode() != null ? !getErrorCode().equals(that.getErrorCode()) : that.getErrorCode() != null) {
            return false;
        }
        if (getErrorMessage() != null ? !getErrorMessage().equals(that.getErrorMessage()) : that.getErrorMessage() != null) {
            return false;
        }
        if (getSummary() != null ? !getSummary().equals(that.getSummary()) : that.getSummary() != null) {
            return false;
        }
        return getResult() != null ? !getResult().equals(that.getResult()) : that.getResult() != null;
    }