/* 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 { NotificationOption } from './NotificationOption'; import { NotificationOptionFromJSON, NotificationOptionFromJSONTyped, NotificationOptionToJSON, } from './NotificationOption'; /** * * @export * @interface NotificationOptions */ export interface NotificationOptions { /** * * @type {Array} * @memberof NotificationOptions */ options?: Array | null; } /** * Check if a given object implements the NotificationOptions interface. */ export function instanceOfNotificationOptions(value: object): boolean { let isInstance = true; return isInstance; } export function NotificationOptionsFromJSON(json: any): NotificationOptions { return NotificationOptionsFromJSONTyped(json, false); } export function NotificationOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationOptions { if ((json === undefined) || (json === null)) { return json; } return { 'options': !exists(json, 'Options') ? undefined : (json['Options'] === null ? null : (json['Options'] as Array).map(NotificationOptionFromJSON)), }; } export function NotificationOptionsToJSON(value?: NotificationOptions | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'Options': value.options === undefined ? undefined : (value.options === null ? null : (value.options as Array).map(NotificationOptionToJSON)), }; }