DBTEAMPOLICIESRolloutMethod
Objective-C
@interface DBTEAMPOLICIESRolloutMethod : NSObject <DBSerializable, NSCopying>
                Swift
class 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.
- 
                  
                  
Represents the union’s current tag state.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMPOLICIESRolloutMethodTag tag;Swift
var tag: DBTEAMPOLICIESRolloutMethodTag { get } 
- 
                  
                  
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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> StringReturn Value
A human-readable string representing the union’s current tag state.
 
View on GitHub
        DBTEAMPOLICIESRolloutMethod Class Reference