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