toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeploymentOption.withTrafficControl:
      return 'WITH_TRAFFIC_CONTROL';
    case DeploymentOption.withoutTrafficControl:
      return 'WITHOUT_TRAFFIC_CONTROL';
  }
}