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