toAdministrativeActionType method

AdministrativeActionType toAdministrativeActionType()

Implementation

AdministrativeActionType toAdministrativeActionType() {
  switch (this) {
    case 'FILE_SYSTEM_UPDATE':
      return AdministrativeActionType.fileSystemUpdate;
    case 'STORAGE_OPTIMIZATION':
      return AdministrativeActionType.storageOptimization;
    case 'FILE_SYSTEM_ALIAS_ASSOCIATION':
      return AdministrativeActionType.fileSystemAliasAssociation;
    case 'FILE_SYSTEM_ALIAS_DISASSOCIATION':
      return AdministrativeActionType.fileSystemAliasDisassociation;
  }
  throw Exception('$this is not known in enum AdministrativeActionType');
}