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