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