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