toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RoutingPolicy.multivalue:
      return 'MULTIVALUE';
    case RoutingPolicy.weighted:
      return 'WEIGHTED';
  }
}