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

162 lines
4.4 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 { ClientCapabilitiesDtoDeviceProfile } from './clientCapabilitiesDtoDeviceProfile';
/**
* Plabyback info dto.
*/
export class GetPostedPlaybackInfoRequest {
/**
* Gets or sets the playback userId.
*/
'userId'?: 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 media source id.
*/
'mediaSourceId'?: string | null;
/**
* Gets or sets the live stream id.
*/
'liveStreamId'?: string | null;
'deviceProfile'?: ClientCapabilitiesDtoDeviceProfile | null;
/**
* Gets or sets a value indicating whether to enable direct play.
*/
'enableDirectPlay'?: boolean | null;
/**
* Gets or sets a value indicating whether to enable direct stream.
*/
'enableDirectStream'?: boolean | null;
/**
* Gets or sets a value indicating whether to enable transcoding.
*/
'enableTranscoding'?: boolean | null;
/**
* Gets or sets a value indicating whether to enable video stream copy.
*/
'allowVideoStreamCopy'?: boolean | null;
/**
* Gets or sets a value indicating whether to allow audio stream copy.
*/
'allowAudioStreamCopy'?: boolean | null;
/**
* Gets or sets a value indicating whether to auto open the live stream.
*/
'autoOpenLiveStream'?: boolean | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "userId",
"baseName": "UserId",
"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": "mediaSourceId",
"baseName": "MediaSourceId",
"type": "string"
},
{
"name": "liveStreamId",
"baseName": "LiveStreamId",
"type": "string"
},
{
"name": "deviceProfile",
"baseName": "DeviceProfile",
"type": "ClientCapabilitiesDtoDeviceProfile"
},
{
"name": "enableDirectPlay",
"baseName": "EnableDirectPlay",
"type": "boolean"
},
{
"name": "enableDirectStream",
"baseName": "EnableDirectStream",
"type": "boolean"
},
{
"name": "enableTranscoding",
"baseName": "EnableTranscoding",
"type": "boolean"
},
{
"name": "allowVideoStreamCopy",
"baseName": "AllowVideoStreamCopy",
"type": "boolean"
},
{
"name": "allowAudioStreamCopy",
"baseName": "AllowAudioStreamCopy",
"type": "boolean"
},
{
"name": "autoOpenLiveStream",
"baseName": "AutoOpenLiveStream",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return GetPostedPlaybackInfoRequest.attributeTypeMap;
}
}