/* 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 { RowReferenceSetFromJSON, RowReferenceSetToJSON, } from './RowReferenceSet';
/**
 * @export
 */
export const RowReferenceSetResultsConcreteTypeEnum = {
    org_sagebionetworks_repo_model_table_RowReferenceSetResults: 'org.sagebionetworks.repo.model.table.RowReferenceSetResults'
};
/**
 * Check if a given object implements the RowReferenceSetResults interface.
 */
export function instanceOfRowReferenceSetResults(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(RowReferenceSetResultsConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function RowReferenceSetResultsFromJSON(json) {
    return RowReferenceSetResultsFromJSONTyped(json, false);
}
export function RowReferenceSetResultsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'rowReferenceSet': json['rowReferenceSet'] == null ? undefined : RowReferenceSetFromJSON(json['rowReferenceSet']),
    };
}
export function RowReferenceSetResultsToJSON(json) {
    return RowReferenceSetResultsToJSONTyped(json, false);
}
export function RowReferenceSetResultsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'rowReferenceSet': RowReferenceSetToJSON(value['rowReferenceSet']),
    };
}
//# sourceMappingURL=RowReferenceSetResults.js.map