DBTEAMLOGAdminAlertCategoryEnum
Objective-C
@interface DBTEAMLOGAdminAlertCategoryEnum
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGAdminAlertCategoryEnum : NSObject, DBSerializable, NSCopying
The AdminAlertCategoryEnum
union.
Alert category
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) DBTEAMLOGAdminAlertCategoryEnumTag tag;
Swift
var tag: DBTEAMLOGAdminAlertCategoryEnumTag { get }
-
Initializes union class with tag state of “account_takeover”.
Declaration
Objective-C
- (nonnull instancetype)initWithAccountTakeover;
Swift
init(accountTakeover: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “data_loss_protection”.
Declaration
Objective-C
- (nonnull instancetype)initWithDataLossProtection;
Swift
init(dataLossProtection: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “information_governance”.
Declaration
Objective-C
- (nonnull instancetype)initWithInformationGovernance;
Swift
init(informationGovernance: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “malware_sharing”.
Declaration
Objective-C
- (nonnull instancetype)initWithMalwareSharing;
Swift
init(malwareSharing: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “massive_file_operation”.
Declaration
Objective-C
- (nonnull instancetype)initWithMassiveFileOperation;
Swift
init(massiveFileOperation: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “na”.
Declaration
Objective-C
- (nonnull instancetype)initWithNa;
Swift
init(na: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “threat_management”.
Declaration
Objective-C
- (nonnull instancetype)initWithThreatManagement;
Swift
init(threatManagement: ())
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 “account_takeover”.
Declaration
Objective-C
- (BOOL)isAccountTakeover;
Swift
func isAccountTakeover() -> Bool
Return Value
Whether the union’s current tag state has value “account_takeover”.
-
Retrieves whether the union’s current tag state has value “data_loss_protection”.
Declaration
Objective-C
- (BOOL)isDataLossProtection;
Swift
func isDataLossProtection() -> Bool
Return Value
Whether the union’s current tag state has value “data_loss_protection”.
-
Retrieves whether the union’s current tag state has value “information_governance”.
Declaration
Objective-C
- (BOOL)isInformationGovernance;
Swift
func isInformationGovernance() -> Bool
Return Value
Whether the union’s current tag state has value “information_governance”.
-
Retrieves whether the union’s current tag state has value “malware_sharing”.
Declaration
Objective-C
- (BOOL)isMalwareSharing;
Swift
func isMalwareSharing() -> Bool
Return Value
Whether the union’s current tag state has value “malware_sharing”.
-
Retrieves whether the union’s current tag state has value “massive_file_operation”.
Declaration
Objective-C
- (BOOL)isMassiveFileOperation;
Swift
func isMassiveFileOperation() -> Bool
Return Value
Whether the union’s current tag state has value “massive_file_operation”.
-
Retrieves whether the union’s current tag state has value “na”.
Declaration
Objective-C
- (BOOL)isNa;
Swift
func isNa() -> Bool
Return Value
Whether the union’s current tag state has value “na”.
-
Retrieves whether the union’s current tag state has value “threat_management”.
Declaration
Objective-C
- (BOOL)isThreatManagement;
Swift
func isThreatManagement() -> Bool
Return Value
Whether the union’s current tag state has value “threat_management”.
-
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.