SharedContentLinkMetadataBase

public class SharedContentLinkMetadataBase : CustomStringConvertible, JSONRepresentable

The SharedContentLinkMetadataBase struct

  • The access level on the link for this file.

    Declaration

    Swift

    public let accessLevel: Sharing.AccessLevel?
  • The audience options that are available for the content. Some audience options may be unavailable. For example, team_only may be unavailable if the content is not owned by a user on a team. The ‘default’ audience option is always available if the user can modify link settings.

    Declaration

    Swift

    public let audienceOptions: [Sharing.LinkAudience]
  • The shared folder that prevents the link audience for this link from being more restrictive.

    Declaration

    Swift

    public let audienceRestrictingSharedFolder: Sharing.AudienceRestrictingSharedFolder?
  • The current audience of the link.

    Declaration

    Swift

    public let currentAudience: Sharing.LinkAudience
  • Whether the link has an expiry set on it. A link with an expiry will have its audience changed to members when the expiry is reached.

    Declaration

    Swift

    public let expiry: Date?
  • A list of permissions for actions you can perform on the link.

    Declaration

    Swift

    public let linkPermissions: [Sharing.LinkPermission]
  • Whether the link is protected by a password.

    Declaration

    Swift

    public let passwordProtected: Bool
  • Declaration

    Swift

    public var description: String { get }