/* 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 SelectByNameConcreteTypeEnum = {
    org_sagebionetworks_repo_model_grid_query_SelectByName: 'org.sagebionetworks.repo.model.grid.query.SelectByName'
};
/**
 * Check if a given object implements the SelectByName interface.
 */
export function instanceOfSelectByName(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(SelectByNameConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function SelectByNameFromJSON(json) {
    return SelectByNameFromJSONTyped(json, false);
}
export function SelectByNameFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'columnName': json['columnName'] == null ? undefined : json['columnName'],
    };
}
export function SelectByNameToJSON(json) {
    return SelectByNameToJSONTyped(json, false);
}
export function SelectByNameToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'columnName': value['columnName'],
    };
}
//# sourceMappingURL=SelectByName.js.map