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