/* 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 StringAnnotation interface.
 */
export function instanceOfStringAnnotation(value) {
    return true;
}
export function StringAnnotationFromJSON(json) {
    return StringAnnotationFromJSONTyped(json, false);
}
export function StringAnnotationFromJSONTyped(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 StringAnnotationToJSON(json) {
    return StringAnnotationToJSONTyped(json, false);
}
export function StringAnnotationToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'key': value['key'],
        'isPrivate': value['isPrivate'],
        'value': value['value'],
    };
}
//# sourceMappingURL=StringAnnotation.js.map