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