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