models.site_drive_item module¶
-
class
models.site_drive_item.
SiteDriveItem
(is_file_item=None, item_id=None, item_path=None)[source]¶ Bases:
object
Implementation of the ‘SiteDriveItem’ model.
Specifies details about a Site’s Drive item.
- 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.