DBTEAMLOGTeamMemberLogInfo

Objective-C

@interface DBTEAMLOGTeamMemberLogInfo
    : DBTEAMLOGUserLogInfo <DBSerializable, NSCopying>

Swift

class DBTEAMLOGTeamMemberLogInfo : DBTEAMLOGUserLogInfo, DBSerializable, NSCopying

The TeamMemberLogInfo struct.

Team member’s logged information.

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

Instance fields

  • Team member ID.

    Declaration

    Objective-C

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

    Swift

    var teamMemberId: String? { get }
  • Team member external ID.

    Declaration

    Objective-C

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

    Swift

    var memberExternalId: String? { get }
  • Details about this user&#x2019s team for enterprise event.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) DBTEAMLOGTeamLogInfo *team;

    Swift

    var team: DBTEAMLOGTeamLogInfo? { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAccountId:(nullable NSString *)accountId
                                  displayName:(nullable NSString *)displayName
                                        email:(nullable NSString *)email
                                 teamMemberId:(nullable NSString *)teamMemberId
                             memberExternalId:(nullable NSString *)memberExternalId
                                         team:(nullable DBTEAMLOGTeamLogInfo *)team;

    Swift

    init(accountId: String?, displayName: String?, email: String?, teamMemberId: String?, memberExternalId: String?, team: DBTEAMLOGTeamLogInfo?)

    Parameters

    accountId

    User unique ID.

    displayName

    User display name.

    email

    User email address.

    teamMemberId

    Team member ID.

    memberExternalId

    Team member external ID.

    team

    Details about this user&#x2019s team for enterprise event.

    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.