models.sharepoint_document_metadata module¶
-
class
models.sharepoint_document_metadata.
SharepointDocumentMetadata
(document_type=None)[source]¶ Bases:
object
Implementation of the ‘SharepointDocumentMetadata’ model.
Specifies the metadata for the Sharepoint Site document.
- Attributes:
- document_type (DocumentTypeEnum): Specifies the type of site
document(file/folder). Specifies the Sharepoint 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.