toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case GatewayRouteStatusCode.active:
      return 'ACTIVE';
    case GatewayRouteStatusCode.inactive:
      return 'INACTIVE';
    case GatewayRouteStatusCode.deleted:
      return 'DELETED';
  }
}