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