jellyfin-discord-bot/server/jellyfin/models/BaseItemKind.ts

74 lines
1.9 KiB
TypeScript
Raw Normal View History

2023-05-04 23:34:53 +02:00
/* tslint:disable */
/* eslint-disable */
/**
* 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.
*/
/**
* The base item kind.
* @export
*/
export const BaseItemKind = {
AggregateFolder: 'AggregateFolder',
Audio: 'Audio',
AudioBook: 'AudioBook',
BasePluginFolder: 'BasePluginFolder',
Book: 'Book',
BoxSet: 'BoxSet',
Channel: 'Channel',
ChannelFolderItem: 'ChannelFolderItem',
CollectionFolder: 'CollectionFolder',
Episode: 'Episode',
Folder: 'Folder',
Genre: 'Genre',
ManualPlaylistsFolder: 'ManualPlaylistsFolder',
Movie: 'Movie',
LiveTvChannel: 'LiveTvChannel',
LiveTvProgram: 'LiveTvProgram',
MusicAlbum: 'MusicAlbum',
MusicArtist: 'MusicArtist',
MusicGenre: 'MusicGenre',
MusicVideo: 'MusicVideo',
Person: 'Person',
Photo: 'Photo',
PhotoAlbum: 'PhotoAlbum',
Playlist: 'Playlist',
PlaylistsFolder: 'PlaylistsFolder',
Program: 'Program',
Recording: 'Recording',
Season: 'Season',
Series: 'Series',
Studio: 'Studio',
Trailer: 'Trailer',
TvChannel: 'TvChannel',
TvProgram: 'TvProgram',
UserRootFolder: 'UserRootFolder',
UserView: 'UserView',
Video: 'Video',
Year: 'Year'
} as const;
export type BaseItemKind = typeof BaseItemKind[keyof typeof BaseItemKind];
export function BaseItemKindFromJSON(json: any): BaseItemKind {
return BaseItemKindFromJSONTyped(json, false);
}
export function BaseItemKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): BaseItemKind {
return json as BaseItemKind;
}
export function BaseItemKindToJSON(value?: BaseItemKind | null): any {
return value as any;
}