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

40 lines
1.0 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.
*/
/**
*
* @export
*/
export const PlaybackErrorCode = {
NotAllowed: 'NotAllowed',
NoCompatibleStream: 'NoCompatibleStream',
RateLimitExceeded: 'RateLimitExceeded'
} as const;
export type PlaybackErrorCode = typeof PlaybackErrorCode[keyof typeof PlaybackErrorCode];
export function PlaybackErrorCodeFromJSON(json: any): PlaybackErrorCode {
return PlaybackErrorCodeFromJSONTyped(json, false);
}
export function PlaybackErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlaybackErrorCode {
return json as PlaybackErrorCode;
}
export function PlaybackErrorCodeToJSON(value?: PlaybackErrorCode | null): any {
return value as any;
}