DBFILESFileCategorySerializer
Objective-C
@interface DBFILESFileCategorySerializer : NSObject
Swift
class DBFILESFileCategorySerializer : NSObject
The serialization class for the DBFILESFileCategory union.
-
Serializes
DBFILESFileCategoryinstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBFILESFileCategory *)instance;Swift
class func serialize(_ instance: DBFILESFileCategory) -> [String : Any]?Parameters
instanceAn instance of the
DBFILESFileCategoryAPI object.Return Value
A json-compatible dictionary representation of the
DBFILESFileCategoryAPI object. -
Deserializes
DBFILESFileCategoryinstances.Declaration
Objective-C
+ (nonnull DBFILESFileCategory *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBFILESFileCategoryParameters
dictA json-compatible dictionary representation of the
DBFILESFileCategoryAPI object.Return Value
An instantiation of the
DBFILESFileCategoryobject.
View on GitHub
DBFILESFileCategorySerializer Class Reference