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