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