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

40 lines
958 B
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.
*/
/**
*
* @export
*/
export const PlayMethod = {
Transcode: 'Transcode',
DirectStream: 'DirectStream',
DirectPlay: 'DirectPlay'
} as const;
export type PlayMethod = typeof PlayMethod[keyof typeof PlayMethod];
export function PlayMethodFromJSON(json: any): PlayMethod {
return PlayMethodFromJSONTyped(json, false);
}
export function PlayMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlayMethod {
return json as PlayMethod;
}
export function PlayMethodToJSON(value?: PlayMethod | null): any {
return value as any;
}