toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ComplianceQueryOperatorType.equal:
      return 'EQUAL';
    case ComplianceQueryOperatorType.notEqual:
      return 'NOT_EQUAL';
    case ComplianceQueryOperatorType.beginWith:
      return 'BEGIN_WITH';
    case ComplianceQueryOperatorType.lessThan:
      return 'LESS_THAN';
    case ComplianceQueryOperatorType.greaterThan:
      return 'GREATER_THAN';
  }
}