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