DBTEAMLOGRecipientsConfiguration

Objective-C

@interface DBTEAMLOGRecipientsConfiguration
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGRecipientsConfiguration : NSObject, DBSerializable, NSCopying

The RecipientsConfiguration struct.

Recipients Configuration

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

  • Recipients setting type.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) DBTEAMLOGAlertRecipientsSettingType *recipientSettingType;

    Swift

    var recipientSettingType: DBTEAMLOGAlertRecipientsSettingType? { get }
  • A list of user emails to notify.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<NSString *> *emails;

    Swift

    var emails: [String]? { get }
  • A list of groups to notify.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<NSString *> *groups;

    Swift

    var groups: [String]? { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithRecipientSettingType:
            (nullable DBTEAMLOGAlertRecipientsSettingType *)recipientSettingType
                              emails:(nullable NSArray<NSString *> *)emails
                              groups:(nullable NSArray<NSString *> *)groups;

    Swift

    init(recipientSettingType: DBTEAMLOGAlertRecipientsSettingType?, emails: [String]?, groups: [String]?)

    Parameters

    recipientSettingType

    Recipients setting type.

    emails

    A list of user emails to notify.

    groups

    A list of groups to notify.

    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.