toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeletionTaskStatusType.succeeded:
      return 'SUCCEEDED';
    case DeletionTaskStatusType.inProgress:
      return 'IN_PROGRESS';
    case DeletionTaskStatusType.failed:
      return 'FAILED';
    case DeletionTaskStatusType.notStarted:
      return 'NOT_STARTED';
  }
}