toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AccountRoleStatus.ready:
      return 'READY';
    case AccountRoleStatus.creating:
      return 'CREATING';
    case AccountRoleStatus.pendingDeletion:
      return 'PENDING_DELETION';
    case AccountRoleStatus.deleting:
      return 'DELETING';
    case AccountRoleStatus.deleted:
      return 'DELETED';
  }
}