toValue method
Implementation
String toValue() {
switch (this) {
case OrganizationResourceStatus.createSuccessful:
return 'CREATE_SUCCESSFUL';
case OrganizationResourceStatus.createInProgress:
return 'CREATE_IN_PROGRESS';
case OrganizationResourceStatus.createFailed:
return 'CREATE_FAILED';
case OrganizationResourceStatus.deleteSuccessful:
return 'DELETE_SUCCESSFUL';
case OrganizationResourceStatus.deleteFailed:
return 'DELETE_FAILED';
case OrganizationResourceStatus.deleteInProgress:
return 'DELETE_IN_PROGRESS';
case OrganizationResourceStatus.updateSuccessful:
return 'UPDATE_SUCCESSFUL';
case OrganizationResourceStatus.updateInProgress:
return 'UPDATE_IN_PROGRESS';
case OrganizationResourceStatus.updateFailed:
return 'UPDATE_FAILED';
}
}