DBFILESSearchErrorSerializer
Objective-C
@interface DBFILESSearchErrorSerializer : NSObject
Swift
class DBFILESSearchErrorSerializer : NSObject
The serialization class for the DBFILESSearchError union.
-
Serializes
DBFILESSearchErrorinstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBFILESSearchError *)instance;Swift
class func serialize(_ instance: DBFILESSearchError) -> [String : Any]?Parameters
instanceAn instance of the
DBFILESSearchErrorAPI object.Return Value
A json-compatible dictionary representation of the
DBFILESSearchErrorAPI object. -
Deserializes
DBFILESSearchErrorinstances.Declaration
Objective-C
+ (nonnull DBFILESSearchError *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBFILESSearchErrorParameters
dictA json-compatible dictionary representation of the
DBFILESSearchErrorAPI object.Return Value
An instantiation of the
DBFILESSearchErrorobject.
View on GitHub
DBFILESSearchErrorSerializer Class Reference