118 lines
2.8 KiB
TypeScript
118 lines
2.8 KiB
TypeScript
|
/**
|
||
|
* 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.
|
||
|
*/
|
||
|
|
||
|
import { RequestFile } from './models';
|
||
|
import { TaskInfoLastExecutionResult } from './taskInfoLastExecutionResult';
|
||
|
import { TaskState } from './taskState';
|
||
|
import { TaskTriggerInfo } from './taskTriggerInfo';
|
||
|
|
||
|
/**
|
||
|
* Class TaskInfo.
|
||
|
*/
|
||
|
export class TaskInfo {
|
||
|
/**
|
||
|
* Gets or sets the name.
|
||
|
*/
|
||
|
'name'?: string | null;
|
||
|
'state'?: TaskState;
|
||
|
/**
|
||
|
* Gets or sets the progress.
|
||
|
*/
|
||
|
'currentProgressPercentage'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the id.
|
||
|
*/
|
||
|
'id'?: string | null;
|
||
|
'lastExecutionResult'?: TaskInfoLastExecutionResult | null;
|
||
|
/**
|
||
|
* Gets or sets the triggers.
|
||
|
*/
|
||
|
'triggers'?: Array<TaskTriggerInfo> | null;
|
||
|
/**
|
||
|
* Gets or sets the description.
|
||
|
*/
|
||
|
'description'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the category.
|
||
|
*/
|
||
|
'category'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether this instance is hidden.
|
||
|
*/
|
||
|
'isHidden'?: boolean;
|
||
|
/**
|
||
|
* Gets or sets the key.
|
||
|
*/
|
||
|
'key'?: string | null;
|
||
|
|
||
|
static discriminator: string | undefined = undefined;
|
||
|
|
||
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
||
|
{
|
||
|
"name": "name",
|
||
|
"baseName": "Name",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "state",
|
||
|
"baseName": "State",
|
||
|
"type": "TaskState"
|
||
|
},
|
||
|
{
|
||
|
"name": "currentProgressPercentage",
|
||
|
"baseName": "CurrentProgressPercentage",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "id",
|
||
|
"baseName": "Id",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "lastExecutionResult",
|
||
|
"baseName": "LastExecutionResult",
|
||
|
"type": "TaskInfoLastExecutionResult"
|
||
|
},
|
||
|
{
|
||
|
"name": "triggers",
|
||
|
"baseName": "Triggers",
|
||
|
"type": "Array<TaskTriggerInfo>"
|
||
|
},
|
||
|
{
|
||
|
"name": "description",
|
||
|
"baseName": "Description",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "category",
|
||
|
"baseName": "Category",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "isHidden",
|
||
|
"baseName": "IsHidden",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "key",
|
||
|
"baseName": "Key",
|
||
|
"type": "string"
|
||
|
} ];
|
||
|
|
||
|
static getAttributeTypeMap() {
|
||
|
return TaskInfo.attributeTypeMap;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export namespace TaskInfo {
|
||
|
}
|