models.one_drive_owner module

class models.one_drive_owner.OneDriveOwner(drive_info_list=None, user_detail_object=None)[source]

Bases: object

Implementation of the ‘OneDriveOwner’ model.

Specifies OneDrive owner details.

drive_info_list (list of OneDriveInfo): Specifies the Drives that a

user owns which are to be restored.

user_detail_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.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.