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