isogeo_pysdk.models.bulk_request module¶
Isogeo API v1 - Model of Metadata bulk request
See: https://github.com/isogeo/isogeo-api-py-minsdk/issues/133
-
class
isogeo_pysdk.models.bulk_request.
BulkRequest
(action=None, model=None, query=None, target=None)¶ Bases:
object
Bulk request used to perform batch operation add/remove/update on Isogeo resources (= metadatas)
-
ATTR_TYPES
= {'action': <class 'object'>, 'model': <class 'int'>, 'query': <class 'dict'>, 'target': <class 'list'>}¶
-
action
¶ Gets the abilities of this Bulk Request.
Returns: The abilities of this Bulk Request. Return type: str
-
model
¶ Gets the created of this Bulk Request.
Returns: The created of this Bulk Request. Return type: list
-
query
¶ Gets the modified of this Bulk Request.
Returns: The modified of this Bulk Request. Return type: dict
-
target
¶ Gets the tag of this Bulk Request.
Returns: The tag of this Bulk Request. Return type: str
-
to_dict
()¶ Returns the model properties as a dict.
Return type: dict
-
to_str
()¶ Returns the string representation of the model.
Return type: str
-