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)
}
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)
}
func baseVirtualDeviceToBaseVirtualEthernetCard ( v types . BaseVirtualDevice ) ( types . BaseVirtualEthernetCard , error ) { if bve , ok := v . ( types . BaseVirtualEthernetCard ) ; ok { return bve , nil } return nil , fmt . Errorf ( " " , v ) }
// baseVirtualDeviceToBaseVirtualEthernetCard converts a BaseVirtualDevice
// value into a BaseVirtualEthernetCard.
baseVirtualDeviceToBaseVirtualEthernetCard converts a BaseVirtualDevice value into a BaseVirtualEthernetCard .