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