/* 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';
/**
 * 
 * @export
 * @interface MediaPathInfo
 */
export interface MediaPathInfo {
    /**
     * 
     * @type {string}
     * @memberof MediaPathInfo
     */
    path?: string;
    /**
     * 
     * @type {string}
     * @memberof MediaPathInfo
     */
    networkPath?: string | null;
}

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

    return isInstance;
}

export function MediaPathInfoFromJSON(json: any): MediaPathInfo {
    return MediaPathInfoFromJSONTyped(json, false);
}

export function MediaPathInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MediaPathInfo {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'path': !exists(json, 'Path') ? undefined : json['Path'],
        'networkPath': !exists(json, 'NetworkPath') ? undefined : json['NetworkPath'],
    };
}

export function MediaPathInfoToJSON(value?: MediaPathInfo | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'Path': value.path,
        'NetworkPath': value.networkPath,
    };
}

