models.one_drive_document_metadata module¶
-
class
models.one_drive_document_metadata.
OneDriveDocumentMetadata
(document_type=None)[source]¶ Bases:
object
Implementation of the ‘OneDriveDocumentMetadata’ model.
Specifies the metadata for the OneDrive document.
- Attributes:
- document_type (DocumentTypeEnum): Specifies the type of OneDrive
document(file/folder). Specifies the OneDrive document type. ‘kFile’ specifies a file. ‘kFolder’ specifies a folder.
-
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.