EventContainer

@available(*, deprecated, message: "This class is obsoleted and will be removed. Please use EntryContainer<Element> instead.")
public class EventContainer : BoxModel

Container for Events

BoxModel

  • Declaration

    Swift

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

Properties

  • Number of events

    Declaration

    Swift

    public let totalCount: Int?
  • Events in a container

    Declaration

    Swift

    public let entries: [Event]?
  • Maximum number of events per page

    Declaration

    Swift

    public let limit: Int?
  • Defines next stream position in the stream

    Declaration

    Swift

    public let nextStreamPosition: String?
  • The number of event records contained in the object with entries.

    Declaration

    Swift

    public let chunkSize: Int?
  • Initializer.

    Throws

    Decoding error.

    Declaration

    Swift

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

    Parameters

    json

    JSON dictionary.