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