"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * UCX Proxy
 * A single use API for the UCX Proxy.
 *
 * The version of the OpenAPI document: 0.0.12
 * Contact: customersuccess@equisoft.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfSourceSchema = instanceOfSourceSchema;
exports.SourceSchemaFromJSON = SourceSchemaFromJSON;
exports.SourceSchemaFromJSONTyped = SourceSchemaFromJSONTyped;
exports.SourceSchemaToJSON = SourceSchemaToJSON;
exports.SourceSchemaToJSONTyped = SourceSchemaToJSONTyped;
/**
 * Check if a given object implements the SourceSchema interface.
 */
function instanceOfSourceSchema(value) {
    if (!('sourceKey' in value) || value['sourceKey'] === undefined)
        return false;
    if (!('displayNames' in value) || value['displayNames'] === undefined)
        return false;
    return true;
}
function SourceSchemaFromJSON(json) {
    return SourceSchemaFromJSONTyped(json, false);
}
function SourceSchemaFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'sourceKey': json['sourceKey'],
        'displayNames': json['displayNames'],
    };
}
function SourceSchemaToJSON(json) {
    return SourceSchemaToJSONTyped(json, false);
}
function SourceSchemaToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'sourceKey': value['sourceKey'],
        'displayNames': value['displayNames'],
    };
}
