jellyfin-discord-bot/jellyfin/model/taskResult.ts

101 lines
2.3 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 { TaskCompletionStatus } from './taskCompletionStatus';
/**
* Class TaskExecutionInfo.
*/
export class TaskResult {
/**
* Gets or sets the start time UTC.
*/
'startTimeUtc'?: Date;
/**
* Gets or sets the end time UTC.
*/
'endTimeUtc'?: Date;
'status'?: TaskCompletionStatus;
/**
* Gets or sets the name.
*/
'name'?: string | null;
/**
* Gets or sets the key.
*/
'key'?: string | null;
/**
* Gets or sets the id.
*/
'id'?: string | null;
/**
* Gets or sets the error message.
*/
'errorMessage'?: string | null;
/**
* Gets or sets the long error message.
*/
'longErrorMessage'?: string | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "startTimeUtc",
"baseName": "StartTimeUtc",
"type": "Date"
},
{
"name": "endTimeUtc",
"baseName": "EndTimeUtc",
"type": "Date"
},
{
"name": "status",
"baseName": "Status",
"type": "TaskCompletionStatus"
},
{
"name": "name",
"baseName": "Name",
"type": "string"
},
{
"name": "key",
"baseName": "Key",
"type": "string"
},
{
"name": "id",
"baseName": "Id",
"type": "string"
},
{
"name": "errorMessage",
"baseName": "ErrorMessage",
"type": "string"
},
{
"name": "longErrorMessage",
"baseName": "LongErrorMessage",
"type": "string"
} ];
static getAttributeTypeMap() {
return TaskResult.attributeTypeMap;
}
}
export namespace TaskResult {
}