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