DBTEAMLOGAdminAlertingTriggeredAlertDetails
Objective-C
@interface DBTEAMLOGAdminAlertingTriggeredAlertDetails
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGAdminAlertingTriggeredAlertDetails : NSObject, DBSerializable, NSCopying
The AdminAlertingTriggeredAlertDetails
struct.
Triggered security alert.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Alert name.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull alertName;
Swift
var alertName: String { get }
-
Alert severity.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGAdminAlertSeverityEnum *_Nonnull alertSeverity;
Swift
var alertSeverity: DBTEAMLOGAdminAlertSeverityEnum { get }
-
Alert category.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGAdminAlertCategoryEnum *_Nonnull alertCategory;
Swift
var alertCategory: DBTEAMLOGAdminAlertCategoryEnum { get }
-
Alert ID.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull alertInstanceId;
Swift
var alertInstanceId: String { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithAlertName:(nonnull NSString *)alertName alertSeverity:(nonnull DBTEAMLOGAdminAlertSeverityEnum *)alertSeverity alertCategory:(nonnull DBTEAMLOGAdminAlertCategoryEnum *)alertCategory alertInstanceId:(nonnull NSString *)alertInstanceId;
Swift
init(alertName: String, alertSeverity: DBTEAMLOGAdminAlertSeverityEnum, alertCategory: DBTEAMLOGAdminAlertCategoryEnum, alertInstanceId: String)
Parameters
alertName
Alert name.
alertSeverity
Alert severity.
alertCategory
Alert category.
alertInstanceId
Alert ID.
Return Value
An initialized instance.