models.outlook_folder module

class models.outlook_folder.OutlookFolder(folder_id=None, folder_key=None, outlook_item_id_list=None, restore_entire_folder=None)[source]

Bases: object

Implementation of the ‘OutlookFolder’ model.

Specifies the Outlook folder details.

Attributes:

folder_id (string): Specifies the unique ID of the folder. folder_key (long|int): Specifies the key unique within the mailbox of

the folder.

outlook_item_id_list (list of string): Specifies the outlook 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

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.