models_v2.recover_one_drive_params_2 module

class models_v2.recover_one_drive_params_2.RecoverOneDriveParams2(objects=None, target_drive=None, continue_on_error=None)[source]

Bases: object

Implementation of the ‘RecoverOneDriveParams2’ model.

Specifies the parameters to recover Office 365 One Drive.

Attributes:
objects (list of ObjectOneDriveParam): Specifies a list of OneDrive

params associated with the objects to recover.

target_drive (TargetOneDriveParam): Specifies the target OneDrive to

recover to. If not specified, the objects will be recovered to original location.

continue_on_error (bool): Specifies whether to continue recovering

other OneDrive items if one of items failed to recover. Default value 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.