DBTEAMGroupCreateArg

@interface DBTEAMGroupCreateArg : NSObject <DBSerializable, NSCopying>

The GroupCreateArg struct.

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

  • Group name.

    Declaration

    Objective-C

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

    Swift

    var groupName: String { get }
  • The creator of a team can associate an arbitrary external ID to the group.

    Declaration

    Objective-C

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

    Swift

    var groupExternalId: String? { get }
  • Whether the team can be managed by selected users, or only by team admins.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable)
        DBTEAMCOMMONGroupManagementType *groupManagementType;

    Swift

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithGroupName:(nonnull NSString *)groupName
                              groupExternalId:(nullable NSString *)groupExternalId
                          groupManagementType:
                              (nullable DBTEAMCOMMONGroupManagementType *)
                                  groupManagementType;

    Swift

    init(groupName: String, groupExternalId: String?, groupManagementType: DBTEAMCOMMONGroupManagementType?)

    Parameters

    groupName

    Group name.

    groupExternalId

    The creator of a team can associate an arbitrary external ID to the group.

    groupManagementType

    Whether the team can be managed by selected users, or only by team admins.

    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;

    Swift

    init(groupName: String)

    Parameters

    groupName

    Group name.

    Return Value

    An initialized instance.