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