toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TrafficRoutingType.timeBasedCanary:
      return 'TimeBasedCanary';
    case TrafficRoutingType.timeBasedLinear:
      return 'TimeBasedLinear';
    case TrafficRoutingType.allAtOnce:
      return 'AllAtOnce';
  }
}