models.smb_active_file_path module

class models.smb_active_file_path.SmbActiveFilePath(active_sessions=None, file_path=None, view_id=None, view_name=None)[source]

Bases: object

Implementation of the ‘SmbActiveFilePath’ model.

Specifies a file path in an SMB view that has active sessions and opens.

active_sessions (list of SmbActiveSession): Specifies the sessions

where the file is open.

file_path (string): Specifies the filepath in the view. view_id (long|int): Specifies the id of the View assigned by the

Cohesity Cluster. Either viewName or viewId must be specified.

view_name (string): Specifies the name of the View.

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.