toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Operator.equals:
      return 'Equals';
    case Operator.notEquals:
      return 'NotEquals';
    case Operator.greaterThan:
      return 'GreaterThan';
    case Operator.greaterThanOrEqualTo:
      return 'GreaterThanOrEqualTo';
    case Operator.lessThan:
      return 'LessThan';
    case Operator.lessThanOrEqualTo:
      return 'LessThanOrEqualTo';
    case Operator.contains:
      return 'Contains';
    case Operator.exists:
      return 'Exists';
    case Operator.notExists:
      return 'NotExists';
    case Operator.$in:
      return 'In';
  }
}