toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ServerCatalogStatus.notImported:
      return 'NOT_IMPORTED';
    case ServerCatalogStatus.importing:
      return 'IMPORTING';
    case ServerCatalogStatus.available:
      return 'AVAILABLE';
    case ServerCatalogStatus.deleted:
      return 'DELETED';
    case ServerCatalogStatus.expired:
      return 'EXPIRED';
  }
}