DBFILESDeleteBatchResultEntry
Objective-C
@interface DBFILESDeleteBatchResultEntry : NSObject <DBSerializable, NSCopying>
                Swift
class DBFILESDeleteBatchResultEntry : NSObject, DBSerializable, NSCopying
                The DeleteBatchResultEntry 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) DBFILESDeleteBatchResultEntryTag tag;Swift
var tag: DBFILESDeleteBatchResultEntryTag { get } - 
                  
                  
(no description). - note: Ensure the
isSuccessmethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBFILESDeleteBatchResultData *_Nonnull success;Swift
var success: DBFILESDeleteBatchResultData { get } - 
                  
                  
(no description). - note: Ensure the
isFailuremethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBFILESDeleteError *_Nonnull failure;Swift
var failure: DBFILESDeleteError { get } 
- 
                  
                  
Initializes union class with tag state of “success”.
Declaration
Objective-C
- (nonnull instancetype)initWithSuccess: (nonnull DBFILESDeleteBatchResultData *)success;Swift
init(success: DBFILESDeleteBatchResultData)Parameters
success(no description).
Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “failure”.
Declaration
Objective-C
- (nonnull instancetype)initWithFailure:(nonnull DBFILESDeleteError *)failure;Swift
init(failure: DBFILESDeleteError)Parameters
failure(no description).
Return Value
An initialized instance.
 
- 
                  
                  
Retrieves whether the union’s current tag state has value “success”.
Note
Call this method and ensure it returns true before accessing the
successproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isSuccess;Swift
func isSuccess() -> BoolReturn Value
Whether the union’s current tag state has value “success”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “failure”.
Note
Call this method and ensure it returns true before accessing the
failureproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isFailure;Swift
func isFailure() -> BoolReturn Value
Whether the union’s current tag state has value “failure”.
 - 
                  
                  
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
        DBFILESDeleteBatchResultEntry Class Reference