models.site_owner module

class models.site_owner.SiteOwner(drive_info_list=None, site_detail_object=None)[source]

Bases: object

Implementation of the ‘SiteOwner’ model.

Specifies the details about a SharePoint Site owner.

Attributes:
drive_info_list (list of SiteDriveInfo): Specifies the Document

Libraries within a Site which are to be restored.

site_detail_object (RestoreObjectDetails): Specifies the details about

the SharePoint Site to which drives belong.

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.