/* 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.
 */
import { EntityThreadCountFromJSON, EntityThreadCountToJSON, } from './EntityThreadCount';
/**
 * Check if a given object implements the EntityThreadCounts interface.
 */
export function instanceOfEntityThreadCounts(value) {
    return true;
}
export function EntityThreadCountsFromJSON(json) {
    return EntityThreadCountsFromJSONTyped(json, false);
}
export function EntityThreadCountsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'list': json['list'] == null ? undefined : (json['list'].map(EntityThreadCountFromJSON)),
    };
}
export function EntityThreadCountsToJSON(json) {
    return EntityThreadCountsToJSONTyped(json, false);
}
export function EntityThreadCountsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'list': value['list'] == null ? undefined : (value['list'].map(EntityThreadCountToJSON)),
    };
}
//# sourceMappingURL=EntityThreadCounts.js.map