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