toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RetentionAction.none:
      return 'NONE';
    case RetentionAction.delete:
      return 'DELETE';
    case RetentionAction.permanentlyDelete:
      return 'PERMANENTLY_DELETE';
  }
}