Package comodit_client :: Package api :: Module settings :: Class Setting

Class Setting


Base class for all setting representations.

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 name
Name of this entity.
string key
Setting's key.

Inherited from entity.Entity: client, description, label, 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

name

Name of this entity.

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

key

Setting's key.

Get Method:
unreachable.key(self) - Setting's key.
Set Method:
unreachable.key(self, key)
Type:
string