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