DBUSERSTeamSerializer
Objective-C
@interface DBUSERSTeamSerializer : NSObject
Swift
class DBUSERSTeamSerializer : NSObject
The serialization class for the Team struct.
-
Serializes
DBUSERSTeaminstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBUSERSTeam *)instance;Swift
class func serialize(_ instance: DBUSERSTeam) -> [String : Any]?Parameters
instanceAn instance of the
DBUSERSTeamAPI object.Return Value
A json-compatible dictionary representation of the
DBUSERSTeamAPI object. -
Deserializes
DBUSERSTeaminstances.Declaration
Objective-C
+ (nonnull DBUSERSTeam *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBUSERSTeamParameters
dictA json-compatible dictionary representation of the
DBUSERSTeamAPI object.Return Value
An instantiation of the
DBUSERSTeamobject.
View on GitHub
DBUSERSTeamSerializer Class Reference