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