def __init__(self, oid=None, name=None, mimetype=None, value=None, metadata={}, content_length=None): self.oid = unicode(common.generate_guid_b16() if oid is None else oid) self.__name__ = name self.mimetype = mimetype self.value = value self.metadata = metadata self.content_length = content_length
def __init__(self, oid=None, name=None, metadata={}): self.oid = unicode(common.generate_guid_b16() if oid is None else oid) self.__name__ = name self.metadata = metadata
def __init__(self, *args, **kw): self.oid = unicode(common.generate_guid_b16()) self.capabilities = {} super(SystemCapability, self).__init__(*args, **kw)
def __init__(self, *args, **kw): self.oid = unicode(common.generate_guid_b16()) self.metadata = {} super(RootStorageContainer, self).__init__(*args, **kw)