models_v2.share_permissions module

class models_v2.share_permissions.SharePermissions(super_user_sids=None, permissions=None)[source]

Bases: object

Implementation of the ‘SharePermissions’ model.

Specifies share level permissions of the view.

Attributes:
super_user_sids (list of string): Specifies a list of super user

sids.

permissions (list of SMBPermission): Specifies a list of share

permissions.

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.