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