jellyfin-discord-bot/jellyfin/model/mediaSourceInfo.ts
2023-04-15 22:02:40 +02:00

291 lines
8.0 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 { IsoType } from './isoType';
import { MediaAttachment } from './mediaAttachment';
import { MediaProtocol } from './mediaProtocol';
import { MediaSourceType } from './mediaSourceType';
import { MediaStream } from './mediaStream';
import { TransportStreamTimestamp } from './transportStreamTimestamp';
import { Video3DFormat } from './video3DFormat';
import { VideoType } from './videoType';
export class MediaSourceInfo {
'protocol'?: MediaProtocol;
'id'?: string | null;
'path'?: string | null;
'encoderPath'?: string | null;
'encoderProtocol'?: MediaProtocol | null;
'type'?: MediaSourceType;
'container'?: string | null;
'size'?: number | null;
'name'?: string | null;
/**
* Gets or sets a value indicating whether the media is remote. Differentiate internet url vs local network.
*/
'isRemote'?: boolean;
'eTag'?: string | null;
'runTimeTicks'?: number | null;
'readAtNativeFramerate'?: boolean;
'ignoreDts'?: boolean;
'ignoreIndex'?: boolean;
'genPtsInput'?: boolean;
'supportsTranscoding'?: boolean;
'supportsDirectStream'?: boolean;
'supportsDirectPlay'?: boolean;
'isInfiniteStream'?: boolean;
'requiresOpening'?: boolean;
'openToken'?: string | null;
'requiresClosing'?: boolean;
'liveStreamId'?: string | null;
'bufferMs'?: number | null;
'requiresLooping'?: boolean;
'supportsProbing'?: boolean;
'videoType'?: VideoType | null;
'isoType'?: IsoType | null;
'video3DFormat'?: Video3DFormat | null;
'mediaStreams'?: Array<MediaStream> | null;
'mediaAttachments'?: Array<MediaAttachment> | null;
'formats'?: Array<string> | null;
'bitrate'?: number | null;
'timestamp'?: TransportStreamTimestamp | null;
'requiredHttpHeaders'?: { [key: string]: string; } | null;
'transcodingUrl'?: string | null;
'transcodingSubProtocol'?: string | null;
'transcodingContainer'?: string | null;
'analyzeDurationMs'?: number | null;
'defaultAudioStreamIndex'?: number | null;
'defaultSubtitleStreamIndex'?: number | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "protocol",
"baseName": "Protocol",
"type": "MediaProtocol"
},
{
"name": "id",
"baseName": "Id",
"type": "string"
},
{
"name": "path",
"baseName": "Path",
"type": "string"
},
{
"name": "encoderPath",
"baseName": "EncoderPath",
"type": "string"
},
{
"name": "encoderProtocol",
"baseName": "EncoderProtocol",
"type": "MediaProtocol"
},
{
"name": "type",
"baseName": "Type",
"type": "MediaSourceType"
},
{
"name": "container",
"baseName": "Container",
"type": "string"
},
{
"name": "size",
"baseName": "Size",
"type": "number"
},
{
"name": "name",
"baseName": "Name",
"type": "string"
},
{
"name": "isRemote",
"baseName": "IsRemote",
"type": "boolean"
},
{
"name": "eTag",
"baseName": "ETag",
"type": "string"
},
{
"name": "runTimeTicks",
"baseName": "RunTimeTicks",
"type": "number"
},
{
"name": "readAtNativeFramerate",
"baseName": "ReadAtNativeFramerate",
"type": "boolean"
},
{
"name": "ignoreDts",
"baseName": "IgnoreDts",
"type": "boolean"
},
{
"name": "ignoreIndex",
"baseName": "IgnoreIndex",
"type": "boolean"
},
{
"name": "genPtsInput",
"baseName": "GenPtsInput",
"type": "boolean"
},
{
"name": "supportsTranscoding",
"baseName": "SupportsTranscoding",
"type": "boolean"
},
{
"name": "supportsDirectStream",
"baseName": "SupportsDirectStream",
"type": "boolean"
},
{
"name": "supportsDirectPlay",
"baseName": "SupportsDirectPlay",
"type": "boolean"
},
{
"name": "isInfiniteStream",
"baseName": "IsInfiniteStream",
"type": "boolean"
},
{
"name": "requiresOpening",
"baseName": "RequiresOpening",
"type": "boolean"
},
{
"name": "openToken",
"baseName": "OpenToken",
"type": "string"
},
{
"name": "requiresClosing",
"baseName": "RequiresClosing",
"type": "boolean"
},
{
"name": "liveStreamId",
"baseName": "LiveStreamId",
"type": "string"
},
{
"name": "bufferMs",
"baseName": "BufferMs",
"type": "number"
},
{
"name": "requiresLooping",
"baseName": "RequiresLooping",
"type": "boolean"
},
{
"name": "supportsProbing",
"baseName": "SupportsProbing",
"type": "boolean"
},
{
"name": "videoType",
"baseName": "VideoType",
"type": "VideoType"
},
{
"name": "isoType",
"baseName": "IsoType",
"type": "IsoType"
},
{
"name": "video3DFormat",
"baseName": "Video3DFormat",
"type": "Video3DFormat"
},
{
"name": "mediaStreams",
"baseName": "MediaStreams",
"type": "Array<MediaStream>"
},
{
"name": "mediaAttachments",
"baseName": "MediaAttachments",
"type": "Array<MediaAttachment>"
},
{
"name": "formats",
"baseName": "Formats",
"type": "Array<string>"
},
{
"name": "bitrate",
"baseName": "Bitrate",
"type": "number"
},
{
"name": "timestamp",
"baseName": "Timestamp",
"type": "TransportStreamTimestamp"
},
{
"name": "requiredHttpHeaders",
"baseName": "RequiredHttpHeaders",
"type": "{ [key: string]: string; }"
},
{
"name": "transcodingUrl",
"baseName": "TranscodingUrl",
"type": "string"
},
{
"name": "transcodingSubProtocol",
"baseName": "TranscodingSubProtocol",
"type": "string"
},
{
"name": "transcodingContainer",
"baseName": "TranscodingContainer",
"type": "string"
},
{
"name": "analyzeDurationMs",
"baseName": "AnalyzeDurationMs",
"type": "number"
},
{
"name": "defaultAudioStreamIndex",
"baseName": "DefaultAudioStreamIndex",
"type": "number"
},
{
"name": "defaultSubtitleStreamIndex",
"baseName": "DefaultSubtitleStreamIndex",
"type": "number"
} ];
static getAttributeTypeMap() {
return MediaSourceInfo.attributeTypeMap;
}
}
export namespace MediaSourceInfo {
}