/* 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 LocalizationOption */ export interface LocalizationOption { /** * * @type {string} * @memberof LocalizationOption */ name?: string | null; /** * * @type {string} * @memberof LocalizationOption */ value?: string | null; } /** * Check if a given object implements the LocalizationOption interface. */ export function instanceOfLocalizationOption(value: object): boolean { let isInstance = true; return isInstance; } export function LocalizationOptionFromJSON(json: any): LocalizationOption { return LocalizationOptionFromJSONTyped(json, false); } export function LocalizationOptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocalizationOption { if ((json === undefined) || (json === null)) { return json; } return { 'name': !exists(json, 'Name') ? undefined : json['Name'], 'value': !exists(json, 'Value') ? undefined : json['Value'], }; } export function LocalizationOptionToJSON(value?: LocalizationOption | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'Name': value.name, 'Value': value.value, }; }