toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BulkDeploymentStatus.initializing:
      return 'Initializing';
    case BulkDeploymentStatus.running:
      return 'Running';
    case BulkDeploymentStatus.completed:
      return 'Completed';
    case BulkDeploymentStatus.stopping:
      return 'Stopping';
    case BulkDeploymentStatus.stopped:
      return 'Stopped';
    case BulkDeploymentStatus.failed:
      return 'Failed';
  }
}