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

145 lines
3.8 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 { ClientCapabilitiesDtoDeviceProfile } from './clientCapabilitiesDtoDeviceProfile';
import { MediaProtocol } from './mediaProtocol';
/**
* Open live stream dto.
*/
export class OpenLiveStreamDto {
/**
* Gets or sets the open token.
*/
'openToken'?: string | null;
/**
* Gets or sets the user id.
*/
'userId'?: string | null;
/**
* Gets or sets the play session id.
*/
'playSessionId'?: string | null;
/**
* Gets or sets the max streaming bitrate.
*/
'maxStreamingBitrate'?: number | null;
/**
* Gets or sets the start time in ticks.
*/
'startTimeTicks'?: number | null;
/**
* Gets or sets the audio stream index.
*/
'audioStreamIndex'?: number | null;
/**
* Gets or sets the subtitle stream index.
*/
'subtitleStreamIndex'?: number | null;
/**
* Gets or sets the max audio channels.
*/
'maxAudioChannels'?: number | null;
/**
* Gets or sets the item id.
*/
'itemId'?: string | null;
/**
* Gets or sets a value indicating whether to enable direct play.
*/
'enableDirectPlay'?: boolean | null;
/**
* Gets or sets a value indicating whether to enale direct stream.
*/
'enableDirectStream'?: boolean | null;
'deviceProfile'?: ClientCapabilitiesDtoDeviceProfile | null;
/**
* Gets or sets the device play protocols.
*/
'directPlayProtocols'?: Array<MediaProtocol>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "openToken",
"baseName": "OpenToken",
"type": "string"
},
{
"name": "userId",
"baseName": "UserId",
"type": "string"
},
{
"name": "playSessionId",
"baseName": "PlaySessionId",
"type": "string"
},
{
"name": "maxStreamingBitrate",
"baseName": "MaxStreamingBitrate",
"type": "number"
},
{
"name": "startTimeTicks",
"baseName": "StartTimeTicks",
"type": "number"
},
{
"name": "audioStreamIndex",
"baseName": "AudioStreamIndex",
"type": "number"
},
{
"name": "subtitleStreamIndex",
"baseName": "SubtitleStreamIndex",
"type": "number"
},
{
"name": "maxAudioChannels",
"baseName": "MaxAudioChannels",
"type": "number"
},
{
"name": "itemId",
"baseName": "ItemId",
"type": "string"
},
{
"name": "enableDirectPlay",
"baseName": "EnableDirectPlay",
"type": "boolean"
},
{
"name": "enableDirectStream",
"baseName": "EnableDirectStream",
"type": "boolean"
},
{
"name": "deviceProfile",
"baseName": "DeviceProfile",
"type": "ClientCapabilitiesDtoDeviceProfile"
},
{
"name": "directPlayProtocols",
"baseName": "DirectPlayProtocols",
"type": "Array<MediaProtocol>"
} ];
static getAttributeTypeMap() {
return OpenLiveStreamDto.attributeTypeMap;
}
}