DBTEAMLOGGroupLogInfo

Objective-C

@interface DBTEAMLOGGroupLogInfo : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGGroupLogInfo : NSObject, DBSerializable, NSCopying

The GroupLogInfo struct.

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

  • The unique id of this group.

    Declaration

    Objective-C

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

    Swift

    var groupId: String? { get }
  • The name of this group.

    Declaration

    Objective-C

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

    Swift

    var displayName: String { get }
  • External group ID.

    Declaration

    Objective-C

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

    Swift

    var externalId: String? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDisplayName:(nonnull NSString *)displayName
                                        groupId:(nullable NSString *)groupId
                                     externalId:(nullable NSString *)externalId;

    Swift

    init(displayName: String, groupId: String?, externalId: String?)

    Parameters

    displayName

    The name of this group.

    groupId

    The unique id of this group.

    externalId

    External group ID.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDisplayName:(nonnull NSString *)displayName;

    Swift

    init(displayName: String)

    Parameters

    displayName

    The name of this group.

    Return Value

    An initialized instance.