/* 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 EntityTypeMetadataEntityTypeEnum = {
    project: 'project',
    folder: 'folder',
    file: 'file',
    table: 'table',
    link: 'link',
    entityview: 'entityview',
    dockerrepo: 'dockerrepo',
    submissionview: 'submissionview',
    dataset: 'dataset',
    datasetcollection: 'datasetcollection',
    materializedview: 'materializedview',
    virtualtable: 'virtualtable',
    recordset: 'recordset',
    searchindex: 'searchindex'
};
/**
 * Check if a given object implements the EntityTypeMetadata interface.
 */
export function instanceOfEntityTypeMetadata(value) {
    if (!('name' in value) || value['name'] === undefined)
        return false;
    return true;
}
export function EntityTypeMetadataFromJSON(json) {
    return EntityTypeMetadataFromJSONTyped(json, false);
}
export function EntityTypeMetadataFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'],
        'displayName': json['displayName'] == null ? undefined : json['displayName'],
        'className': json['className'] == null ? undefined : json['className'],
        'entityType': json['entityType'] == null ? undefined : json['entityType'],
        'defaultParentPath': json['defaultParentPath'] == null ? undefined : json['defaultParentPath'],
        'validParentTypes': json['validParentTypes'] == null ? undefined : json['validParentTypes'],
        'aliases': json['aliases'] == null ? undefined : json['aliases'],
    };
}
export function EntityTypeMetadataToJSON(json) {
    return EntityTypeMetadataToJSONTyped(json, false);
}
export function EntityTypeMetadataToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'displayName': value['displayName'],
        'className': value['className'],
        'entityType': value['entityType'],
        'defaultParentPath': value['defaultParentPath'],
        'validParentTypes': value['validParentTypes'],
        'aliases': value['aliases'],
    };
}
//# sourceMappingURL=EntityTypeMetadata.js.map