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