isogeo_pysdk.models.directive module

Isogeo API v1 - Model of Directive entity

See: http://help.isogeo.com/api/complete/index.html

class isogeo_pysdk.models.directive.Directive(_id=None, description=None, name=None)

Bases : object

Directives are entities included as subresource of limitations into metadata CGUs.

Example:

{
    "_id": string (uuid),
    "name": string,
    "description": string
}
ATTR_MAP = {}
ATTR_TYPES = {'_id': <class 'str'>, 'description': <class 'str'>, 'name': <class 'str'>}
property description: str

Gets the description of this Directive.

Renvoie:

The description of this Directive.

Type renvoyé:

str

property name: str

Gets the name of this Directive.

Renvoie:

The name of this Directive.

Type renvoyé:

str

to_dict()

Returns the model properties as a dict.

Type renvoyé:

dict

to_str()

Returns the string representation of the model.

Type renvoyé:

str