toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RemediationExecutionState.queued:
      return 'QUEUED';
    case RemediationExecutionState.inProgress:
      return 'IN_PROGRESS';
    case RemediationExecutionState.succeeded:
      return 'SUCCEEDED';
    case RemediationExecutionState.failed:
      return 'FAILED';
  }
}