toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CallingNameStatus.unassigned:
      return 'Unassigned';
    case CallingNameStatus.updateInProgress:
      return 'UpdateInProgress';
    case CallingNameStatus.updateSucceeded:
      return 'UpdateSucceeded';
    case CallingNameStatus.updateFailed:
      return 'UpdateFailed';
  }
}