/* tslint:disable */
/* eslint-disable */
/**
 * Jellyfin API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 10.8.9
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { exists, mapValues } from '../runtime';
/**
 * The media update info path.
 * @export
 * @interface MediaUpdateInfoPathDto
 */
export interface MediaUpdateInfoPathDto {
    /**
     * Gets or sets media path.
     * @type {string}
     * @memberof MediaUpdateInfoPathDto
     */
    path?: string | null;
    /**
     * Gets or sets media update type.
     * Created, Modified, Deleted.
     * @type {string}
     * @memberof MediaUpdateInfoPathDto
     */
    updateType?: string | null;
}

/**
 * Check if a given object implements the MediaUpdateInfoPathDto interface.
 */
export function instanceOfMediaUpdateInfoPathDto(value: object): boolean {
    let isInstance = true;

    return isInstance;
}

export function MediaUpdateInfoPathDtoFromJSON(json: any): MediaUpdateInfoPathDto {
    return MediaUpdateInfoPathDtoFromJSONTyped(json, false);
}

export function MediaUpdateInfoPathDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MediaUpdateInfoPathDto {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'path': !exists(json, 'Path') ? undefined : json['Path'],
        'updateType': !exists(json, 'UpdateType') ? undefined : json['UpdateType'],
    };
}

export function MediaUpdateInfoPathDtoToJSON(value?: MediaUpdateInfoPathDto | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'Path': value.path,
        'UpdateType': value.updateType,
    };
}

