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

57 lines
1.5 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 { MediaSourceInfo } from './mediaSourceInfo';
import { PlaybackErrorCode } from './playbackErrorCode';
/**
* Class PlaybackInfoResponse.
*/
export class PlaybackInfoResponse {
/**
* Gets or sets the media sources.
*/
'mediaSources'?: Array<MediaSourceInfo>;
/**
* Gets or sets the play session identifier.
*/
'playSessionId'?: string | null;
'errorCode'?: PlaybackErrorCode | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "mediaSources",
"baseName": "MediaSources",
"type": "Array<MediaSourceInfo>"
},
{
"name": "playSessionId",
"baseName": "PlaySessionId",
"type": "string"
},
{
"name": "errorCode",
"baseName": "ErrorCode",
"type": "PlaybackErrorCode"
} ];
static getAttributeTypeMap() {
return PlaybackInfoResponse.attributeTypeMap;
}
}
export namespace PlaybackInfoResponse {
}