code: def on_network_adapter_change(self, network_adapter, change_adapter):
          
          if not isinstance(network_adapter, INetworkAdapter):
              raise TypeError("network_adapter can only be an instance of type INetworkAdapter")
          if not isinstance(change_adapter, bool):
              raise TypeError("change_adapter can only be an instance of type bool")
          self._call("onNetworkAdapterChange",
                       in_p=[network_adapter, change_adapter])
docs: Triggered when settings of a network adapter of the
          associated virtual machine have changed.
  
          in network_adapter of type :class:`INetworkAdapter`
  
          in change_adapter of type bool
  
          raises :class:`VBoxErrorInvalidVmState`
              Session state prevents operation.
          
          raises :class:`VBoxErrorInvalidObjectState`
              Session type prevents operation.