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

56 lines
1.6 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 RemoveFromPlaylistRequestDto.
*/
export class SyncPlayRemoveFromPlaylistRequest {
/**
* Gets or sets the playlist identifiers ot the items. Ignored when clearing the playlist.
*/
'playlistItemIds'?: Array<string>;
/**
* Gets or sets a value indicating whether the entire playlist should be cleared.
*/
'clearPlaylist'?: boolean;
/**
* Gets or sets a value indicating whether the playing item should be removed as well. Used only when clearing the playlist.
*/
'clearPlayingItem'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "playlistItemIds",
"baseName": "PlaylistItemIds",
"type": "Array<string>"
},
{
"name": "clearPlaylist",
"baseName": "ClearPlaylist",
"type": "boolean"
},
{
"name": "clearPlayingItem",
"baseName": "ClearPlayingItem",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return SyncPlayRemoveFromPlaylistRequest.attributeTypeMap;
}
}