/* 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 LongAnnotation interface.
 */
export function instanceOfLongAnnotation(value) {
    return true;
}
export function LongAnnotationFromJSON(json) {
    return LongAnnotationFromJSONTyped(json, false);
}
export function LongAnnotationFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'key': json['key'] == null ? undefined : json['key'],
        'isPrivate': json['isPrivate'] == null ? undefined : json['isPrivate'],
        'value': json['value'] == null ? undefined : json['value'],
    };
}
export function LongAnnotationToJSON(json) {
    return LongAnnotationToJSONTyped(json, false);
}
export function LongAnnotationToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'key': value['key'],
        'isPrivate': value['isPrivate'],
        'value': value['value'],
    };
}
//# sourceMappingURL=LongAnnotation.js.map