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