/* 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';
/**
 * Gets or sets the path info.
 * @export
 * @interface MediaPathDtoPathInfo
 */
export interface MediaPathDtoPathInfo {
    /**
     * 
     * @type {string}
     * @memberof MediaPathDtoPathInfo
     */
    path?: string;
    /**
     * 
     * @type {string}
     * @memberof MediaPathDtoPathInfo
     */
    networkPath?: string | null;
}

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

    return isInstance;
}

export function MediaPathDtoPathInfoFromJSON(json: any): MediaPathDtoPathInfo {
    return MediaPathDtoPathInfoFromJSONTyped(json, false);
}

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

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

