/* 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 UpdateMyFacilityDistanceRequest
 */
export interface UpdateMyFacilityDistanceRequest {
    /**
     * 
     * @type {number}
     * @memberof UpdateMyFacilityDistanceRequest
     */
    distanceKm?: number;
}

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

export function UpdateMyFacilityDistanceRequestFromJSON(json: any): UpdateMyFacilityDistanceRequest {
    return UpdateMyFacilityDistanceRequestFromJSONTyped(json, false);
}

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

export function UpdateMyFacilityDistanceRequestToJSON(json: any): UpdateMyFacilityDistanceRequest {
    return UpdateMyFacilityDistanceRequestToJSONTyped(json, false);
}

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

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

