/* 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'; /** * Class MetadataOptions. * @export * @interface MetadataOptions */ export interface MetadataOptions { /** * * @type {string} * @memberof MetadataOptions */ itemType?: string | null; /** * * @type {Array} * @memberof MetadataOptions */ disabledMetadataSavers?: Array | null; /** * * @type {Array} * @memberof MetadataOptions */ localMetadataReaderOrder?: Array | null; /** * * @type {Array} * @memberof MetadataOptions */ disabledMetadataFetchers?: Array | null; /** * * @type {Array} * @memberof MetadataOptions */ metadataFetcherOrder?: Array | null; /** * * @type {Array} * @memberof MetadataOptions */ disabledImageFetchers?: Array | null; /** * * @type {Array} * @memberof MetadataOptions */ imageFetcherOrder?: Array | null; } /** * Check if a given object implements the MetadataOptions interface. */ export function instanceOfMetadataOptions(value: object): boolean { let isInstance = true; return isInstance; } export function MetadataOptionsFromJSON(json: any): MetadataOptions { return MetadataOptionsFromJSONTyped(json, false); } export function MetadataOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetadataOptions { if ((json === undefined) || (json === null)) { return json; } return { 'itemType': !exists(json, 'ItemType') ? undefined : json['ItemType'], 'disabledMetadataSavers': !exists(json, 'DisabledMetadataSavers') ? undefined : json['DisabledMetadataSavers'], 'localMetadataReaderOrder': !exists(json, 'LocalMetadataReaderOrder') ? undefined : json['LocalMetadataReaderOrder'], 'disabledMetadataFetchers': !exists(json, 'DisabledMetadataFetchers') ? undefined : json['DisabledMetadataFetchers'], 'metadataFetcherOrder': !exists(json, 'MetadataFetcherOrder') ? undefined : json['MetadataFetcherOrder'], 'disabledImageFetchers': !exists(json, 'DisabledImageFetchers') ? undefined : json['DisabledImageFetchers'], 'imageFetcherOrder': !exists(json, 'ImageFetcherOrder') ? undefined : json['ImageFetcherOrder'], }; } export function MetadataOptionsToJSON(value?: MetadataOptions | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'ItemType': value.itemType, 'DisabledMetadataSavers': value.disabledMetadataSavers, 'LocalMetadataReaderOrder': value.localMetadataReaderOrder, 'DisabledMetadataFetchers': value.disabledMetadataFetchers, 'MetadataFetcherOrder': value.metadataFetcherOrder, 'DisabledImageFetchers': value.disabledImageFetchers, 'ImageFetcherOrder': value.imageFetcherOrder, }; }