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