models.outlook_mailbox module

class models.outlook_mailbox.OutlookMailbox(mailbox_object=None, outlook_folder_list=None, restore_entire_mailbox=None)[source]

Bases: object

Implementation of the ‘OutlookMailbox’ model.

Specifies the Outlook mailbox with restore details to support full or partial recovery.

Attributes:
mailbox_object (RestoreObjectDetails): Specifies an object to recover

or clone or an object to restore files and folders from. A VM object can be recovered or cloned. A View object can be cloned. To specify a particular snapshot, you must specify a jobRunId and a startTimeUsecs. If jobRunId and startTimeUsecs are not specified, the last Job Run of the specified Job is used.

outlook_folder_list (list of OutlookFolder): Specifies the list of

folders to be restored incase user wishes not to restore entire mailbox.

restore_entire_mailbox (bool): Specifies whether the enitre mailbox 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.