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