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