:ivar files.FileMetadata.id: A unique identifier for the file. :ivar files.FileMetadata.client_modified: For files, this is the modification time set by the desktop client when the file was added to Dropbox. Since this time is not verified (the Dropbox server stores whatever the desktop client sends up), this should only be used for display purposes (such as sorting) and not, for example, to determine if a file has changed or not. :ivar files.FileMetadata.server_modified: The last time the file was modified on Dropbox. :ivar files.FileMetadata.rev: A unique identifier for the current revision of a file. This field is the same rev as elsewhere in the API and can be used to detect changes and avoid conflicts. :ivar files.FileMetadata.size: The file size in bytes. :ivar files.FileMetadata.media_info: Additional information if the file is a photo or video. This field will not be set on entries returned by :meth:`dropbox.dropbox_client.Dropbox.files_list_folder`, :meth:`dropbox.dropbox_client.Dropbox.files_list_folder_continue`, or :meth:`dropbox.dropbox_client.Dropbox.files_get_thumbnail_batch`, starting December 2, 2019. :ivar files.FileMetadata.symlink_info: Set if this file is a symlink. :ivar files.FileMetadata.sharing_info: Set if this file is contained in a shared folder. :ivar files.FileMetadata.is_downloadable: If true, file can be downloaded directly; else the file must be exported. :ivar files.FileMetadata.export_info: Information about format this file can be exported to. This filed must be set if ``is_downloadable`` is set to false. :ivar files.FileMetadata.property_groups: Additional information if the file has custom properties with the property template specified. :ivar files.FileMetadata.has_explicit_shared_members: This flag will only be present if include_has_explicit_shared_members is true in :meth:`dropbox.dropbox_client.Dropbox.files_list_folder` or :meth:`dropbox.dropbox_client.Dropbox.files_get_metadata`. If this flag is present, it will be true if this file has any explicit shared members. This is different from sharing_info in that this could be true in the case where a file has explicit members but is not contained within a shared folder. :ivar files.FileMetadata.content_hash: A hash of the file content. This field can be used to verify data integrity. For more information see our `Content hash <https://www.dropbox.com/developers/reference/content-hash>`_ page. :ivar files.FileMetadata.file_lock_info: If present, the metadata associated with the file's current lock.
Method | __init__ |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | client |
Undocumented |
Instance Variable | content |
Undocumented |
Instance Variable | export |
Undocumented |
Instance Variable | file |
Undocumented |
Instance Variable | has |
Undocumented |
Instance Variable | id |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | media |
Undocumented |
Instance Variable | property |
Undocumented |
Instance Variable | rev |
Undocumented |
Instance Variable | server |
Undocumented |
Instance Variable | sharing |
Undocumented |
Instance Variable | size |
Undocumented |
Instance Variable | symlink |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _has |
Undocumented |
Instance Variable | _client |
Undocumented |
Instance Variable | _content |
Undocumented |
Instance Variable | _export |
Undocumented |
Instance Variable | _file |
Undocumented |
Instance Variable | _has |
Undocumented |
Instance Variable | _id |
Undocumented |
Instance Variable | _is |
Undocumented |
Instance Variable | _media |
Undocumented |
Instance Variable | _property |
Undocumented |
Instance Variable | _rev |
Undocumented |
Instance Variable | _server |
Undocumented |
Instance Variable | _sharing |
Undocumented |
Instance Variable | _size |
Undocumented |
Instance Variable | _symlink |
Undocumented |
Inherited from Metadata
:
Instance Variable | name |
Undocumented |
Instance Variable | parent |
Undocumented |
Instance Variable | path |
Undocumented |
Instance Variable | path |
Undocumented |
Instance Variable | preview |
Undocumented |
Instance Variable | _name |
Undocumented |
Instance Variable | _parent |
Undocumented |
Instance Variable | _path |
Undocumented |
Instance Variable | _path |
Undocumented |
Instance Variable | _preview |
Undocumented |
dropbox.files.Metadata.__init__
Undocumented