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