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