l.s.b.Object(object) : class documentation

Part of libcloud.storage.base View Source View In Hierarchy

Represents an object (BLOB).
Method __init__
Method get_cdn_url Undocumented
Method enable_cdn Undocumented
Method download Undocumented
Method as_stream Undocumented
Method delete Undocumented
Method __repr__ Undocumented
def __init__(self, name, size, hash, extra, meta_data, container, driver): (source)
ParametersnameObject name (must be unique per container). (type: str)
sizeObject size in bytes. (type: int)
containerObject container. (type: Container)
extraExtra attributes. (type: dict)
meta_dataOptional object meta data. (type: dict)
driverStorageDriver instance. (type: StorageDriver)
def get_cdn_url(self): (source)
Undocumented
def enable_cdn(self): (source)
Undocumented
def download(self, destination_path, overwrite_existing=False, delete_on_failure=True): (source)
Undocumented
def as_stream(self, chunk_size=None): (source)
Undocumented
def delete(self): (source)
Undocumented
def __repr__(self): (source)
Undocumented
API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:49:10.