models.one_drive_restore_parameters module¶
-
class
models.one_drive_restore_parameters.
OneDriveRestoreParameters
(drive_owner_list=None, restore_to_original_drive=None, target_drive_id=None, target_folder_path=None, target_user=None)[source]¶ Bases:
object
Implementation of the ‘OneDriveRestoreParameters’ model.
Specifies information needed for recovering Drive(s) & Drive items.
- Attributes:
- drive_owner_list (list of OneDriveOwner): Specifies the list of Drive
owners which are to be restored along with the details of their drives.
- restore_to_original_drive (bool): Specifies whether the objects are to
be restored to the original drive.
- target_drive_id (string): Specifies the Drive Id of the target user
where the OneDrive items are to be recovered.
- target_folder_path (string): Specifies the target folder path within
the drive where recovery has to be done.
- target_user (ProtectionSource): Specifies a generic structure that
represents a node in the Protection Source tree. Node details will depend on the environment of the Protection Source.
-
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.