/* 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 GridCsvImportResponseConcreteTypeEnum = {
    org_sagebionetworks_repo_model_grid_GridCsvImportResponse: 'org.sagebionetworks.repo.model.grid.GridCsvImportResponse'
};
/**
 * Check if a given object implements the GridCsvImportResponse interface.
 */
export function instanceOfGridCsvImportResponse(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(GridCsvImportResponseConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function GridCsvImportResponseFromJSON(json) {
    return GridCsvImportResponseFromJSONTyped(json, false);
}
export function GridCsvImportResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
        'totalCount': json['totalCount'] == null ? undefined : json['totalCount'],
        'createdCount': json['createdCount'] == null ? undefined : json['createdCount'],
        'updatedCount': json['updatedCount'] == null ? undefined : json['updatedCount'],
    };
}
export function GridCsvImportResponseToJSON(json) {
    return GridCsvImportResponseToJSONTyped(json, false);
}
export function GridCsvImportResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'sessionId': value['sessionId'],
        'totalCount': value['totalCount'],
        'createdCount': value['createdCount'],
        'updatedCount': value['updatedCount'],
    };
}
//# sourceMappingURL=GridCsvImportResponse.js.map