DBTEAMLOGGetTeamEventsResult

@interface DBTEAMLOGGetTeamEventsResult : NSObject <DBSerializable, NSCopying>

The GetTeamEventsResult struct.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

  • List of events.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<DBTEAMLOGTeamEvent *> *_Nonnull events;

    Swift

    var events: [DBTEAMLOGTeamEvent] { get }
  • Pass the cursor into getEventsContinue to obtain additional events.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull cursor;

    Swift

    var cursor: String { get }
  • Is true if there are additional events that have not been returned yet. An additional call to getEventsContinue can retrieve them.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSNumber *_Nonnull hasMore;

    Swift

    var hasMore: NSNumber { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithEvents:
                                (nonnull NSArray<DBTEAMLOGTeamEvent *> *)events
                                    cursor:(nonnull NSString *)cursor
                                   hasMore:(nonnull NSNumber *)hasMore;

    Swift

    init(events: [DBTEAMLOGTeamEvent], cursor: String, hasMore: NSNumber)

    Parameters

    events

    List of events.

    cursor

    Pass the cursor into getEventsContinue to obtain additional events.

    hasMore

    Is true if there are additional events that have not been returned yet. An additional call to getEventsContinue can retrieve them.

    Return Value

    An initialized instance.