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