models.public_folder module

class models.public_folder.PublicFolder(folder_id=None, public_folder_item_id_list=None, restore_entire_folder=None)[source]

Bases: object

Implementation of the ‘PublicFolder’ model.

Specifies the O365 PublicFolder details.

folder_id (string): Specifies the unique ID of the folder.

Folders to be restored incase user wishes not to restore entire PublicFolder.

public_folder_item_id_list (list of string): Specifies the

PublicFolder items within the folder to be restored incase the user wishes not to restore the entire folder.

restore_entire_folder (bool): Specifies whether the entire

folder is to be restored.

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.