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