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.
- 
                  
                  
Represents the union’s current tag state.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGAdminRoleTag tag;Swift
var tag: DBTEAMLOGAdminRoleTag { get } 
- 
                  
                  
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.
 
- 
                  
                  
Retrieves whether the union’s current tag state has value “billing_admin”.
Declaration
Objective-C
- (BOOL)isBillingAdmin;Swift
func isBillingAdmin() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> StringReturn Value
A human-readable string representing the union’s current tag state.
 
View on GitHub
        DBTEAMLOGAdminRole Class Reference