"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.instanceOfIncomeSchema = instanceOfIncomeSchema;
exports.IncomeSchemaFromJSON = IncomeSchemaFromJSON;
exports.IncomeSchemaFromJSONTyped = IncomeSchemaFromJSONTyped;
exports.IncomeSchemaToJSON = IncomeSchemaToJSON;
exports.IncomeSchemaToJSONTyped = IncomeSchemaToJSONTyped;
/**
 * Check if a given object implements the IncomeSchema interface.
 */
function instanceOfIncomeSchema(value) {
    return true;
}
function IncomeSchemaFromJSON(json) {
    return IncomeSchemaFromJSONTyped(json, false);
}
function IncomeSchemaFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'currency': json['currency'] == null ? undefined : json['currency'],
        'grossAnnualSalary': json['grossAnnualSalary'] == null ? undefined : json['grossAnnualSalary'],
    };
}
function IncomeSchemaToJSON(json) {
    return IncomeSchemaToJSONTyped(json, false);
}
function IncomeSchemaToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'currency': value['currency'],
        'grossAnnualSalary': value['grossAnnualSalary'],
    };
}
