models.one_drive_item module¶
-
class
models.one_drive_item.
OneDriveItem
(is_file_item=None, item_id=None, item_path=None)[source]¶ Bases:
object
Implementation of the ‘OneDriveItem’ model.
Specifies the details about OneDrive file/folder.
- Attributes:
- is_file_item (bool): Specifies whether the current item is a file or
not.
item_id (string): Specifies the Id of the Drive item. item_path (string): Specifies the path of the Drive item within the
drive.
-
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.