DBUSERSTeamSerializer

Objective-C

@interface DBUSERSTeamSerializer : NSObject

Swift

class DBUSERSTeamSerializer : NSObject

The serialization class for the Team struct.

  • Serializes DBUSERSTeam instances.

    Declaration

    Objective-C

    + (nullable NSDictionary<NSString *, id> *)serialize:
        (nonnull DBUSERSTeam *)instance;

    Swift

    class func serialize(_ instance: DBUSERSTeam) -> [String : 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<NSString *, id> *)dict;

    Swift

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

    Parameters

    dict

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

    Return Value

    An instantiation of the DBUSERSTeam object.