/* 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 SearchFieldValue interface.
 */
export function instanceOfSearchFieldValue(value) {
    return true;
}
export function SearchFieldValueFromJSON(json) {
    return SearchFieldValueFromJSONTyped(json, false);
}
export function SearchFieldValueFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'value': json['value'] == null ? undefined : json['value'],
    };
}
export function SearchFieldValueToJSON(json) {
    return SearchFieldValueToJSONTyped(json, false);
}
export function SearchFieldValueToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'value': value['value'],
    };
}
//# sourceMappingURL=SearchFieldValue.js.map