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