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