Metadata

public class Metadata : CustomStringConvertible, JSONRepresentable

Metadata for a file or folder.

  • The last component of the path (including extension). This never contains a slash.

    Declaration

    Swift

    public let name: String
  • The lowercased full path in the user’s Dropbox. This always starts with a slash. This field will be null if the file or folder is not mounted.

    Declaration

    Swift

    public let pathLower: String?
  • The cased path to be used for display purposes only. In rare instances the casing will not correctly match the user’s filesystem, but this behavior will match the path provided in the Core API v1, and at least the last path component will have the correct casing. Changes to only the casing of paths won’t be returned by listFolderContinue. This field will be null if the file or folder is not mounted.

    Declaration

    Swift

    public let pathDisplay: String?
  • Please use parentSharedFolderId in FileSharingInfo or parentSharedFolderId in FolderSharingInfo instead.

    Declaration

    Swift

    public let parentSharedFolderId: String?
  • The preview URL of the file.

    Declaration

    Swift

    public let previewUrl: String?
  • Declaration

    Swift

    public var description: String { get }