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