DBTEAMMembersSetPermissionsResult

Objective-C

@interface DBTEAMMembersSetPermissionsResult
    : NSObject <DBSerializable, NSCopying>

Swift

class 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.

Instance fields

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var role: DBTEAMAdminTier { get }

Constructors

  • 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.