toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PipelineExecutionStatus.inProgress:
      return 'InProgress';
    case PipelineExecutionStatus.stopped:
      return 'Stopped';
    case PipelineExecutionStatus.stopping:
      return 'Stopping';
    case PipelineExecutionStatus.succeeded:
      return 'Succeeded';
    case PipelineExecutionStatus.superseded:
      return 'Superseded';
    case PipelineExecutionStatus.failed:
      return 'Failed';
  }
}