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