DBTEAMMembersSetPermissionsResult

@interface DBTEAMMembersSetPermissionsResult
    : NSObject <DBSerializable, NSCopying>

The MembersSetPermissionsResult struct.

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

  • The member ID of the user to which the change was applied.

    Declaration

    Objective-C

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

    Swift

    var teamMemberId: String { get }
  • The role after the change.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DBTEAMAdminTier *_Nonnull role;

    Swift

    var role: DBTEAMAdminTier { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTeamMemberId:(nonnull NSString *)teamMemberId
                                            role:(nonnull DBTEAMAdminTier *)role;

    Swift

    init(teamMemberId: String, role: DBTEAMAdminTier)

    Parameters

    teamMemberId

    The member ID of the user to which the change was applied.

    role

    The role after the change.

    Return Value

    An initialized instance.