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