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

99 lines
2.4 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 { MediaUrl } from './mediaUrl';
/**
* Class BaseItem.
*/
export class BaseItem {
'size'?: number | null;
'container'?: string | null;
'isHD'?: boolean;
'isShortcut'?: boolean;
'shortcutPath'?: string | null;
'width'?: number;
'height'?: number;
'extraIds'?: Array<string> | null;
'dateLastSaved'?: Date;
/**
* Gets or sets the remote trailers.
*/
'remoteTrailers'?: Array<MediaUrl> | null;
'supportsExternalTransfer'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "size",
"baseName": "Size",
"type": "number"
},
{
"name": "container",
"baseName": "Container",
"type": "string"
},
{
"name": "isHD",
"baseName": "IsHD",
"type": "boolean"
},
{
"name": "isShortcut",
"baseName": "IsShortcut",
"type": "boolean"
},
{
"name": "shortcutPath",
"baseName": "ShortcutPath",
"type": "string"
},
{
"name": "width",
"baseName": "Width",
"type": "number"
},
{
"name": "height",
"baseName": "Height",
"type": "number"
},
{
"name": "extraIds",
"baseName": "ExtraIds",
"type": "Array<string>"
},
{
"name": "dateLastSaved",
"baseName": "DateLastSaved",
"type": "Date"
},
{
"name": "remoteTrailers",
"baseName": "RemoteTrailers",
"type": "Array<MediaUrl>"
},
{
"name": "supportsExternalTransfer",
"baseName": "SupportsExternalTransfer",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return BaseItem.attributeTypeMap;
}
}