models_v2.folder_item module

class models_v2.folder_item.FolderItem(key=None, recover_entire_folder=None, item_ids=None)[source]

Bases: object

Implementation of the ‘FolderItem’ model.

Specifies an email folder to recover.

Attributes:

key (long|int): Specifies the email folder key. recover_entire_folder (bool): Specifies whether to recover the whole

email folder.

item_ids (list of string): Specifies a list of item ids to recover.

This field is applicable only if ‘recoverEntireFolder’ is false.

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.