/* 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.
 */
/**
 * @export
 */
export const AnnotationsValueTypeEnum = {
    STRING: 'STRING',
    DOUBLE: 'DOUBLE',
    LONG: 'LONG',
    TIMESTAMP_MS: 'TIMESTAMP_MS',
    BOOLEAN: 'BOOLEAN'
};
/**
 * Check if a given object implements the AnnotationsValue interface.
 */
export function instanceOfAnnotationsValue(value) {
    if (!('value' in value) || value['value'] === undefined)
        return false;
    return true;
}
export function AnnotationsValueFromJSON(json) {
    return AnnotationsValueFromJSONTyped(json, false);
}
export function AnnotationsValueFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'type': json['type'] == null ? undefined : json['type'],
        'value': json['value'],
    };
}
export function AnnotationsValueToJSON(json) {
    return AnnotationsValueToJSONTyped(json, false);
}
export function AnnotationsValueToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'type': value['type'],
        'value': value['value'],
    };
}
//# sourceMappingURL=AnnotationsValue.js.map