isogeo_pysdk.models.thesaurus module

Isogeo API v1 - Model of Thesaurus entity

See: http://help.isogeo.com/api/complete/index.html#definition-thesaurus

class isogeo_pysdk.models.thesaurus.Thesaurus(_abilities: list = None, _id: str = None, code: str = None, name: str = None)[source]

Bases: object

Thesaurus are entities which can be used in shares.

Example:
{
    '_abilities': [],
    '_id': '926f969ee2bb470a84066625f68b96bb',
    'code': 'iso19115-topic',
    'name': 'MD_TopicCategoryCode'
}
attr_crea = {'name': <class 'str'>}
attr_map = {}
attr_types = {'_abilities': <class 'list'>, '_id': <class 'str'>, 'code': <class 'str'>, 'name': <class 'str'>}
code

Gets the code of this Thesaurus.

Returns:The code of this Thesaurus.
Return type:str
name

Gets the name of this Thesaurus.

Returns:The name of this Thesaurus.
Return type:str
to_dict() → dict[source]

Returns the model properties as a dict.

to_dict_creation() → dict[source]

Returns the model properties as a dict structured for creation purpose (POST)

to_str() → str[source]

Returns the string representation of the model.