DBFILEREQUESTSFileRequestDeadlineSerializer
Objective-C
@interface DBFILEREQUESTSFileRequestDeadlineSerializer : NSObject
Swift
class DBFILEREQUESTSFileRequestDeadlineSerializer : NSObject
The serialization class for the FileRequestDeadline
struct.
-
Serializes
DBFILEREQUESTSFileRequestDeadline
instances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBFILEREQUESTSFileRequestDeadline *)instance;
Swift
class func serialize(_ instance: DBFILEREQUESTSFileRequestDeadline) -> [String : Any]?
Parameters
instance
An instance of the
DBFILEREQUESTSFileRequestDeadline
API object.Return Value
A json-compatible dictionary representation of the
DBFILEREQUESTSFileRequestDeadline
API object. -
Deserializes
DBFILEREQUESTSFileRequestDeadline
instances.Declaration
Objective-C
+ (nonnull DBFILEREQUESTSFileRequestDeadline *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;
Swift
class func deserialize(_ dict: [String : Any]) -> DBFILEREQUESTSFileRequestDeadline
Parameters
dict
A json-compatible dictionary representation of the
DBFILEREQUESTSFileRequestDeadline
API object.Return Value
An instantiation of the
DBFILEREQUESTSFileRequestDeadline
object.