/* 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 { ResultValidationResultsFromJSON, ResultValidationResultsToJSON, } from './ResultValidationResults';
/**
 * Check if a given object implements the ResultRow interface.
 */
export function instanceOfResultRow(value) {
    return true;
}
export function ResultRowFromJSON(json) {
    return ResultRowFromJSONTyped(json, false);
}
export function ResultRowFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'data': json['data'] == null ? undefined : json['data'],
        'validationResults': json['validationResults'] == null ? undefined : ResultValidationResultsFromJSON(json['validationResults']),
        'rowId': json['rowId'] == null ? undefined : json['rowId'],
    };
}
export function ResultRowToJSON(json) {
    return ResultRowToJSONTyped(json, false);
}
export function ResultRowToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'data': value['data'],
        'validationResults': ResultValidationResultsToJSON(value['validationResults']),
        'rowId': value['rowId'],
    };
}
//# sourceMappingURL=ResultRow.js.map