/* 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 { FilterFromJSON, FilterToJSON, } from './Filter';
import { SelectItemFromJSON, SelectItemToJSON, } from './SelectItem';
/**
 * Check if a given object implements the QueryQuery interface.
 */
export function instanceOfQueryQuery(value) {
    return true;
}
export function QueryQueryFromJSON(json) {
    return QueryQueryFromJSONTyped(json, false);
}
export function QueryQueryFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'columnSelection': json['columnSelection'] == null ? undefined : (json['columnSelection'].map(SelectItemFromJSON)),
        'filters': json['filters'] == null ? undefined : (json['filters'].map(FilterFromJSON)),
        'limit': json['limit'] == null ? undefined : json['limit'],
        'offset': json['offset'] == null ? undefined : json['offset'],
        'includeValidationMessages': json['includeValidationMessages'] == null ? undefined : json['includeValidationMessages'],
    };
}
export function QueryQueryToJSON(json) {
    return QueryQueryToJSONTyped(json, false);
}
export function QueryQueryToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'columnSelection': value['columnSelection'] == null ? undefined : (value['columnSelection'].map(SelectItemToJSON)),
        'filters': value['filters'] == null ? undefined : (value['filters'].map(FilterToJSON)),
        'limit': value['limit'],
        'offset': value['offset'],
        'includeValidationMessages': value['includeValidationMessages'],
    };
}
//# sourceMappingURL=QueryQuery.js.map