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