EntryContainer

public class EntryContainer<T> : BoxModel where T : BoxModel

Container for an entries (Box items)

BoxModel

  • Declaration

    Swift

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

Properties

  • Number of entries

    Declaration

    Swift

    public let totalCount: Int?
  • Entries in a container

    Declaration

    Swift

    public let entries: [T]
  • Paging offset

    Declaration

    Swift

    public let offset: Int?
  • Next paging marker value

    Declaration

    Swift

    public let nextMarker: String?
  • Next stream position

    Declaration

    Swift

    public let nextStreamPosition: String?
  • Maximum number of items per page

    Declaration

    Swift

    public let limit: Int?
  • Defines how entries are ordered

    Declaration

    Swift

    public let order: [Order]?
  • Initializer.

    Throws

    Decoding error.

    Declaration

    Swift

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

    Parameters

    json

    JSON dictionary.