/* 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 { GroupShuffleMode } from './GroupShuffleMode'; import { GroupShuffleModeFromJSON, GroupShuffleModeFromJSONTyped, GroupShuffleModeToJSON, } from './GroupShuffleMode'; /** * Class SetShuffleModeRequestDto. * @export * @interface SyncPlaySetShuffleModeRequest */ export interface SyncPlaySetShuffleModeRequest { /** * * @type {GroupShuffleMode} * @memberof SyncPlaySetShuffleModeRequest */ mode?: GroupShuffleMode; } /** * Check if a given object implements the SyncPlaySetShuffleModeRequest interface. */ export function instanceOfSyncPlaySetShuffleModeRequest(value: object): boolean { let isInstance = true; return isInstance; } export function SyncPlaySetShuffleModeRequestFromJSON(json: any): SyncPlaySetShuffleModeRequest { return SyncPlaySetShuffleModeRequestFromJSONTyped(json, false); } export function SyncPlaySetShuffleModeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncPlaySetShuffleModeRequest { if ((json === undefined) || (json === null)) { return json; } return { 'mode': !exists(json, 'Mode') ? undefined : GroupShuffleModeFromJSON(json['Mode']), }; } export function SyncPlaySetShuffleModeRequestToJSON(value?: SyncPlaySetShuffleModeRequest | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'Mode': GroupShuffleModeToJSON(value.mode), }; }