/* 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.
 */
import { FacetColumnSortConfigFromJSON, FacetColumnSortConfigToJSON, } from './FacetColumnSortConfig';
/**
 * @export
 */
export const JsonSubColumnModelColumnTypeEnum = {
    STRING: 'STRING',
    DOUBLE: 'DOUBLE',
    INTEGER: 'INTEGER',
    BOOLEAN: 'BOOLEAN',
    DATE: 'DATE',
    FILEHANDLEID: 'FILEHANDLEID',
    ENTITYID: 'ENTITYID',
    SUBMISSIONID: 'SUBMISSIONID',
    EVALUATIONID: 'EVALUATIONID',
    LINK: 'LINK',
    MEDIUMTEXT: 'MEDIUMTEXT',
    LARGETEXT: 'LARGETEXT',
    USERID: 'USERID',
    STRING_LIST: 'STRING_LIST',
    INTEGER_LIST: 'INTEGER_LIST',
    BOOLEAN_LIST: 'BOOLEAN_LIST',
    DATE_LIST: 'DATE_LIST',
    ENTITYID_LIST: 'ENTITYID_LIST',
    USERID_LIST: 'USERID_LIST',
    JSON: 'JSON'
};
/**
 * @export
 */
export const JsonSubColumnModelFacetTypeEnum = {
    enumeration: 'enumeration',
    range: 'range'
};
/**
 * Check if a given object implements the JsonSubColumnModel interface.
 */
export function instanceOfJsonSubColumnModel(value) {
    return true;
}
export function JsonSubColumnModelFromJSON(json) {
    return JsonSubColumnModelFromJSONTyped(json, false);
}
export function JsonSubColumnModelFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'columnType': json['columnType'] == null ? undefined : json['columnType'],
        'facetType': json['facetType'] == null ? undefined : json['facetType'],
        'facetSortConfig': json['facetSortConfig'] == null ? undefined : FacetColumnSortConfigFromJSON(json['facetSortConfig']),
        'jsonPath': json['jsonPath'] == null ? undefined : json['jsonPath'],
    };
}
export function JsonSubColumnModelToJSON(json) {
    return JsonSubColumnModelToJSONTyped(json, false);
}
export function JsonSubColumnModelToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'columnType': value['columnType'],
        'facetType': value['facetType'],
        'facetSortConfig': FacetColumnSortConfigToJSON(value['facetSortConfig']),
        'jsonPath': value['jsonPath'],
    };
}
//# sourceMappingURL=JsonSubColumnModel.js.map