jellyfin-discord-bot/jellyfin/model/searchHint.ts
2023-04-15 22:02:40 +02:00

272 lines
6.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';
/**
* Class SearchHintResult.
*/
export class SearchHint {
/**
* Gets or sets the item id.
*/
'itemId'?: string;
'id'?: string;
/**
* Gets or sets the name.
*/
'name'?: string | null;
/**
* Gets or sets the matched term.
*/
'matchedTerm'?: string | null;
/**
* Gets or sets the index number.
*/
'indexNumber'?: number | null;
/**
* Gets or sets the production year.
*/
'productionYear'?: number | null;
/**
* Gets or sets the parent index number.
*/
'parentIndexNumber'?: number | null;
/**
* Gets or sets the image tag.
*/
'primaryImageTag'?: string | null;
/**
* Gets or sets the thumb image tag.
*/
'thumbImageTag'?: string | null;
/**
* Gets or sets the thumb image item identifier.
*/
'thumbImageItemId'?: string | null;
/**
* Gets or sets the backdrop image tag.
*/
'backdropImageTag'?: string | null;
/**
* Gets or sets the backdrop image item identifier.
*/
'backdropImageItemId'?: string | null;
/**
* Gets or sets the type.
*/
'type'?: string | null;
'isFolder'?: boolean | null;
/**
* Gets or sets the run time ticks.
*/
'runTimeTicks'?: number | null;
/**
* Gets or sets the type of the media.
*/
'mediaType'?: string | null;
'startDate'?: Date | null;
'endDate'?: Date | null;
/**
* Gets or sets the series.
*/
'series'?: string | null;
'status'?: string | null;
/**
* Gets or sets the album.
*/
'album'?: string | null;
'albumId'?: string;
/**
* Gets or sets the album artist.
*/
'albumArtist'?: string | null;
/**
* Gets or sets the artists.
*/
'artists'?: Array<string> | null;
/**
* Gets or sets the song count.
*/
'songCount'?: number | null;
/**
* Gets or sets the episode count.
*/
'episodeCount'?: number | null;
/**
* Gets or sets the channel identifier.
*/
'channelId'?: string;
/**
* Gets or sets the name of the channel.
*/
'channelName'?: string | null;
/**
* Gets or sets the primary image aspect ratio.
*/
'primaryImageAspectRatio'?: number | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "itemId",
"baseName": "ItemId",
"type": "string"
},
{
"name": "id",
"baseName": "Id",
"type": "string"
},
{
"name": "name",
"baseName": "Name",
"type": "string"
},
{
"name": "matchedTerm",
"baseName": "MatchedTerm",
"type": "string"
},
{
"name": "indexNumber",
"baseName": "IndexNumber",
"type": "number"
},
{
"name": "productionYear",
"baseName": "ProductionYear",
"type": "number"
},
{
"name": "parentIndexNumber",
"baseName": "ParentIndexNumber",
"type": "number"
},
{
"name": "primaryImageTag",
"baseName": "PrimaryImageTag",
"type": "string"
},
{
"name": "thumbImageTag",
"baseName": "ThumbImageTag",
"type": "string"
},
{
"name": "thumbImageItemId",
"baseName": "ThumbImageItemId",
"type": "string"
},
{
"name": "backdropImageTag",
"baseName": "BackdropImageTag",
"type": "string"
},
{
"name": "backdropImageItemId",
"baseName": "BackdropImageItemId",
"type": "string"
},
{
"name": "type",
"baseName": "Type",
"type": "string"
},
{
"name": "isFolder",
"baseName": "IsFolder",
"type": "boolean"
},
{
"name": "runTimeTicks",
"baseName": "RunTimeTicks",
"type": "number"
},
{
"name": "mediaType",
"baseName": "MediaType",
"type": "string"
},
{
"name": "startDate",
"baseName": "StartDate",
"type": "Date"
},
{
"name": "endDate",
"baseName": "EndDate",
"type": "Date"
},
{
"name": "series",
"baseName": "Series",
"type": "string"
},
{
"name": "status",
"baseName": "Status",
"type": "string"
},
{
"name": "album",
"baseName": "Album",
"type": "string"
},
{
"name": "albumId",
"baseName": "AlbumId",
"type": "string"
},
{
"name": "albumArtist",
"baseName": "AlbumArtist",
"type": "string"
},
{
"name": "artists",
"baseName": "Artists",
"type": "Array<string>"
},
{
"name": "songCount",
"baseName": "SongCount",
"type": "number"
},
{
"name": "episodeCount",
"baseName": "EpisodeCount",
"type": "number"
},
{
"name": "channelId",
"baseName": "ChannelId",
"type": "string"
},
{
"name": "channelName",
"baseName": "ChannelName",
"type": "string"
},
{
"name": "primaryImageAspectRatio",
"baseName": "PrimaryImageAspectRatio",
"type": "number"
} ];
static getAttributeTypeMap() {
return SearchHint.attributeTypeMap;
}
}