DBTEAMLOGAdminAlertingAlertStateChangedDetails
Objective-C
@interface DBTEAMLOGAdminAlertingAlertStateChangedDetails
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGAdminAlertingAlertStateChangedDetails : NSObject, DBSerializable, NSCopying
The AdminAlertingAlertStateChangedDetails
struct.
Changed an alert state.
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 }
-
Alert state before the change.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGAdminAlertGeneralStateEnum *_Nonnull previousValue;
Swift
var previousValue: DBTEAMLOGAdminAlertGeneralStateEnum { get }
-
Alert state after the change.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGAdminAlertGeneralStateEnum *_Nonnull dNewValue;
Swift
var dNewValue: DBTEAMLOGAdminAlertGeneralStateEnum { 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 previousValue: (nonnull DBTEAMLOGAdminAlertGeneralStateEnum *)previousValue dNewValue:(nonnull DBTEAMLOGAdminAlertGeneralStateEnum *)dNewValue;
Swift
init(alertName: String, alertSeverity: DBTEAMLOGAdminAlertSeverityEnum, alertCategory: DBTEAMLOGAdminAlertCategoryEnum, alertInstanceId: String, previousValue: DBTEAMLOGAdminAlertGeneralStateEnum, dNewValue: DBTEAMLOGAdminAlertGeneralStateEnum)
Parameters
alertName
Alert name.
alertSeverity
Alert severity.
alertCategory
Alert category.
alertInstanceId
Alert ID.
previousValue
Alert state before the change.
dNewValue
Alert state after the change.
Return Value
An initialized instance.