toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StackSetOperationResultStatus.pending:
      return 'PENDING';
    case StackSetOperationResultStatus.running:
      return 'RUNNING';
    case StackSetOperationResultStatus.succeeded:
      return 'SUCCEEDED';
    case StackSetOperationResultStatus.failed:
      return 'FAILED';
    case StackSetOperationResultStatus.cancelled:
      return 'CANCELLED';
  }
}