code: func (l VirtualDeviceList) TypeName(device types.BaseVirtualDevice) string {
  	dtype := reflect.TypeOf(device)
  	if dtype == nil {
  		return ""
  	}
  	return dtype.Elem().Name()
  }
docs: // TypeName returns the vmodl type name of the device