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