/* 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 RangeFieldOptions interface.
 */
export function instanceOfRangeFieldOptions(value) {
    return true;
}
export function RangeFieldOptionsFromJSON(json) {
    return RangeFieldOptionsFromJSONTyped(json, false);
}
export function RangeFieldOptionsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'boost': json['boost'] == null ? undefined : json['boost'],
        '_name': json['_name'] == null ? undefined : json['_name'],
        'gte': json['gte'] == null ? undefined : json['gte'],
        'gt': json['gt'] == null ? undefined : json['gt'],
        'lte': json['lte'] == null ? undefined : json['lte'],
        'lt': json['lt'] == null ? undefined : json['lt'],
        'format': json['format'] == null ? undefined : json['format'],
        'relation': json['relation'] == null ? undefined : json['relation'],
        'time_zone': json['time_zone'] == null ? undefined : json['time_zone'],
    };
}
export function RangeFieldOptionsToJSON(json) {
    return RangeFieldOptionsToJSONTyped(json, false);
}
export function RangeFieldOptionsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'boost': value['boost'],
        '_name': value['_name'],
        'gte': value['gte'],
        'gt': value['gt'],
        'lte': value['lte'],
        'lt': value['lt'],
        'format': value['format'],
        'relation': value['relation'],
        'time_zone': value['time_zone'],
    };
}
//# sourceMappingURL=RangeFieldOptions.js.map