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