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