DBTEAMLOGUserLogInfo

Objective-C

@interface DBTEAMLOGUserLogInfo : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGUserLogInfo : NSObject, DBSerializable, NSCopying

The UserLogInfo struct.

User’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

  • User unique ID.

    Declaration

    Objective-C

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

    Swift

    var accountId: String? { get }
  • User display name.

    Declaration

    Objective-C

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

    Swift

    var displayName: String? { get }
  • User email address.

    Declaration

    Objective-C

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

    Swift

    var email: String? { 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;

    Swift

    init(accountId: String?, displayName: String?, email: String?)

    Parameters

    accountId

    User unique ID.

    displayName

    User display name.

    email

    User email address.

    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.