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

41 lines
1.1 KiB
TypeScript

/* 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 TaskCompletionStatus.
* @export
*/
export const TaskCompletionStatus = {
Completed: 'Completed',
Failed: 'Failed',
Cancelled: 'Cancelled',
Aborted: 'Aborted'
} as const;
export type TaskCompletionStatus = typeof TaskCompletionStatus[keyof typeof TaskCompletionStatus];
export function TaskCompletionStatusFromJSON(json: any): TaskCompletionStatus {
return TaskCompletionStatusFromJSONTyped(json, false);
}
export function TaskCompletionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskCompletionStatus {
return json as TaskCompletionStatus;
}
export function TaskCompletionStatusToJSON(value?: TaskCompletionStatus | null): any {
return value as any;
}