':param name: Object name (must be unique per container).
:type  name: ``str``
:param size: Object size in bytes.
:type  size: ``int``
:param hash: Object hash.
:type  hash: ``str``
:param container: Object container.
:type  container: :class:`Container`
:param extra: Extra attributes.
:type  extra: ``dict``
:param meta_data: Optional object meta data.
:type  meta_data: ``dict``
:param driver: StorageDriver instance.
:type  driver: :class:`StorageDriver`'

def __init__(self, name, size, hash, extra, meta_data, container, driver):

    self.name = name
    self.size = size
    self.hash = hash
    self.container = container
    self.extra = (extra or {})
    self.meta_data = (meta_data or {})
    self.driver = driver
