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