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