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