toIpSetStatus method

IpSetStatus toIpSetStatus()

Implementation

IpSetStatus toIpSetStatus() {
  switch (this) {
    case 'INACTIVE':
      return IpSetStatus.inactive;
    case 'ACTIVATING':
      return IpSetStatus.activating;
    case 'ACTIVE':
      return IpSetStatus.active;
    case 'DEACTIVATING':
      return IpSetStatus.deactivating;
    case 'ERROR':
      return IpSetStatus.error;
    case 'DELETE_PENDING':
      return IpSetStatus.deletePending;
    case 'DELETED':
      return IpSetStatus.deleted;
  }
  throw Exception('$this is not known in enum IpSetStatus');
}