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