/* 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 TrashedEntityEntityTypeEnum = {
    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 TrashedEntity interface.
 */
export function instanceOfTrashedEntity(value) {
    return true;
}
export function TrashedEntityFromJSON(json) {
    return TrashedEntityFromJSONTyped(json, false);
}
export function TrashedEntityFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'entityId': json['entityId'] == null ? undefined : json['entityId'],
        'entityName': json['entityName'] == null ? undefined : json['entityName'],
        'entityType': json['entityType'] == null ? undefined : json['entityType'],
        'deletedByPrincipalId': json['deletedByPrincipalId'] == null ? undefined : json['deletedByPrincipalId'],
        'deletedOn': json['deletedOn'] == null ? undefined : json['deletedOn'],
        'originalParentId': json['originalParentId'] == null ? undefined : json['originalParentId'],
    };
}
export function TrashedEntityToJSON(json) {
    return TrashedEntityToJSONTyped(json, false);
}
export function TrashedEntityToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'entityId': value['entityId'],
        'entityName': value['entityName'],
        'entityType': value['entityType'],
        'deletedByPrincipalId': value['deletedByPrincipalId'],
        'deletedOn': value['deletedOn'],
        'originalParentId': value['originalParentId'],
    };
}
//# sourceMappingURL=TrashedEntity.js.map