SharedLinkSettings

open class SharedLinkSettings : CustomStringConvertible

The SharedLinkSettings struct

  • The requested access for this shared link.

    Declaration

    Swift

    public let requestedVisibility: Sharing.RequestedVisibility?
  • If requestedVisibility is password in RequestedVisibility this is needed to specify the password to access the link.

    Declaration

    Swift

    public let linkPassword: String?
  • Expiration time of the shared link. By default the link won’t expire.

    Declaration

    Swift

    public let expires: Date?
  • The new audience who can benefit from the access level specified by the link’s access level specified in the link_access_level field of LinkPermissions. This is used in conjunction with team policies and shared folder policies to determine the final effective audience type in the effective_audience field of `LinkPermissions.

    Declaration

    Swift

    public let audience: Sharing.LinkAudience?
  • Requested access level you want the audience to gain from this link.

    Declaration

    Swift

    public let access: Sharing.RequestedLinkAccessLevel?
  • Declaration

    Swift

    open var description: String { get }