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