toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EndpointType.regional:
      return 'REGIONAL';
    case EndpointType.edge:
      return 'EDGE';
  }
}