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