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

42 lines
1.1 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.
*/
/**
* An enum representing a subtitle playback mode.
* @export
*/
export const SubtitlePlaybackMode = {
Default: 'Default',
Always: 'Always',
OnlyForced: 'OnlyForced',
None: 'None',
Smart: 'Smart'
} as const;
export type SubtitlePlaybackMode = typeof SubtitlePlaybackMode[keyof typeof SubtitlePlaybackMode];
export function SubtitlePlaybackModeFromJSON(json: any): SubtitlePlaybackMode {
return SubtitlePlaybackModeFromJSONTyped(json, false);
}
export function SubtitlePlaybackModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubtitlePlaybackMode {
return json as SubtitlePlaybackMode;
}
export function SubtitlePlaybackModeToJSON(value?: SubtitlePlaybackMode | null): any {
return value as any;
}