code: func baseVirtualDeviceToBaseVirtualEthernetCard(v types.BaseVirtualDevice) (types.BaseVirtualEthernetCard, error) {
  	if bve, ok := v.(types.BaseVirtualEthernetCard); ok {
  		return bve, nil
  	}
  	return nil, fmt.Errorf("device is not a network device (%T)", v)
  }
docs: // baseVirtualDeviceToBaseVirtualEthernetCard converts a BaseVirtualDevice
  // value into a BaseVirtualEthernetCard.