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

40 lines
941 B
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.
*/
/**
* Enum TaskState.
* @export
*/
export const TaskState = {
Idle: 'Idle',
Cancelling: 'Cancelling',
Running: 'Running'
} as const;
export type TaskState = typeof TaskState[keyof typeof TaskState];
export function TaskStateFromJSON(json: any): TaskState {
return TaskStateFromJSONTyped(json, false);
}
export function TaskStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskState {
return json as TaskState;
}
export function TaskStateToJSON(value?: TaskState | null): any {
return value as any;
}