toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeploymentType.newDeployment:
      return 'NewDeployment';
    case DeploymentType.redeployment:
      return 'Redeployment';
    case DeploymentType.resetDeployment:
      return 'ResetDeployment';
    case DeploymentType.forceResetDeployment:
      return 'ForceResetDeployment';
  }
}