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