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