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