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

66 lines
1.7 KiB
TypeScript
Raw Permalink Normal View History

2023-05-04 23:34:53 +02:00
/* 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 SyncPlaySetIgnoreWaitRequest
*/
export interface SyncPlaySetIgnoreWaitRequest {
/**
* Gets or sets a value indicating whether the client should be ignored.
* @type {boolean}
* @memberof SyncPlaySetIgnoreWaitRequest
*/
ignoreWait?: boolean;
}
/**
* Check if a given object implements the SyncPlaySetIgnoreWaitRequest interface.
*/
export function instanceOfSyncPlaySetIgnoreWaitRequest(value: object): boolean {
let isInstance = true;
return isInstance;
}
export function SyncPlaySetIgnoreWaitRequestFromJSON(json: any): SyncPlaySetIgnoreWaitRequest {
return SyncPlaySetIgnoreWaitRequestFromJSONTyped(json, false);
}
export function SyncPlaySetIgnoreWaitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncPlaySetIgnoreWaitRequest {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'ignoreWait': !exists(json, 'IgnoreWait') ? undefined : json['IgnoreWait'],
};
}
export function SyncPlaySetIgnoreWaitRequestToJSON(value?: SyncPlaySetIgnoreWaitRequest | null): any {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'IgnoreWait': value.ignoreWait,
};
}