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