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