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