models.lock_range module¶
-
class
models.lock_range.
LockRange
(is_exclusive=None, length=None, offset=None)[source]¶ Bases:
object
Implementation of the ‘LockRange’ model.
TODO: type model description here.
- Attributes:
is_exclusive (bool): TODO: type description here. length (int): TODO: type description here. offset (int): TODO: type description here.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.