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

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

export function UpdateFacilityQualificationRateRequestFromJSON(json: any): UpdateFacilityQualificationRateRequest {
    return UpdateFacilityQualificationRateRequestFromJSONTyped(json, false);
}

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

export function UpdateFacilityQualificationRateRequestToJSON(json: any): UpdateFacilityQualificationRateRequest {
    return UpdateFacilityQualificationRateRequestToJSONTyped(json, false);
}

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

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

