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