/* 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 { ColumnAnalyzerOverrideEntryFromJSON, ColumnAnalyzerOverrideEntryToJSON, } from './ColumnAnalyzerOverrideEntry';
/**
 * Check if a given object implements the ColumnAnalyzerOverride interface.
 */
export function instanceOfColumnAnalyzerOverride(value) {
    return true;
}
export function ColumnAnalyzerOverrideFromJSON(json) {
    return ColumnAnalyzerOverrideFromJSONTyped(json, false);
}
export function ColumnAnalyzerOverrideFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'organizationName': json['organizationName'] == null ? undefined : json['organizationName'],
        'name': json['name'] == null ? undefined : json['name'],
        'description': json['description'] == null ? undefined : json['description'],
        'overrides': json['overrides'] == null ? undefined : (json['overrides'].map(ColumnAnalyzerOverrideEntryFromJSON)),
        'etag': json['etag'] == null ? undefined : json['etag'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
        'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
    };
}
export function ColumnAnalyzerOverrideToJSON(json) {
    return ColumnAnalyzerOverrideToJSONTyped(json, false);
}
export function ColumnAnalyzerOverrideToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'organizationName': value['organizationName'],
        'name': value['name'],
        'description': value['description'],
        'overrides': value['overrides'] == null ? undefined : (value['overrides'].map(ColumnAnalyzerOverrideEntryToJSON)),
        'etag': value['etag'],
        'createdOn': value['createdOn'],
        'createdBy': value['createdBy'],
        'modifiedOn': value['modifiedOn'],
        'modifiedBy': value['modifiedBy'],
    };
}
//# sourceMappingURL=ColumnAnalyzerOverride.js.map