Package comodit_client :: Package api :: Module host :: Class ChangeCollection

Class ChangeCollection


Collection of changes. A change collection is owned by a Host. Changes cannot be updated nor created, however they may be deleted. Also, this collection supports clear operation (i.e. deletion of all changes associated to a particular host).

Instance Methods
list of Change
list(self, parameters={}, show_processed=False)
Fetches the changes in this collection.

Inherited from collection.Collection: __init__, __iter__, clear, delete, get, refresh

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

Inherited from object: __class__

Method Details

list(self, parameters={}, show_processed=False)

 

Fetches the changes in this collection.

Parameters:
  • parameters (dict of string) - Query parameters to send to ComodIT server.
  • show_processed - If true, asks all changes to the server, including already processed changes.
Returns: list of Change
The list of changes in this collection.
Overrides: collection.Collection.list