/* tslint:disable */
/* eslint-disable */
/**
 * OmsorgCore.Api
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0
 * 
 *
 * 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 UpdateEmployeeFacilityDistanceRequest
 */
export interface UpdateEmployeeFacilityDistanceRequest {
    /**
     * 
     * @type {number}
     * @memberof UpdateEmployeeFacilityDistanceRequest
     */
    distanceKm?: number;
}

/**
 * Check if a given object implements the UpdateEmployeeFacilityDistanceRequest interface.
 */
export function instanceOfUpdateEmployeeFacilityDistanceRequest(value: object): value is UpdateEmployeeFacilityDistanceRequest {
    return true;
}

export function UpdateEmployeeFacilityDistanceRequestFromJSON(json: any): UpdateEmployeeFacilityDistanceRequest {
    return UpdateEmployeeFacilityDistanceRequestFromJSONTyped(json, false);
}

export function UpdateEmployeeFacilityDistanceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateEmployeeFacilityDistanceRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'distanceKm': json['distanceKm'] == null ? undefined : json['distanceKm'],
    };
}

export function UpdateEmployeeFacilityDistanceRequestToJSON(json: any): UpdateEmployeeFacilityDistanceRequest {
    return UpdateEmployeeFacilityDistanceRequestToJSONTyped(json, false);
}

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

    return {
        
        'distanceKm': value['distanceKm'],
    };
}

