DBTEAMMembersGetAvailableTeamMemberRolesResult

Objective-C

@interface DBTEAMMembersGetAvailableTeamMemberRolesResult
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMMembersGetAvailableTeamMemberRolesResult : NSObject, DBSerializable, NSCopying

The MembersGetAvailableTeamMemberRolesResult struct.

Available TeamMemberRole for the connected team. To be used with membersSetAdminPermissions.

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

Instance fields

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRoles:
        (nonnull NSArray<DBTEAMTeamMemberRole *> *)roles;

    Swift

    init(roles: [DBTEAMTeamMemberRole])

    Parameters

    roles

    Available roles.

    Return Value

    An initialized instance.