# Class e.p.b.m.d.DeviceModel(Model):

Part of elisa.plugins.base.models.device View In Hierarchy

Known subclasses: elisa.plugins.base.models.device.VolumeModel

A generic description of a device.

*Note*: A DeviceModel is considered the same, if the udi is the same.

Instance Variables | udi | the unique id for that device (type: `str` )
| protocol | the protocol to access this device (like dvd or cdda) (type: `str` )
| device | string to identify the device (on linux /dev/something) (type: `str` )
| name | (optional) human-recognisable name of the device (type: `str` )

Line # | Kind | Name | Docs
--- | --- | --- | ---
55 | Method | __init__ | Undocumented
62 | Method | __eq__ | Undocumented
67 | Method | __ne__ | Undocumented

Inherited from Bindable (via Model):

Line # | Kind | Name | Docs
--- | --- | --- | ---
34 | Method | bind | Bind a local `attribute` to `destination_attribute` of
73 | Method | unbind | Remove the binding of `attribute` to `destination_attribute` of
104 | Method | unbind_object | Remove all the bindings you have for a certain `destination_object`.
118 | Method | __setattr__ | Undocumented
136 | Method | __delattr__ | Undocumented

def __init__(self, udi=None):
overrides elisa.core.utils.bindable.Bindable.__init__
overridden in elisa.plugins.base.models.device.VolumeModel
Undocumented
def __eq__(self, other):
Undocumented
def __ne__(self, other):
Undocumented