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