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