/* 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.
 */
/**
 * Check if a given object implements the SourceSchema interface.
 */
export function instanceOfSourceSchema(value) {
    if (!('sourceKey' in value) || value['sourceKey'] === undefined)
        return false;
    if (!('displayNames' in value) || value['displayNames'] === undefined)
        return false;
    return true;
}
export function SourceSchemaFromJSON(json) {
    return SourceSchemaFromJSONTyped(json, false);
}
export function SourceSchemaFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'sourceKey': json['sourceKey'],
        'displayNames': json['displayNames'],
    };
}
export function SourceSchemaToJSON(json) {
    return SourceSchemaToJSONTyped(json, false);
}
export function SourceSchemaToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'sourceKey': value['sourceKey'],
        'displayNames': value['displayNames'],
    };
}
