DBAUTHAuthErrorSerializer
Objective-C
@interface DBAUTHAuthErrorSerializer : NSObject
Swift
class DBAUTHAuthErrorSerializer : NSObject
The serialization class for the DBAUTHAuthError union.
-
Serializes
DBAUTHAuthErrorinstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBAUTHAuthError *)instance;Swift
class func serialize(_ instance: DBAUTHAuthError) -> [String : Any]?Parameters
instanceAn instance of the
DBAUTHAuthErrorAPI object.Return Value
A json-compatible dictionary representation of the
DBAUTHAuthErrorAPI object. -
Deserializes
DBAUTHAuthErrorinstances.Declaration
Objective-C
+ (nonnull DBAUTHAuthError *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBAUTHAuthErrorParameters
dictA json-compatible dictionary representation of the
DBAUTHAuthErrorAPI object.Return Value
An instantiation of the
DBAUTHAuthErrorobject.
View on GitHub
DBAUTHAuthErrorSerializer Class Reference