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