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