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