/* 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 { TextAnalyzerFromJSON, TextAnalyzerToJSON, } from './TextAnalyzer';
/**
 * Check if a given object implements the ListTextAnalyzersResponse interface.
 */
export function instanceOfListTextAnalyzersResponse(value) {
    return true;
}
export function ListTextAnalyzersResponseFromJSON(json) {
    return ListTextAnalyzersResponseFromJSONTyped(json, false);
}
export function ListTextAnalyzersResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'results': json['results'] == null ? undefined : (json['results'].map(TextAnalyzerFromJSON)),
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
    };
}
export function ListTextAnalyzersResponseToJSON(json) {
    return ListTextAnalyzersResponseToJSONTyped(json, false);
}
export function ListTextAnalyzersResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'results': value['results'] == null ? undefined : (value['results'].map(TextAnalyzerToJSON)),
        'nextPageToken': value['nextPageToken'],
    };
}
//# sourceMappingURL=ListTextAnalyzersResponse.js.map