toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ArchiveStatus.archiveAccess:
      return 'ARCHIVE_ACCESS';
    case ArchiveStatus.deepArchiveAccess:
      return 'DEEP_ARCHIVE_ACCESS';
  }
}