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