jellyfin-discord-bot/server/jellyfin/models/IgnoreWaitRequestDto.ts

66 lines
1.6 KiB
TypeScript

/* 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 IgnoreWaitRequestDto.
* @export
* @interface IgnoreWaitRequestDto
*/
export interface IgnoreWaitRequestDto {
/**
* Gets or sets a value indicating whether the client should be ignored.
* @type {boolean}
* @memberof IgnoreWaitRequestDto
*/
ignoreWait?: boolean;
}
/**
* Check if a given object implements the IgnoreWaitRequestDto interface.
*/
export function instanceOfIgnoreWaitRequestDto(value: object): boolean {
let isInstance = true;
return isInstance;
}
export function IgnoreWaitRequestDtoFromJSON(json: any): IgnoreWaitRequestDto {
return IgnoreWaitRequestDtoFromJSONTyped(json, false);
}
export function IgnoreWaitRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IgnoreWaitRequestDto {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'ignoreWait': !exists(json, 'IgnoreWait') ? undefined : json['IgnoreWait'],
};
}
export function IgnoreWaitRequestDtoToJSON(value?: IgnoreWaitRequestDto | null): any {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'IgnoreWait': value.ignoreWait,
};
}