toLoadBalancerTypeEnum method

LoadBalancerTypeEnum toLoadBalancerTypeEnum()

Implementation

LoadBalancerTypeEnum toLoadBalancerTypeEnum() {
  switch (this) {
    case 'application':
      return LoadBalancerTypeEnum.application;
    case 'network':
      return LoadBalancerTypeEnum.network;
    case 'gateway':
      return LoadBalancerTypeEnum.gateway;
  }
  throw Exception('$this is not known in enum LoadBalancerTypeEnum');
}