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