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