/* 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.
 */

import { mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface UpdatePayloadUserSourceAuthenticationSchema
 */
export interface UpdatePayloadUserSourceAuthenticationSchema {
    /**
     * 
     * @type {{ [key: string]: object; }}
     * @memberof UpdatePayloadUserSourceAuthenticationSchema
     */
    securedData: { [key: string]: object; };
    /**
     * 
     * @type {{ [key: string]: object; }}
     * @memberof UpdatePayloadUserSourceAuthenticationSchema
     */
    plainData: { [key: string]: object; };
}

/**
 * Check if a given object implements the UpdatePayloadUserSourceAuthenticationSchema interface.
 */
export function instanceOfUpdatePayloadUserSourceAuthenticationSchema(value: object): value is UpdatePayloadUserSourceAuthenticationSchema {
    if (!('securedData' in value) || value['securedData'] === undefined) return false;
    if (!('plainData' in value) || value['plainData'] === undefined) return false;
    return true;
}

export function UpdatePayloadUserSourceAuthenticationSchemaFromJSON(json: any): UpdatePayloadUserSourceAuthenticationSchema {
    return UpdatePayloadUserSourceAuthenticationSchemaFromJSONTyped(json, false);
}

export function UpdatePayloadUserSourceAuthenticationSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePayloadUserSourceAuthenticationSchema {
    if (json == null) {
        return json;
    }
    return {
        
        'securedData': json['securedData'],
        'plainData': json['plainData'],
    };
}

export function UpdatePayloadUserSourceAuthenticationSchemaToJSON(json: any): UpdatePayloadUserSourceAuthenticationSchema {
    return UpdatePayloadUserSourceAuthenticationSchemaToJSONTyped(json, false);
}

export function UpdatePayloadUserSourceAuthenticationSchemaToJSONTyped(value?: UpdatePayloadUserSourceAuthenticationSchema | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'securedData': value['securedData'],
        'plainData': value['plainData'],
    };
}

