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