DBTEAMLOGFileRequestDeadline
Objective-C
@interface DBTEAMLOGFileRequestDeadline : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGFileRequestDeadline : NSObject, DBSerializable, NSCopying
The FileRequestDeadline
struct.
File request deadline
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The deadline for this file request. Might be missing due to historical data gap.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSDate *deadline;
Swift
var deadline: Date? { get }
-
If set, allow uploads after the deadline has passed.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *allowLateUploads;
Swift
var allowLateUploads: String? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithDeadline:(nullable NSDate *)deadline allowLateUploads:(nullable NSString *)allowLateUploads;
Swift
init(deadline: Date?, allowLateUploads: String?)
Parameters
deadline
The deadline for this file request. Might be missing due to historical data gap.
allowLateUploads
If set, allow uploads after the deadline has passed.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initDefault;
Swift
init(default: ())
Return Value
An initialized instance.