':param id: Image ID.
:type id: ``str``
:param name: Image name.
:type name: ``str``
:param driver: Driver this image belongs to.
:type driver: :class:`.NodeDriver`
:param extra: Optional provided specific attributes associated with
this image.
:type extra: ``dict``'

def __init__(self, id, name, driver, extra=None):

    self.id = str(id)
    self.name = name
    self.driver = driver
    self.extra = (extra or {})
    UuidMixin.__init__(self)
