DBTEAMLOGAdminAlertingAlertConfiguration
Objective-C
@interface DBTEAMLOGAdminAlertingAlertConfiguration
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGAdminAlertingAlertConfiguration : NSObject, DBSerializable, NSCopying
The AdminAlertingAlertConfiguration
struct.
Alert configurations
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Alert state.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBTEAMLOGAdminAlertingAlertStatePolicy *alertState;
Swift
var alertState: DBTEAMLOGAdminAlertingAlertStatePolicy? { get }
-
Sensitivity level.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBTEAMLOGAdminAlertingAlertSensitivity *sensitivityLevel;
Swift
var sensitivityLevel: DBTEAMLOGAdminAlertingAlertSensitivity? { get }
-
Recipient settings.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBTEAMLOGRecipientsConfiguration *recipientsSettings;
Swift
var recipientsSettings: DBTEAMLOGRecipientsConfiguration? { get }
-
Text.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *text;
Swift
var text: String? { get }
-
Excluded file extensions.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *excludedFileExtensions;
Swift
var excludedFileExtensions: String? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithAlertState: (nullable DBTEAMLOGAdminAlertingAlertStatePolicy *)alertState sensitivityLevel:(nullable DBTEAMLOGAdminAlertingAlertSensitivity *) sensitivityLevel recipientsSettings: (nullable DBTEAMLOGRecipientsConfiguration *)recipientsSettings text:(nullable NSString *)text excludedFileExtensions:(nullable NSString *)excludedFileExtensions;
Swift
init(alertState: DBTEAMLOGAdminAlertingAlertStatePolicy?, sensitivityLevel: DBTEAMLOGAdminAlertingAlertSensitivity?, recipientsSettings: DBTEAMLOGRecipientsConfiguration?, text: String?, excludedFileExtensions: String?)
Parameters
alertState
Alert state.
sensitivityLevel
Sensitivity level.
recipientsSettings
Recipient settings.
text
Text.
excludedFileExtensions
Excluded file extensions.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initDefault;
Swift
init(default: ())
Return Value
An initialized instance.