SharedLinkSettings
public class SharedLinkSettings : CustomStringConvertible, JSONRepresentable
The SharedLinkSettings struct
-
Boolean flag to enable or disable password protection.
Declaration
Swift
public let requirePassword: Bool?
-
If requirePassword is true, 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 ofLinkPermissions
. This is used in conjunction with team policies and shared folder policies to determine the final effective audience type in theeffective_audience
field of `LinkPermissions.Declaration
Swift
public let audience: Sharing.LinkAudience?
-
Requested access level you want the audience to gain from this link. Note, modifying access level for an existing link is not supported.
Declaration
Swift
public let access: Sharing.RequestedLinkAccessLevel?
-
Use audience instead. The requested access for this shared link.
Declaration
Swift
public let requestedVisibility: Sharing.RequestedVisibility?
-
Boolean flag to allow or not download capabilities for shared links.
Declaration
Swift
public let allowDownload: Bool?
-
Declaration
Swift
public var description: String { get }