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