Package comodit_client :: Package api :: Module purchased :: Class PurchasedEntity

Class PurchasedEntity


A purchased entity represents the link between an organization's application or distribution and its related published entity.

Instance Methods

Inherited from entity.Entity: __init__, create, delete, dump, load, refresh, rename, show, update

Inherited from util.json_wrapper.JsonWrapper: dump_json, get_json, get_real_json, load_json, print_json, set_json

Inherited from object: __long__, __native__, __nonzero__, __unicode__, next

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties
string identifier
Identifier of the entity.
string label
A very short description of the entity.
int purchased_version
The version of published entity at purchase time.
string date_purchased
The date the entity was purchased.
  published
The UUID of related published entity.

Inherited from entity.Entity: client, description, name, url, uuid

Inherited from object: __class__

Property Details

identifier

Identifier of the entity. The identifier is unique in entity's collection and can therefore be used to get the entity. This value is generally entity's name but may also be the UUID or another field depending on entity type.

Get Method:
unreachable.identifier(self)
Type:
string

label

A very short description of the entity. This value generally includes entity's identifier.

Get Method:
unreachable.label(self)
Type:
string

purchased_version

The version of published entity at purchase time.

Get Method:
unreachable.purchased_version(self) - The version of published entity at purchase time.
Type:
int

date_purchased

The date the entity was purchased.

Get Method:
unreachable.date_purchased(self) - The date the entity was purchased.
Type:
string

published

The UUID of related published entity.

Get Method:
unreachable.published(self) - The UUID of related published entity.
Set Method:
unreachable.published(self, uuid) - Sets the UUID of related published entity.