models.lock_file_params module

class models.lock_file_params.LockFileParams(expiry_timestamp_msecs=None, path=None)[source]

Bases: object

Implementation of the ‘LockFileParams’ model.

Specifies the parameters to lock a file in a view.

expiry_timestamp_msecs (int): Specifies a definite timestamp in

milliseconds for retaining the file, or to extend it’s expiry timestamp.

path (string): Specifies the file path that needs to be locked.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.