GetTeamEventsResult

public class GetTeamEventsResult : CustomStringConvertible, JSONRepresentable

The GetTeamEventsResult struct

  • List of events. Note that events are not guaranteed to be sorted by their timestamp value.

    Declaration

    Swift

    public let events: [TeamLog.TeamEvent]
  • Pass the cursor into getEventsContinue to obtain additional events. The value of cursor may change for each response from getEventsContinue, regardless of the value of hasMore; older cursor strings may expire. Thus, callers should ensure that they update their cursor based on the latest value of cursor after each call, and poll regularly if they wish to poll for new events. Callers should handle reset exceptions for expired cursors.

    Declaration

    Swift

    public let cursor: String
  • Is true if there may be additional events that have not been returned yet. An additional call to getEventsContinue can retrieve them. Note that hasMore may be true, even if events is empty.

    Declaration

    Swift

    public let hasMore: Bool
  • Declaration

    Swift

    public var description: String { get }