BoxCollection

public class BoxCollection : BoxModel

Collections contain information about the items contained inside of them, including files and folders. The only collection available is the “Favorites” collection. The contents of the collection are discovered in a similar way in which the contents of a folder are discovered.

Properties

  • Box item type - should be collection.

    Declaration

    Swift

    public var type: String
  • id

    Identifier

    Declaration

    Swift

    public let id: String
  • Name of the collection

    Declaration

    Swift

    public let name: String?
  • The type of the collection. This is used to determine the proper visual treatment for collections. The only collection type is favorites.

    Declaration

    Swift

    public let collectionType: String?
  • Declaration

    Swift

    public private(set) var rawData: [String : Any] { get }
  • Initializer.

    Throws

    Decoding error.

    Declaration

    Swift

    public required init(json: [String : Any]) throws

    Parameters

    json

    JSON dictionary.