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