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

42 lines
1.2 KiB
TypeScript
Raw 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.
*/
/**
* Delivery method to use during playback of a specific subtitle format.
* @export
*/
export const SubtitleDeliveryMethod = {
Encode: 'Encode',
Embed: 'Embed',
External: 'External',
Hls: 'Hls',
Drop: 'Drop'
} as const;
export type SubtitleDeliveryMethod = typeof SubtitleDeliveryMethod[keyof typeof SubtitleDeliveryMethod];
export function SubtitleDeliveryMethodFromJSON(json: any): SubtitleDeliveryMethod {
return SubtitleDeliveryMethodFromJSONTyped(json, false);
}
export function SubtitleDeliveryMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubtitleDeliveryMethod {
return json as SubtitleDeliveryMethod;
}
export function SubtitleDeliveryMethodToJSON(value?: SubtitleDeliveryMethod | null): any {
return value as any;
}