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

118 lines
3.0 KiB
TypeScript
Raw Normal View History

2023-04-15 22:02:40 +02:00
/**
* 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 { PlaybackProgressInfoItem } from './playbackProgressInfoItem';
import { QueueItem } from './queueItem';
/**
* Class PlaybackStopInfo.
*/
export class ReportPlaybackStoppedRequest {
'item'?: PlaybackProgressInfoItem | null;
/**
* Gets or sets the item identifier.
*/
'itemId'?: string;
/**
* Gets or sets the session id.
*/
'sessionId'?: string | null;
/**
* Gets or sets the media version identifier.
*/
'mediaSourceId'?: string | null;
/**
* Gets or sets the position ticks.
*/
'positionTicks'?: number | null;
/**
* Gets or sets the live stream identifier.
*/
'liveStreamId'?: string | null;
/**
* Gets or sets the play session identifier.
*/
'playSessionId'?: string | null;
/**
* Gets or sets a value indicating whether this MediaBrowser.Model.Session.PlaybackStopInfo is failed.
*/
'failed'?: boolean;
'nextMediaType'?: string | null;
'playlistItemId'?: string | null;
'nowPlayingQueue'?: Array<QueueItem> | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "item",
"baseName": "Item",
"type": "PlaybackProgressInfoItem"
},
{
"name": "itemId",
"baseName": "ItemId",
"type": "string"
},
{
"name": "sessionId",
"baseName": "SessionId",
"type": "string"
},
{
"name": "mediaSourceId",
"baseName": "MediaSourceId",
"type": "string"
},
{
"name": "positionTicks",
"baseName": "PositionTicks",
"type": "number"
},
{
"name": "liveStreamId",
"baseName": "LiveStreamId",
"type": "string"
},
{
"name": "playSessionId",
"baseName": "PlaySessionId",
"type": "string"
},
{
"name": "failed",
"baseName": "Failed",
"type": "boolean"
},
{
"name": "nextMediaType",
"baseName": "NextMediaType",
"type": "string"
},
{
"name": "playlistItemId",
"baseName": "PlaylistItemId",
"type": "string"
},
{
"name": "nowPlayingQueue",
"baseName": "NowPlayingQueue",
"type": "Array<QueueItem>"
} ];
static getAttributeTypeMap() {
return ReportPlaybackStoppedRequest.attributeTypeMap;
}
}