Package comodit_client :: Package api :: Module application_key :: Class ApplicationKeyCollection

Class ApplicationKeyCollection


Collection of application keys. An application key collection is owned by an Organization.

Instance Methods
ApplicationKey
new(self, token)
Instantiates a new application key object.
ApplicationKey
create(self, token)
Creates a remote application key entity and returns associated local object.

Inherited from collection.Collection: __init__, __iter__, clear, delete, get, list, 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

new(self, token)

 

Instantiates a new application key object.

Parameters:
  • name (string) - The name of new application key.
Returns: ApplicationKey

create(self, token)

 

Creates a remote application key entity and returns associated local object.

Parameters:
  • name (string) - The name of new application key.
Returns: ApplicationKey