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

44 lines
1022 B
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.
*/
/**
*
* @export
*/
export const MediaProtocol = {
File: 'File',
Http: 'Http',
Rtmp: 'Rtmp',
Rtsp: 'Rtsp',
Udp: 'Udp',
Rtp: 'Rtp',
Ftp: 'Ftp'
} as const;
export type MediaProtocol = typeof MediaProtocol[keyof typeof MediaProtocol];
export function MediaProtocolFromJSON(json: any): MediaProtocol {
return MediaProtocolFromJSONTyped(json, false);
}
export function MediaProtocolFromJSONTyped(json: any, ignoreDiscriminator: boolean): MediaProtocol {
return json as MediaProtocol;
}
export function MediaProtocolToJSON(value?: MediaProtocol | null): any {
return value as any;
}