SharedLinkPermissions
public class SharedLinkPermissions : BoxModel
Defines shared link permissions
-
Whether the shared link allows previewing. Always true. For shared links on folders, this also applies to any items in the folder.
Declaration
Swift
public let canPreview: Bool?
-
Whether the shared link allows downloads. For shared links on folders, this also applies to any items in the folder.
Declaration
Swift
public let canDownload: Bool?
-
Initializer.
Throws
Decoding error.Declaration
Swift
public required init(json: [String : Any]) throws
Parameters
json
JSON dictionary.