isogeo_pysdk.models.link module
Isogeo API v1 - Model of Link entity
See: http://help.isogeo.com/api/complete/index.html#definition-link
- class isogeo_pysdk.models.link.Link(_id=None, actions=None, fileName=None, kind=None, link=None, size=None, title=None, type=None, url=None, parent_resource=None)
Bases :
objectLinks are entities included as subresource into metadata for data history title.
- Example:
{ '_id': string (uuid), 'actions': list, 'fileName': string, 'kind': string, 'parent_resource': string (uuid), 'size': int, 'title': string, 'type': string, 'url': string }
- ATTR_CREA = {'actions': <class 'list'>, 'fileName': <class 'str'>, 'kind': <class 'str'>, 'link': <class 'dict'>, 'parent_resource': <class 'str'>, 'title': <class 'str'>, 'type': <class 'str'>, 'url': <class 'str'>}
- ATTR_MAP = {}
- ATTR_TYPES = {'_id': <class 'str'>, 'actions': <class 'list'>, 'fileName': <class 'str'>, 'kind': <class 'str'>, 'link': <class 'dict'>, 'parent_resource': <class 'str'>, 'size': <class 'int'>, 'title': <class 'str'>, 'type': <class 'str'>, 'url': <class 'str'>}
- property actions: list
Gets the actions of this Link.
- Renvoie:
The actions of this Link.
- Type renvoyé:
- property fileName: list
Gets the fileName of this Link.
- Renvoie:
The fileName of this Link.
- Type renvoyé:
- property link: dict
Gets the associated link of this Link.
- Renvoie:
The associated link of this Link.
- Type renvoyé:
- property size: int
Gets the size of the hosted data.
- Renvoie:
The size of the hosted data.
- Type renvoyé:
- to_dict_creation()
Returns the model properties as a dict structured for creation purpose (POST)
- Type renvoyé: