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