"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.instanceOfListUserSourceAuthenticationResultSchema = instanceOfListUserSourceAuthenticationResultSchema;
exports.ListUserSourceAuthenticationResultSchemaFromJSON = ListUserSourceAuthenticationResultSchemaFromJSON;
exports.ListUserSourceAuthenticationResultSchemaFromJSONTyped = ListUserSourceAuthenticationResultSchemaFromJSONTyped;
exports.ListUserSourceAuthenticationResultSchemaToJSON = ListUserSourceAuthenticationResultSchemaToJSON;
exports.ListUserSourceAuthenticationResultSchemaToJSONTyped = ListUserSourceAuthenticationResultSchemaToJSONTyped;
const UserSourceAuthenticationResultSchema_1 = require("./UserSourceAuthenticationResultSchema");
/**
 * Check if a given object implements the ListUserSourceAuthenticationResultSchema interface.
 */
function instanceOfListUserSourceAuthenticationResultSchema(value) {
    if (!('sources' in value) || value['sources'] === undefined)
        return false;
    return true;
}
function ListUserSourceAuthenticationResultSchemaFromJSON(json) {
    return ListUserSourceAuthenticationResultSchemaFromJSONTyped(json, false);
}
function ListUserSourceAuthenticationResultSchemaFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'sources': (json['sources'].map(UserSourceAuthenticationResultSchema_1.UserSourceAuthenticationResultSchemaFromJSON)),
    };
}
function ListUserSourceAuthenticationResultSchemaToJSON(json) {
    return ListUserSourceAuthenticationResultSchemaToJSONTyped(json, false);
}
function ListUserSourceAuthenticationResultSchemaToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'sources': (value['sources'].map(UserSourceAuthenticationResultSchema_1.UserSourceAuthenticationResultSchemaToJSON)),
    };
}
