Isogeo Python SDK
latest

Quickstart

  • Installation
  • Authenticate to the API

Cookbook

  • Usage

Package

  • isogeo_pysdk
    • isogeo_pysdk package
      • Subpackages
        • isogeo_pysdk.api package
        • isogeo_pysdk.enums package
        • isogeo_pysdk.models package
      • Submodules
Isogeo Python SDK
  • »
  • isogeo_pysdk »
  • isogeo_pysdk package »
  • isogeo_pysdk.models package »
  • isogeo_pysdk.models.link module
  • Edit on GitHub

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: object

Links 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.

Returns

The actions of this Link.

Return type

list

property fileName: list

Gets the fileName of this Link.

Returns

The fileName of this Link.

Return type

list

property kind: str

Gets the kind of this Link.

Returns

The kind of this Link.

Return type

str

property link: dict

Gets the associated link of this Link.

Returns

The associated link of this Link.

Return type

dict

property size: int

Gets the size of the hosted data.

Returns

The size of the hosted data.

Return type

int

property title: str

Gets the title of this Link.

Returns

The title of this Link.

Return type

str

to_dict()

Returns the model properties as a dict.

Return type

dict

to_dict_creation()

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

Return type

dict

to_str()

Returns the string representation of the model.

Return type

str

property type: str

Gets the type of this Link.

Returns

The type of this Link.

Return type

str

property url: str

Gets the url of this Link.

Return type

str

Returns

The url of this Link.

Rurl

str

Previous Next

© Copyright 2016 - 2022, Isogeo. Revision c187d7bb.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
v2.21.2
docs
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds