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