/* 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'; import type { AddVirtualFolderDtoLibraryOptions } from './AddVirtualFolderDtoLibraryOptions'; import { AddVirtualFolderDtoLibraryOptionsFromJSON, AddVirtualFolderDtoLibraryOptionsFromJSONTyped, AddVirtualFolderDtoLibraryOptionsToJSON, } from './AddVirtualFolderDtoLibraryOptions'; /** * Add virtual folder dto. * @export * @interface AddVirtualFolderRequest */ export interface AddVirtualFolderRequest { /** * * @type {AddVirtualFolderDtoLibraryOptions} * @memberof AddVirtualFolderRequest */ libraryOptions?: AddVirtualFolderDtoLibraryOptions | null; } /** * Check if a given object implements the AddVirtualFolderRequest interface. */ export function instanceOfAddVirtualFolderRequest(value: object): boolean { let isInstance = true; return isInstance; } export function AddVirtualFolderRequestFromJSON(json: any): AddVirtualFolderRequest { return AddVirtualFolderRequestFromJSONTyped(json, false); } export function AddVirtualFolderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddVirtualFolderRequest { if ((json === undefined) || (json === null)) { return json; } return { 'libraryOptions': !exists(json, 'LibraryOptions') ? undefined : AddVirtualFolderDtoLibraryOptionsFromJSON(json['LibraryOptions']), }; } export function AddVirtualFolderRequestToJSON(value?: AddVirtualFolderRequest | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'LibraryOptions': AddVirtualFolderDtoLibraryOptionsToJSON(value.libraryOptions), }; }