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