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