/* 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 ValueListTransitionRequest
 */
export interface ValueListTransitionRequest {
    /**
     * 
     * @type {string}
     * @memberof ValueListTransitionRequest
     */
    fromItemId?: string;
    /**
     * 
     * @type {string}
     * @memberof ValueListTransitionRequest
     */
    toItemId?: string;
}

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

export function ValueListTransitionRequestFromJSON(json: any): ValueListTransitionRequest {
    return ValueListTransitionRequestFromJSONTyped(json, false);
}

export function ValueListTransitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValueListTransitionRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'fromItemId': json['fromItemId'] == null ? undefined : json['fromItemId'],
        'toItemId': json['toItemId'] == null ? undefined : json['toItemId'],
    };
}

export function ValueListTransitionRequestToJSON(json: any): ValueListTransitionRequest {
    return ValueListTransitionRequestToJSONTyped(json, false);
}

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

    return {
        
        'fromItemId': value['fromItemId'],
        'toItemId': value['toItemId'],
    };
}

