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