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