toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OriginationRouteProtocol.tcp:
      return 'TCP';
    case OriginationRouteProtocol.udp:
      return 'UDP';
  }
}