toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeploymentRolloutState.completed:
      return 'COMPLETED';
    case DeploymentRolloutState.failed:
      return 'FAILED';
    case DeploymentRolloutState.inProgress:
      return 'IN_PROGRESS';
  }
}