toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ModelPackageGroupStatus.pending:
      return 'Pending';
    case ModelPackageGroupStatus.inProgress:
      return 'InProgress';
    case ModelPackageGroupStatus.completed:
      return 'Completed';
    case ModelPackageGroupStatus.failed:
      return 'Failed';
    case ModelPackageGroupStatus.deleting:
      return 'Deleting';
    case ModelPackageGroupStatus.deleteFailed:
      return 'DeleteFailed';
  }
}