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