/* 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 ValueListResponse
 */
export interface ValueListResponse {
    /**
     * 
     * @type {string}
     * @memberof ValueListResponse
     */
    id?: string;
    /**
     * 
     * @type {string}
     * @memberof ValueListResponse
     */
    key?: string | null;
    /**
     * 
     * @type {string}
     * @memberof ValueListResponse
     */
    displayName?: string | null;
}

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

export function ValueListResponseFromJSON(json: any): ValueListResponse {
    return ValueListResponseFromJSONTyped(json, false);
}

export function ValueListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValueListResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'id': json['id'] == null ? undefined : json['id'],
        'key': json['key'] == null ? undefined : json['key'],
        'displayName': json['displayName'] == null ? undefined : json['displayName'],
    };
}

export function ValueListResponseToJSON(json: any): ValueListResponse {
    return ValueListResponseToJSONTyped(json, false);
}

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

    return {
        
        'id': value['id'],
        'key': value['key'],
        'displayName': value['displayName'],
    };
}

