DBTEAMLOGAdminRole

@interface DBTEAMLOGAdminRole : NSObject <DBSerializable, NSCopying>

The AdminRole union.

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

  • Initializes union class with tag state of team_admin.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTeamAdmin;

    Swift

    init(teamAdmin: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of user_management_admin.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUserManagementAdmin;

    Swift

    init(userManagementAdmin: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of support_admin.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSupportAdmin;

    Swift

    init(supportAdmin: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of limited_admin.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLimitedAdmin;

    Swift

    init(limitedAdmin: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of member_only.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithMemberOnly;

    Swift

    init(memberOnly: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of other.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithOther;

    Swift

    init(other: ())

    Return Value

    An initialized instance.

  • Retrieves whether the union’s current tag state has value team_admin.

    Declaration

    Objective-C

    - (BOOL)isTeamAdmin;

    Swift

    func isTeamAdmin() -> Bool

    Return Value

    Whether the union’s current tag state has value team_admin.

  • Retrieves whether the union’s current tag state has value user_management_admin.

    Declaration

    Objective-C

    - (BOOL)isUserManagementAdmin;

    Swift

    func isUserManagementAdmin() -> Bool

    Return Value

    Whether the union’s current tag state has value user_management_admin.

  • Retrieves whether the union’s current tag state has value support_admin.

    Declaration

    Objective-C

    - (BOOL)isSupportAdmin;

    Swift

    func isSupportAdmin() -> Bool

    Return Value

    Whether the union’s current tag state has value support_admin.

  • Retrieves whether the union’s current tag state has value limited_admin.

    Declaration

    Objective-C

    - (BOOL)isLimitedAdmin;

    Swift

    func isLimitedAdmin() -> Bool

    Return Value

    Whether the union’s current tag state has value limited_admin.

  • Retrieves whether the union’s current tag state has value member_only.

    Declaration

    Objective-C

    - (BOOL)isMemberOnly;

    Swift

    func isMemberOnly() -> Bool

    Return Value

    Whether the union’s current tag state has value member_only.

  • Retrieves whether the union’s current tag state has value other.

    Declaration

    Objective-C

    - (BOOL)isOther;

    Swift

    func isOther() -> Bool

    Return Value

    Whether the union’s current tag state has value other.

  • Retrieves string value of union’s current tag state.

    Declaration

    Objective-C

    - (nonnull NSString *)tagName;

    Swift

    func tagName() -> String

    Return Value

    A human-readable string representing the union’s current tag state.