DBTEAMLOGAdminRole

Objective-C

@interface DBTEAMLOGAdminRole : NSObject <DBSerializable, NSCopying>

Swift

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

Instance fields

Constructors

  • Initializes union class with tag state of “billing_admin”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithBillingAdmin;

    Swift

    init(billingAdmin: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “compliance_admin”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithComplianceAdmin;

    Swift

    init(complianceAdmin: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “content_admin”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithContentAdmin;

    Swift

    init(contentAdmin: ())

    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 “reporting_admin”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithReportingAdmin;

    Swift

    init(reportingAdmin: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “security_admin”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSecurityAdmin;

    Swift

    init(securityAdmin: ())

    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 “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 “other”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithOther;

    Swift

    init(other: ())

    Return Value

    An initialized instance.

Tag state methods

  • Retrieves whether the union’s current tag state has value “billing_admin”.

    Declaration

    Objective-C

    - (BOOL)isBillingAdmin;

    Swift

    func isBillingAdmin() -> Bool

    Return Value

    Whether the union’s current tag state has value “billing_admin”.

  • Retrieves whether the union’s current tag state has value “compliance_admin”.

    Declaration

    Objective-C

    - (BOOL)isComplianceAdmin;

    Swift

    func isComplianceAdmin() -> Bool

    Return Value

    Whether the union’s current tag state has value “compliance_admin”.

  • Retrieves whether the union’s current tag state has value “content_admin”.

    Declaration

    Objective-C

    - (BOOL)isContentAdmin;

    Swift

    func isContentAdmin() -> Bool

    Return Value

    Whether the union’s current tag state has value “content_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 “reporting_admin”.

    Declaration

    Objective-C

    - (BOOL)isReportingAdmin;

    Swift

    func isReportingAdmin() -> Bool

    Return Value

    Whether the union’s current tag state has value “reporting_admin”.

  • Retrieves whether the union’s current tag state has value “security_admin”.

    Declaration

    Objective-C

    - (BOOL)isSecurityAdmin;

    Swift

    func isSecurityAdmin() -> Bool

    Return Value

    Whether the union’s current tag state has value “security_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 “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 “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.