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