isogeo_pysdk.models.limitation module¶
Isogeo API v1 - Model of Limitation entity
See: http://help.isogeo.com/api/complete/index.html
-
class
isogeo_pysdk.models.limitation.
Limitation
(_id=None, description=None, directive=None, restriction=None, type=None, parent_resource=None)¶ Bases:
object
Limitations are entities included as subresource into metadata which can contain a Directive.
Example: { "_id": "string (uuid)", "description": "string", "directive": "dict", "restriction": "string", "type": "string" }
-
ATTR_CREA
= {'description': 'str', 'directive': <class 'isogeo_pysdk.models.directive.Directive'>, 'restriction': 'str', 'type': 'str'}¶
-
ATTR_MAP
= {}¶
-
ATTR_TYPES
= {'_id': <class 'str'>, 'description': <class 'str'>, 'directive': <class 'int'>, 'parent_resource': <class 'str'>, 'restriction': <class 'str'>, 'type': <class 'str'>}¶
-
description
¶ Gets the description of this Limitation.
Returns: The description of this Limitation. Return type: str
-
directive
¶ Gets the directive of this Limitation.
Returns: The directive of this Limitation. Return type: Directive
-
restriction
¶ Gets the restriction of this Limitation.
Returns: The restriction of this Limitation. 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
-
type
¶ Gets the type of this Limitation.
Returns: The type of this Limitation. Return type: str
-