toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ContentClassifier.freeOfPersonallyIdentifiableInformation:
      return 'FreeOfPersonallyIdentifiableInformation';
    case ContentClassifier.freeOfAdultContent:
      return 'FreeOfAdultContent';
  }
}