/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 * Check if a given object implements the ChallengeTeam interface.
 */
export function instanceOfChallengeTeam(value) {
    return true;
}
export function ChallengeTeamFromJSON(json) {
    return ChallengeTeamFromJSONTyped(json, false);
}
export function ChallengeTeamFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'etag': json['etag'] == null ? undefined : json['etag'],
        'challengeId': json['challengeId'] == null ? undefined : json['challengeId'],
        'teamId': json['teamId'] == null ? undefined : json['teamId'],
        'message': json['message'] == null ? undefined : json['message'],
    };
}
export function ChallengeTeamToJSON(json) {
    return ChallengeTeamToJSONTyped(json, false);
}
export function ChallengeTeamToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'etag': value['etag'],
        'challengeId': value['challengeId'],
        'teamId': value['teamId'],
        'message': value['message'],
    };
}
//# sourceMappingURL=ChallengeTeam.js.map