/* 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 ValidateDefiningSqlRequestEntityTypeEnum = {
    materializedview: 'materializedview',
    virtualtable: 'virtualtable'
};
/**
 * Check if a given object implements the ValidateDefiningSqlRequest interface.
 */
export function instanceOfValidateDefiningSqlRequest(value) {
    return true;
}
export function ValidateDefiningSqlRequestFromJSON(json) {
    return ValidateDefiningSqlRequestFromJSONTyped(json, false);
}
export function ValidateDefiningSqlRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'definingSql': json['definingSql'] == null ? undefined : json['definingSql'],
        'entityType': json['entityType'] == null ? undefined : json['entityType'],
    };
}
export function ValidateDefiningSqlRequestToJSON(json) {
    return ValidateDefiningSqlRequestToJSONTyped(json, false);
}
export function ValidateDefiningSqlRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'definingSql': value['definingSql'],
        'entityType': value['entityType'],
    };
}
//# sourceMappingURL=ValidateDefiningSqlRequest.js.map