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