74 lines
2.0 KiB
TypeScript
74 lines
2.0 KiB
TypeScript
/* 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 library folder path information.
|
|
* @export
|
|
* @interface UpdateMediaPathRequestDtoPathInfo
|
|
*/
|
|
export interface UpdateMediaPathRequestDtoPathInfo {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof UpdateMediaPathRequestDtoPathInfo
|
|
*/
|
|
path?: string;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof UpdateMediaPathRequestDtoPathInfo
|
|
*/
|
|
networkPath?: string | null;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the UpdateMediaPathRequestDtoPathInfo interface.
|
|
*/
|
|
export function instanceOfUpdateMediaPathRequestDtoPathInfo(value: object): boolean {
|
|
let isInstance = true;
|
|
|
|
return isInstance;
|
|
}
|
|
|
|
export function UpdateMediaPathRequestDtoPathInfoFromJSON(json: any): UpdateMediaPathRequestDtoPathInfo {
|
|
return UpdateMediaPathRequestDtoPathInfoFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function UpdateMediaPathRequestDtoPathInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateMediaPathRequestDtoPathInfo {
|
|
if ((json === undefined) || (json === null)) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'path': !exists(json, 'Path') ? undefined : json['Path'],
|
|
'networkPath': !exists(json, 'NetworkPath') ? undefined : json['NetworkPath'],
|
|
};
|
|
}
|
|
|
|
export function UpdateMediaPathRequestDtoPathInfoToJSON(value?: UpdateMediaPathRequestDtoPathInfo | null): any {
|
|
if (value === undefined) {
|
|
return undefined;
|
|
}
|
|
if (value === null) {
|
|
return null;
|
|
}
|
|
return {
|
|
|
|
'Path': value.path,
|
|
'NetworkPath': value.networkPath,
|
|
};
|
|
}
|
|
|