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