toValue method
Implementation
String toValue() {
switch (this) {
case ResourceStatus.creationInProgress:
return 'CREATION_IN_PROGRESS';
case ResourceStatus.creationSuccessful:
return 'CREATION_SUCCESSFUL';
case ResourceStatus.creationFailed:
return 'CREATION_FAILED';
case ResourceStatus.updateInProgress:
return 'UPDATE_IN_PROGRESS';
case ResourceStatus.updateSuccessful:
return 'UPDATE_SUCCESSFUL';
case ResourceStatus.updateFailed:
return 'UPDATE_FAILED';
case ResourceStatus.deleted:
return 'DELETED';
}
}