DBTEAMLOGAdminAlertSeverityEnum
Objective-C
@interface DBTEAMLOGAdminAlertSeverityEnum
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGAdminAlertSeverityEnum : NSObject, DBSerializable, NSCopying
The AdminAlertSeverityEnum union.
Alert severity
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) DBTEAMLOGAdminAlertSeverityEnumTag tag;Swift
var tag: DBTEAMLOGAdminAlertSeverityEnumTag { get }
-
Initializes union class with tag state of “high”.
Declaration
Objective-C
- (nonnull instancetype)initWithHigh;Swift
init(high: ())Return Value
An initialized instance.
-
Initializes union class with tag state of “info”.
Declaration
Objective-C
- (nonnull instancetype)initWithInfo;Swift
init(info: ())Return Value
An initialized instance.
-
Initializes union class with tag state of “low”.
Declaration
Objective-C
- (nonnull instancetype)initWithLow;Swift
init(low: ())Return Value
An initialized instance.
-
Initializes union class with tag state of “medium”.
Declaration
Objective-C
- (nonnull instancetype)initWithMedium;Swift
init(medium: ())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 “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 “high”.
Declaration
Objective-C
- (BOOL)isHigh;Swift
func isHigh() -> BoolReturn Value
Whether the union’s current tag state has value “high”.
-
Retrieves whether the union’s current tag state has value “info”.
Declaration
Objective-C
- (BOOL)isInfo;Swift
func isInfo() -> BoolReturn Value
Whether the union’s current tag state has value “info”.
-
Retrieves whether the union’s current tag state has value “low”.
Declaration
Objective-C
- (BOOL)isLow;Swift
func isLow() -> BoolReturn Value
Whether the union’s current tag state has value “low”.
-
Retrieves whether the union’s current tag state has value “medium”.
Declaration
Objective-C
- (BOOL)isMedium;Swift
func isMedium() -> BoolReturn Value
Whether the union’s current tag state has value “medium”.
-
Retrieves whether the union’s current tag state has value “na”.
Declaration
Objective-C
- (BOOL)isNa;Swift
func isNa() -> BoolReturn Value
Whether the union’s current tag state has value “na”.
-
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
DBTEAMLOGAdminAlertSeverityEnum Class Reference