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