/* 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 UpdatePayloadSourceAuthenticationSchema
 */
export interface UpdatePayloadSourceAuthenticationSchema {
    /**
     * 
     * @type {string}
     * @memberof UpdatePayloadSourceAuthenticationSchema
     */
    modifiedBy: string;
    /**
     * 
     * @type {{ [key: string]: object; }}
     * @memberof UpdatePayloadSourceAuthenticationSchema
     */
    securedData: { [key: string]: object; };
    /**
     * 
     * @type {{ [key: string]: object; }}
     * @memberof UpdatePayloadSourceAuthenticationSchema
     */
    plainData: { [key: string]: object; };
}

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

export function UpdatePayloadSourceAuthenticationSchemaFromJSON(json: any): UpdatePayloadSourceAuthenticationSchema {
    return UpdatePayloadSourceAuthenticationSchemaFromJSONTyped(json, false);
}

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

export function UpdatePayloadSourceAuthenticationSchemaToJSON(json: any): UpdatePayloadSourceAuthenticationSchema {
    return UpdatePayloadSourceAuthenticationSchemaToJSONTyped(json, false);
}

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

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

