DBTEAMGroupMembersChangeResult

Objective-C

@interface DBTEAMGroupMembersChangeResult : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMGroupMembersChangeResult : NSObject, DBSerializable, NSCopying

The GroupMembersChangeResult struct.

Result returned by groupsMembersAdd and groupsMembersRemove.

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 group info after member change operation has been performed.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBTEAMGroupFullInfo *_Nonnull groupInfo;

    Swift

    var groupInfo: DBTEAMGroupFullInfo { get }
  • For legacy purposes async_job_id will always return one space ‘ ’. Formerly, it was an ID that was used to obtain the status of granting/revoking group-owned resources. It’s no longer necessary because the async processing now happens automatically.

    Declaration

    Objective-C

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

    Swift

    var asyncJobId: String { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithGroupInfo:
                                (nonnull DBTEAMGroupFullInfo *)groupInfo
                                   asyncJobId:(nonnull NSString *)asyncJobId;

    Swift

    init(groupInfo: DBTEAMGroupFullInfo, asyncJobId: String)

    Parameters

    groupInfo

    The group info after member change operation has been performed.

    asyncJobId

    For legacy purposes async_job_id will always return one space ‘ ’. Formerly, it was an ID that was used to obtain the status of granting/revoking group-owned resources. It’s no longer necessary because the async processing now happens automatically.

    Return Value

    An initialized instance.