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.

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


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.