toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PiiEntitiesDetectionMode.onlyRedaction:
      return 'ONLY_REDACTION';
    case PiiEntitiesDetectionMode.onlyOffsets:
      return 'ONLY_OFFSETS';
  }
}