@Override
    public int compareTo(getVariable_result other) {
      if (!getClass().equals(other.getClass())) {
        return getClass().getName().compareTo(other.getClass().getName());
      }

      int lastComparison = 0;

      lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess());
      if (lastComparison != 0) {
        return lastComparison;
      }
      if (isSetSuccess()) {
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success);
        if (lastComparison != 0) {
          return lastComparison;
        }
      }
      lastComparison = java.lang.Boolean.compare(isSetUnhandledException(), other.isSetUnhandledException());
      if (lastComparison != 0) {
        return lastComparison;
      }
      if (isSetUnhandledException()) {
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unhandledException, other.unhandledException);
        if (lastComparison != 0) {
          return lastComparison;
        }
      }
      return 0;
    }
@Override
    public int compareTo(getVariable_result other)