toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeploymentStatus.pending:
      return 'PENDING';
    case DeploymentStatus.failed:
      return 'FAILED';
    case DeploymentStatus.deployed:
      return 'DEPLOYED';
  }
}