DBTEAMPOLICIESRolloutMethod

@interface DBTEAMPOLICIESRolloutMethod : NSObject <DBSerializable, NSCopying>

The RolloutMethod union.

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

  • Initializes union class with tag state of unlink_all.

    Description of the unlink_all tag state: Unlink all.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUnlinkAll;

    Swift

    init(unlinkAll: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of unlink_most_inactive.

    Description of the unlink_most_inactive tag state: Unlink devices with the most inactivity.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUnlinkMostInactive;

    Swift

    init(unlinkMostInactive: ())

    Return Value

    An initialized instance.

  • Initializes union class with tag state of add_member_to_exceptions.

    Description of the add_member_to_exceptions tag state: Add member to Exceptions.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAddMemberToExceptions;

    Swift

    init(addMemberToExceptions: ())

    Return Value

    An initialized instance.

  • Retrieves whether the union’s current tag state has value unlink_all.

    Declaration

    Objective-C

    - (BOOL)isUnlinkAll;

    Swift

    func isUnlinkAll() -> Bool

    Return Value

    Whether the union’s current tag state has value unlink_all.

  • Retrieves whether the union’s current tag state has value unlink_most_inactive.

    Declaration

    Objective-C

    - (BOOL)isUnlinkMostInactive;

    Swift

    func isUnlinkMostInactive() -> Bool

    Return Value

    Whether the union’s current tag state has value unlink_most_inactive.

  • Retrieves whether the union’s current tag state has value add_member_to_exceptions.

    Declaration

    Objective-C

    - (BOOL)isAddMemberToExceptions;

    Swift

    func isAddMemberToExceptions() -> Bool

    Return Value

    Whether the union’s current tag state has value add_member_to_exceptions.

  • 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.