FolderItem
public enum FolderItem : BoxModel
extension FolderItem: CustomDebugStringConvertible
Files, folders, or web links contained within a folder.
-
Declaration
Swift
public var rawData: [String : Any] { get }
-
Folder type
Declaration
Swift
case folder(Folder)
-
File type
Declaration
Swift
case file(File)
-
Weblink type pointing to either a file or folder.
Declaration
Swift
case webLink(WebLink)
-
Initializer.
Throws
Decoding error.Declaration
Swift
public init(json: [String : Any]) throws
Parameters
json
JSON dictionary.
-
Item debug description.
Declaration
Swift
public var debugDescription: String { get }