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

89 lines
2.3 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 { PlayCommand } from './playCommand';
/**
* Class PlayRequest.
*/
export class PlayRequest {
/**
* Gets or sets the item ids.
*/
'itemIds'?: Array<string> | null;
/**
* Gets or sets the start position ticks that the first item should be played at.
*/
'startPositionTicks'?: number | null;
'playCommand'?: PlayCommand;
/**
* Gets or sets the controlling user identifier.
*/
'controllingUserId'?: string;
'subtitleStreamIndex'?: number | null;
'audioStreamIndex'?: number | null;
'mediaSourceId'?: string | null;
'startIndex'?: number | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "itemIds",
"baseName": "ItemIds",
"type": "Array<string>"
},
{
"name": "startPositionTicks",
"baseName": "StartPositionTicks",
"type": "number"
},
{
"name": "playCommand",
"baseName": "PlayCommand",
"type": "PlayCommand"
},
{
"name": "controllingUserId",
"baseName": "ControllingUserId",
"type": "string"
},
{
"name": "subtitleStreamIndex",
"baseName": "SubtitleStreamIndex",
"type": "number"
},
{
"name": "audioStreamIndex",
"baseName": "AudioStreamIndex",
"type": "number"
},
{
"name": "mediaSourceId",
"baseName": "MediaSourceId",
"type": "string"
},
{
"name": "startIndex",
"baseName": "StartIndex",
"type": "number"
} ];
static getAttributeTypeMap() {
return PlayRequest.attributeTypeMap;
}
}
export namespace PlayRequest {
}