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