DBTEAMGroupFullInfo

Objective-C

@interface DBTEAMGroupFullInfo
    : DBTEAMCOMMONGroupSummary <DBSerializable, NSCopying>

Swift

class DBTEAMGroupFullInfo : DBTEAMCOMMONGroupSummary, DBSerializable, NSCopying

The GroupFullInfo struct.

Full description of a group.

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

Instance fields

  • List of group members.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<DBTEAMGroupMemberInfo *> *members;

    Swift

    var members: [DBTEAMGroupMemberInfo]? { get }
  • The group creation time as a UTC timestamp in milliseconds since the Unix epoch.

    Declaration

    Objective-C

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

    Swift

    var created: NSNumber { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
          initWithGroupName:(nonnull NSString *)groupName
                    groupId:(nonnull NSString *)groupId
        groupManagementType:
            (nonnull DBTEAMCOMMONGroupManagementType *)groupManagementType
                    created:(nonnull NSNumber *)created
            groupExternalId:(nullable NSString *)groupExternalId
                memberCount:(nullable NSNumber *)memberCount
                    members:(nullable NSArray<DBTEAMGroupMemberInfo *> *)members;

    Swift

    init(groupName: String, groupId: String, groupManagementType: DBTEAMCOMMONGroupManagementType, created: NSNumber, groupExternalId: String?, memberCount: NSNumber?, members: [DBTEAMGroupMemberInfo]?)

    Parameters

    groupName

    (no description).

    groupId

    (no description).

    groupManagementType

    Who is allowed to manage the group.

    created

    The group creation time as a UTC timestamp in milliseconds since the Unix epoch.

    groupExternalId

    External ID of group. This is an arbitrary ID that an admin can attach to a group.

    memberCount

    The number of members in the group.

    members

    List of group members.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithGroupName:(nonnull NSString *)groupName
                                      groupId:(nonnull NSString *)groupId
                          groupManagementType:
                              (nonnull DBTEAMCOMMONGroupManagementType *)
                                  groupManagementType
                                      created:(nonnull NSNumber *)created;

    Swift

    init(groupName: String, groupId: String, groupManagementType: DBTEAMCOMMONGroupManagementType, created: NSNumber)

    Parameters

    groupName

    (no description).

    groupId

    (no description).

    groupManagementType

    Who is allowed to manage the group.

    created

    The group creation time as a UTC timestamp in milliseconds since the Unix epoch.

    Return Value

    An initialized instance.