models_v2.one_drive_item module

class models_v2.one_drive_item.OneDriveItem(id=None, item_path=None, is_file=None)[source]

Bases: object

Implementation of the ‘OneDriveItem’ model.

Specifies a OneDrive item to recover.

Attributes:

id (string): Specifies the item id. item_path (string): Specifies the path to the OneDrive item. is_file (bool): Specifies if the item is a file.

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.