/* 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 ValueListUsageResponse
 */
export interface ValueListUsageResponse {
    /**
     * 
     * @type {string}
     * @memberof ValueListUsageResponse
     */
    entityType?: string | null;
    /**
     * 
     * @type {string}
     * @memberof ValueListUsageResponse
     */
    entityId?: string;
    /**
     * 
     * @type {string}
     * @memberof ValueListUsageResponse
     */
    displayLabel?: string | null;
}

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

export function ValueListUsageResponseFromJSON(json: any): ValueListUsageResponse {
    return ValueListUsageResponseFromJSONTyped(json, false);
}

export function ValueListUsageResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValueListUsageResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'entityType': json['entityType'] == null ? undefined : json['entityType'],
        'entityId': json['entityId'] == null ? undefined : json['entityId'],
        'displayLabel': json['displayLabel'] == null ? undefined : json['displayLabel'],
    };
}

export function ValueListUsageResponseToJSON(json: any): ValueListUsageResponse {
    return ValueListUsageResponseToJSONTyped(json, false);
}

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

    return {
        
        'entityType': value['entityType'],
        'entityId': value['entityId'],
        'displayLabel': value['displayLabel'],
    };
}

