SharedLinkMetadata
public class SharedLinkMetadata : CustomStringConvertible, JSONRepresentable
The metadata of a shared link.
-
URL of the shared link.
Declaration
Swift
public let url: String
-
A unique identifier for the linked file.
Declaration
Swift
public let id: String?
-
The linked file name (including extension). This never contains a slash.
Declaration
Swift
public let name: String
-
Expiration time, if set. By default the link won’t expire.
Declaration
Swift
public let expires: Date?
-
The lowercased full path in the user’s Dropbox. This always starts with a slash. This field will only be present only if the linked file is in the authenticated user’s dropbox.
Declaration
Swift
public let pathLower: String?
-
The link’s access permissions.
Declaration
Swift
public let linkPermissions: Sharing.LinkPermissions
-
The team membership information of the link’s owner. This field will only be present if the link’s owner is a team member.
Declaration
Swift
public let teamMemberInfo: Sharing.TeamMemberInfo?
-
Declaration
Swift
public var description: String { get }