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

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

export function CreateFacilityQualificationRateRequestFromJSON(json: any): CreateFacilityQualificationRateRequest {
    return CreateFacilityQualificationRateRequestFromJSONTyped(json, false);
}

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

export function CreateFacilityQualificationRateRequestToJSON(json: any): CreateFacilityQualificationRateRequest {
    return CreateFacilityQualificationRateRequestToJSONTyped(json, false);
}

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

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

