/* 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<NotificationOption>}
     * @memberof NotificationOptions
     */
    options?: Array<NotificationOption> | 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<any>).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<any>).map(NotificationOptionToJSON)),
    };
}

