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