"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.instanceOfUpdatePayloadUserSourceAuthenticationSchema = instanceOfUpdatePayloadUserSourceAuthenticationSchema;
exports.UpdatePayloadUserSourceAuthenticationSchemaFromJSON = UpdatePayloadUserSourceAuthenticationSchemaFromJSON;
exports.UpdatePayloadUserSourceAuthenticationSchemaFromJSONTyped = UpdatePayloadUserSourceAuthenticationSchemaFromJSONTyped;
exports.UpdatePayloadUserSourceAuthenticationSchemaToJSON = UpdatePayloadUserSourceAuthenticationSchemaToJSON;
exports.UpdatePayloadUserSourceAuthenticationSchemaToJSONTyped = UpdatePayloadUserSourceAuthenticationSchemaToJSONTyped;
/**
 * Check if a given object implements the UpdatePayloadUserSourceAuthenticationSchema interface.
 */
function instanceOfUpdatePayloadUserSourceAuthenticationSchema(value) {
    if (!('securedData' in value) || value['securedData'] === undefined)
        return false;
    if (!('plainData' in value) || value['plainData'] === undefined)
        return false;
    return true;
}
function UpdatePayloadUserSourceAuthenticationSchemaFromJSON(json) {
    return UpdatePayloadUserSourceAuthenticationSchemaFromJSONTyped(json, false);
}
function UpdatePayloadUserSourceAuthenticationSchemaFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'securedData': json['securedData'],
        'plainData': json['plainData'],
    };
}
function UpdatePayloadUserSourceAuthenticationSchemaToJSON(json) {
    return UpdatePayloadUserSourceAuthenticationSchemaToJSONTyped(json, false);
}
function UpdatePayloadUserSourceAuthenticationSchemaToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'securedData': value['securedData'],
        'plainData': value['plainData'],
    };
}
