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