toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DomainStatus.deleting:
      return 'Deleting';
    case DomainStatus.failed:
      return 'Failed';
    case DomainStatus.inService:
      return 'InService';
    case DomainStatus.pending:
      return 'Pending';
    case DomainStatus.updating:
      return 'Updating';
    case DomainStatus.updateFailed:
      return 'Update_Failed';
    case DomainStatus.deleteFailed:
      return 'Delete_Failed';
  }
}