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