/* 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 FacilityQualificationRateResponse
 */
export interface FacilityQualificationRateResponse {
    /**
     * 
     * @type {string}
     * @memberof FacilityQualificationRateResponse
     */
    id?: string;
    /**
     * 
     * @type {string}
     * @memberof FacilityQualificationRateResponse
     */
    facilityId?: string;
    /**
     * 
     * @type {string}
     * @memberof FacilityQualificationRateResponse
     */
    qualification?: string | null;
    /**
     * 
     * @type {number}
     * @memberof FacilityQualificationRateResponse
     */
    rate?: number;
}

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

export function FacilityQualificationRateResponseFromJSON(json: any): FacilityQualificationRateResponse {
    return FacilityQualificationRateResponseFromJSONTyped(json, false);
}

export function FacilityQualificationRateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityQualificationRateResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'id': json['id'] == null ? undefined : json['id'],
        'facilityId': json['facilityId'] == null ? undefined : json['facilityId'],
        'qualification': json['qualification'] == null ? undefined : json['qualification'],
        'rate': json['rate'] == null ? undefined : json['rate'],
    };
}

export function FacilityQualificationRateResponseToJSON(json: any): FacilityQualificationRateResponse {
    return FacilityQualificationRateResponseToJSONTyped(json, false);
}

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

    return {
        
        'id': value['id'],
        'facilityId': value['facilityId'],
        'qualification': value['qualification'],
        'rate': value['rate'],
    };
}

