DBUSERSTeamSerializer

@interface DBUSERSTeamSerializer : NSObject

The serialization class for the Team struct.

  • Serializes DBUSERSTeam instances.

    Declaration

    Objective-C

    + (nullable NSDictionary *)serialize:(nonnull DBUSERSTeam *)instance;

    Swift

    class func serialize(_ instance: DBUSERSTeam) -> [AnyHashable : Any]?

    Parameters

    instance

    An instance of the DBUSERSTeam API object.

    Return Value

    A json-compatible dictionary representation of the DBUSERSTeam API object.

  • Deserializes DBUSERSTeam instances.

    Declaration

    Objective-C

    + (nonnull DBUSERSTeam *)deserialize:(nonnull NSDictionary *)dict;

    Swift

    class func deserialize(_ dict: [AnyHashable : Any]) -> DBUSERSTeam

    Parameters

    dict

    A json-compatible dictionary representation of the DBUSERSTeam API object.

    Return Value

    An instantiation of the DBUSERSTeam object.