SharedLinkMetadata

public class SharedLinkMetadata : CustomStringConvertible, JSONRepresentable

The metadata of a shared link.

  • url

    URL of the shared link.

    Declaration

    Swift

    public let url: String
  • id

    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?
  • The team information of the content’s owner. This field will only be present if the content’s owner is a team member and the content’s owner team is different from the link’s owner team.

    Declaration

    Swift

    public let contentOwnerTeamInfo: Users.Team?
  • Declaration

    Swift

    public var description: String { get }