/* 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 { ViewScopeFromJSON, ViewScopeToJSON, } from './ViewScope';
/**
 * @export
 */
export const ViewColumnModelRequestConcreteTypeEnum = {
    org_sagebionetworks_repo_model_table_ViewColumnModelRequest: 'org.sagebionetworks.repo.model.table.ViewColumnModelRequest'
};
/**
 * Check if a given object implements the ViewColumnModelRequest interface.
 */
export function instanceOfViewColumnModelRequest(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(ViewColumnModelRequestConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function ViewColumnModelRequestFromJSON(json) {
    return ViewColumnModelRequestFromJSONTyped(json, false);
}
export function ViewColumnModelRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'viewScope': json['viewScope'] == null ? undefined : ViewScopeFromJSON(json['viewScope']),
        'includeDerivedAnnotations': json['includeDerivedAnnotations'] == null ? undefined : json['includeDerivedAnnotations'],
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
    };
}
export function ViewColumnModelRequestToJSON(json) {
    return ViewColumnModelRequestToJSONTyped(json, false);
}
export function ViewColumnModelRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'viewScope': ViewScopeToJSON(value['viewScope']),
        'includeDerivedAnnotations': value['includeDerivedAnnotations'],
        'nextPageToken': value['nextPageToken'],
    };
}
//# sourceMappingURL=ViewColumnModelRequest.js.map