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