public boolean equals()

in src/main/java/com/aliyun/openservices/log/common/JobDownSamplingConfiguration.java [136:180]


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

        JobDownSamplingConfiguration that = (JobDownSamplingConfiguration) o;

        if (sourceLogstore != null ? !sourceLogstore.equals(that.sourceLogstore) : that.sourceLogstore != null) {
            return false;
        }
        if (destProject != null ? !destProject.equals(that.destProject) : that.destProject != null) {
            return false;
        }
        if (destEndpoint != null ? !destEndpoint.equals(that.destEndpoint) : that.destEndpoint != null) {
            return false;
        }
        if (destLogstore != null ? !destLogstore.equals(that.destLogstore) : that.destLogstore != null) {
            return false;
        }
        if (sqlType != null ? !sqlType.equals(that.sqlType) : that.sqlType != null) {
            return false;
        }
        if (resourcePool != null ? !resourcePool.equals(that.resourcePool) : that.resourcePool != null) {
            return false;
        }
        if (roleArn != null ? !roleArn.equals(that.roleArn) : that.roleArn != null) {
            return false;
        }
        if (fromTimeExpr != null ? !fromTimeExpr.equals(that.fromTimeExpr) : that.fromTimeExpr != null) {
            return false;
        }
        if (toTimeExpr != null ? !toTimeExpr.equals(that.toTimeExpr) : that.toTimeExpr != null) {
            return false;
        }
        if (fromTime != null ? !fromTime.equals(that.fromTime) : that.fromTime != null) {
            return false;
        }
        if (toTime != null ? !toTime.equals(that.toTime) : that.toTime != null) {
            return false;
        }
        return dataFormat != null ? dataFormat.equals(that.dataFormat) : that.dataFormat == null;
    }