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