toValue method
Implementation
String toValue() {
switch (this) {
case ResourceStatus.createInProgress:
return 'CREATE_IN_PROGRESS';
case ResourceStatus.createFailed:
return 'CREATE_FAILED';
case ResourceStatus.createComplete:
return 'CREATE_COMPLETE';
case ResourceStatus.deleteInProgress:
return 'DELETE_IN_PROGRESS';
case ResourceStatus.deleteFailed:
return 'DELETE_FAILED';
case ResourceStatus.deleteComplete:
return 'DELETE_COMPLETE';
case ResourceStatus.deleteSkipped:
return 'DELETE_SKIPPED';
case ResourceStatus.updateInProgress:
return 'UPDATE_IN_PROGRESS';
case ResourceStatus.updateFailed:
return 'UPDATE_FAILED';
case ResourceStatus.updateComplete:
return 'UPDATE_COMPLETE';
case ResourceStatus.importFailed:
return 'IMPORT_FAILED';
case ResourceStatus.importComplete:
return 'IMPORT_COMPLETE';
case ResourceStatus.importInProgress:
return 'IMPORT_IN_PROGRESS';
case ResourceStatus.importRollbackInProgress:
return 'IMPORT_ROLLBACK_IN_PROGRESS';
case ResourceStatus.importRollbackFailed:
return 'IMPORT_ROLLBACK_FAILED';
case ResourceStatus.importRollbackComplete:
return 'IMPORT_ROLLBACK_COMPLETE';
}
}