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