/* 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 KeyValue interface.
 */
export function instanceOfKeyValue(value) {
    return true;
}
export function KeyValueFromJSON(json) {
    return KeyValueFromJSONTyped(json, false);
}
export function KeyValueFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'key': json['key'] == null ? undefined : json['key'],
        'value': json['value'] == null ? undefined : json['value'],
        'not': json['not'] == null ? undefined : json['not'],
    };
}
export function KeyValueToJSON(json) {
    return KeyValueToJSONTyped(json, false);
}
export function KeyValueToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'key': value['key'],
        'value': value['value'],
        'not': value['not'],
    };
}
//# sourceMappingURL=KeyValue.js.map