DBTEAMLOGAlertRecipientsSettingType

Objective-C

@interface DBTEAMLOGAlertRecipientsSettingType
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGAlertRecipientsSettingType : NSObject, DBSerializable, NSCopying

The AlertRecipientsSettingType union.

Alert recipients setting type

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

Instance fields

Constructors

  • Initializes union class with tag state of “custom_list”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithCustomList;

    Swift

    init(customList: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “invalid”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithInvalid;

    Swift

    init(invalid: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “none”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithNone;

    Swift

    init(none: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “team_admins”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTeamAdmins;

    Swift

    init(teamAdmins: ())

    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.

Tag state methods

  • Retrieves whether the union’s current tag state has value “custom_list”.

    Declaration

    Objective-C

    - (BOOL)isCustomList;

    Swift

    func isCustomList() -> Bool

    Return Value

    Whether the union’s current tag state has value “custom_list”.

  • Retrieves whether the union’s current tag state has value “invalid”.

    Declaration

    Objective-C

    - (BOOL)isInvalid;

    Swift

    func isInvalid() -> Bool

    Return Value

    Whether the union’s current tag state has value “invalid”.

  • Retrieves whether the union’s current tag state has value “none”.

    Declaration

    Objective-C

    - (BOOL)isNone;

    Swift

    func isNone() -> Bool

    Return Value

    Whether the union’s current tag state has value “none”.

  • Retrieves whether the union’s current tag state has value “team_admins”.

    Declaration

    Objective-C

    - (BOOL)isTeamAdmins;

    Swift

    func isTeamAdmins() -> Bool

    Return Value

    Whether the union’s current tag state has value “team_admins”.

  • Retrieves whether the union’s current tag state has value “other”.

    Declaration

    Objective-C

    - (BOOL)isOther;

    Swift

    func isOther() -> Bool

    Return 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() -> String

    Return Value

    A human-readable string representing the union’s current tag state.