DBSHARINGRemoveMemberJobStatus
Objective-C
@interface DBSHARINGRemoveMemberJobStatus : NSObject <DBSerializable, NSCopying>
Swift
class DBSHARINGRemoveMemberJobStatus : NSObject, DBSerializable, NSCopying
The RemoveMemberJobStatus
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) DBSHARINGRemoveMemberJobStatusTag tag;
Swift
var tag: DBSHARINGRemoveMemberJobStatusTag { get }
-
Removing the folder member has finished. The value is information about whether the member has another form of access. - note: Ensure the
isComplete
method returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBSHARINGMemberAccessLevelResult *_Nonnull complete;
Swift
var complete: DBSHARINGMemberAccessLevelResult { get }
-
(no description). - note: Ensure the
isFailed
method returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBSHARINGRemoveFolderMemberError *_Nonnull failed;
Swift
var failed: DBSHARINGRemoveFolderMemberError { get }
-
Initializes union class with tag state of “in_progress”.
Description of the “in_progress” tag state: The asynchronous job is still in progress.
Declaration
Objective-C
- (nonnull instancetype)initWithInProgress;
Swift
init(inProgress: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “complete”.
Description of the “complete” tag state: Removing the folder member has finished. The value is information about whether the member has another form of access.
Declaration
Objective-C
- (nonnull instancetype)initWithComplete: (nonnull DBSHARINGMemberAccessLevelResult *)complete;
Swift
init(complete: DBSHARINGMemberAccessLevelResult)
Parameters
complete
Removing the folder member has finished. The value is information about whether the member has another form of access.
Return Value
An initialized instance.
-
Initializes union class with tag state of “failed”.
Declaration
Objective-C
- (nonnull instancetype)initWithFailed: (nonnull DBSHARINGRemoveFolderMemberError *)failed;
Swift
init(failed: DBSHARINGRemoveFolderMemberError)
Parameters
failed
(no description).
Return Value
An initialized instance.
-
Retrieves whether the union’s current tag state has value “in_progress”.
Declaration
Objective-C
- (BOOL)isInProgress;
Swift
func isInProgress() -> Bool
Return Value
Whether the union’s current tag state has value “in_progress”.
-
Retrieves whether the union’s current tag state has value “complete”.
Note
Call this method and ensure it returns true before accessing the
complete
property, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isComplete;
Swift
func isComplete() -> Bool
Return Value
Whether the union’s current tag state has value “complete”.
-
Retrieves whether the union’s current tag state has value “failed”.
Note
Call this method and ensure it returns true before accessing the
failed
property, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isFailed;
Swift
func isFailed() -> Bool
Return Value
Whether the union’s current tag state has value “failed”.
-
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.