DBTEAMLegalHoldStatus
Objective-C
@interface DBTEAMLegalHoldStatus : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLegalHoldStatus : NSObject, DBSerializable, NSCopying
The LegalHoldStatus
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) DBTEAMLegalHoldStatusTag tag;
Swift
var tag: DBTEAMLegalHoldStatusTag { get }
-
Initializes union class with tag state of “active”.
Description of the “active” tag state: The legal hold policy is active.
Declaration
Objective-C
- (nonnull instancetype)initWithActive;
Swift
init(active: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “released”.
Description of the “released” tag state: The legal hold policy was released.
Declaration
Objective-C
- (nonnull instancetype)initWithReleased;
Swift
init(released: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “activating”.
Description of the “activating” tag state: The legal hold policy is activating.
Declaration
Objective-C
- (nonnull instancetype)initWithActivating;
Swift
init(activating: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “updating”.
Description of the “updating” tag state: The legal hold policy is updating.
Declaration
Objective-C
- (nonnull instancetype)initWithUpdating;
Swift
init(updating: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “exporting”.
Description of the “exporting” tag state: The legal hold policy is exporting.
Declaration
Objective-C
- (nonnull instancetype)initWithExporting;
Swift
init(exporting: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “releasing”.
Description of the “releasing” tag state: The legal hold policy is releasing.
Declaration
Objective-C
- (nonnull instancetype)initWithReleasing;
Swift
init(releasing: ())
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.
-
Retrieves whether the union’s current tag state has value “active”.
Declaration
Objective-C
- (BOOL)isActive;
Swift
func isActive() -> Bool
Return Value
Whether the union’s current tag state has value “active”.
-
Retrieves whether the union’s current tag state has value “released”.
Declaration
Objective-C
- (BOOL)isReleased;
Swift
func isReleased() -> Bool
Return Value
Whether the union’s current tag state has value “released”.
-
Retrieves whether the union’s current tag state has value “activating”.
Declaration
Objective-C
- (BOOL)isActivating;
Swift
func isActivating() -> Bool
Return Value
Whether the union’s current tag state has value “activating”.
-
Retrieves whether the union’s current tag state has value “updating”.
Declaration
Objective-C
- (BOOL)isUpdating;
Swift
func isUpdating() -> Bool
Return Value
Whether the union’s current tag state has value “updating”.
-
Retrieves whether the union’s current tag state has value “exporting”.
Declaration
Objective-C
- (BOOL)isExporting;
Swift
func isExporting() -> Bool
Return Value
Whether the union’s current tag state has value “exporting”.
-
Retrieves whether the union’s current tag state has value “releasing”.
Declaration
Objective-C
- (BOOL)isReleasing;
Swift
func isReleasing() -> Bool
Return Value
Whether the union’s current tag state has value “releasing”.
-
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.