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