/* 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 { SearchAutocompleteBodyFromJSON, SearchAutocompleteBodyToJSON, } from './SearchAutocompleteBody';
/**
 * Check if a given object implements the SearchAutocompleteRequest interface.
 */
export function instanceOfSearchAutocompleteRequest(value) {
    return true;
}
export function SearchAutocompleteRequestFromJSON(json) {
    return SearchAutocompleteRequestFromJSONTyped(json, false);
}
export function SearchAutocompleteRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'searchIndexId': json['searchIndexId'] == null ? undefined : json['searchIndexId'],
        'searchQuery': json['searchQuery'] == null ? undefined : SearchAutocompleteBodyFromJSON(json['searchQuery']),
    };
}
export function SearchAutocompleteRequestToJSON(json) {
    return SearchAutocompleteRequestToJSONTyped(json, false);
}
export function SearchAutocompleteRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'searchIndexId': value['searchIndexId'],
        'searchQuery': SearchAutocompleteBodyToJSON(value['searchQuery']),
    };
}
//# sourceMappingURL=SearchAutocompleteRequest.js.map