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