DBTEAMLOGGetTeamEventsArg

@interface DBTEAMLOGGetTeamEventsArg : NSObject <DBSerializable, NSCopying>

The GetTeamEventsArg struct.

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

  • Number of results to return per call.

    Declaration

    Objective-C

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

    Swift

    var limit: NSNumber { get }
  • Filter the events by account ID. Return ony events with this account_id as either Actor, Context, or Participants.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *accountId;

    Swift

    var accountId: String? { get }
  • Filter by time range.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) DBTEAMCOMMONTimeRange *time;

    Swift

    var time: DBTEAMCOMMONTimeRange? { get }
  • Filter the returned events to a single category.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) DBTEAMLOGEventCategory *category;

    Swift

    var category: DBTEAMLOGEventCategory? { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLimit:(nullable NSNumber *)limit
                                accountId:(nullable NSString *)accountId
                                     time:(nullable DBTEAMCOMMONTimeRange *)time
                                 category:
                                     (nullable DBTEAMLOGEventCategory *)category;

    Swift

    init(limit: NSNumber?, accountId: String?, time: DBTEAMCOMMONTimeRange?, category: DBTEAMLOGEventCategory?)

    Parameters

    limit

    Number of results to return per call.

    accountId

    Filter the events by account ID. Return ony events with this account_id as either Actor, Context, or Participants.

    time

    Filter by time range.

    category

    Filter the returned events to a single category.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initDefault;

    Swift

    init(default: ())

    Return Value

    An initialized instance.