@jellyfin/sdk
Version:
A TypeScript SDK for Jellyfin.
81 lines (80 loc) • 1.92 kB
TypeScript
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import type { TaskResult } from './task-result';
import type { TaskState } from './task-state';
import type { TaskTriggerInfo } from './task-trigger-info';
/**
* Class TaskInfo.
* @export
* @interface TaskInfo
*/
export interface TaskInfo {
/**
* Gets or sets the name.
* @type {string}
* @memberof TaskInfo
*/
'Name'?: string | null;
/**
*
* @type {TaskState}
* @memberof TaskInfo
*/
'State'?: TaskState;
/**
* Gets or sets the progress.
* @type {number}
* @memberof TaskInfo
*/
'CurrentProgressPercentage'?: number | null;
/**
* Gets or sets the id.
* @type {string}
* @memberof TaskInfo
*/
'Id'?: string | null;
/**
*
* @type {TaskResult}
* @memberof TaskInfo
*/
'LastExecutionResult'?: TaskResult;
/**
* Gets or sets the triggers.
* @type {Array<TaskTriggerInfo>}
* @memberof TaskInfo
*/
'Triggers'?: Array<TaskTriggerInfo> | null;
/**
* Gets or sets the description.
* @type {string}
* @memberof TaskInfo
*/
'Description'?: string | null;
/**
* Gets or sets the category.
* @type {string}
* @memberof TaskInfo
*/
'Category'?: string | null;
/**
* Gets or sets a value indicating whether this instance is hidden.
* @type {boolean}
* @memberof TaskInfo
*/
'IsHidden'?: boolean;
/**
* Gets or sets the key.
* @type {string}
* @memberof TaskInfo
*/
'Key'?: string | null;
}