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