525 lines
12 KiB
TypeScript
525 lines
12 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 { MediaStreamType } from './mediaStreamType';
|
|
import { SubtitleDeliveryMethod } from './subtitleDeliveryMethod';
|
|
|
|
/**
|
|
* Class MediaStream.
|
|
*/
|
|
export class MediaStream {
|
|
/**
|
|
* Gets or sets the codec.
|
|
*/
|
|
'codec'?: string | null;
|
|
/**
|
|
* Gets or sets the codec tag.
|
|
*/
|
|
'codecTag'?: string | null;
|
|
/**
|
|
* Gets or sets the language.
|
|
*/
|
|
'language'?: string | null;
|
|
/**
|
|
* Gets or sets the color range.
|
|
*/
|
|
'colorRange'?: string | null;
|
|
/**
|
|
* Gets or sets the color space.
|
|
*/
|
|
'colorSpace'?: string | null;
|
|
/**
|
|
* Gets or sets the color transfer.
|
|
*/
|
|
'colorTransfer'?: string | null;
|
|
/**
|
|
* Gets or sets the color primaries.
|
|
*/
|
|
'colorPrimaries'?: string | null;
|
|
/**
|
|
* Gets or sets the Dolby Vision version major.
|
|
*/
|
|
'dvVersionMajor'?: number | null;
|
|
/**
|
|
* Gets or sets the Dolby Vision version minor.
|
|
*/
|
|
'dvVersionMinor'?: number | null;
|
|
/**
|
|
* Gets or sets the Dolby Vision profile.
|
|
*/
|
|
'dvProfile'?: number | null;
|
|
/**
|
|
* Gets or sets the Dolby Vision level.
|
|
*/
|
|
'dvLevel'?: number | null;
|
|
/**
|
|
* Gets or sets the Dolby Vision rpu present flag.
|
|
*/
|
|
'rpuPresentFlag'?: number | null;
|
|
/**
|
|
* Gets or sets the Dolby Vision el present flag.
|
|
*/
|
|
'elPresentFlag'?: number | null;
|
|
/**
|
|
* Gets or sets the Dolby Vision bl present flag.
|
|
*/
|
|
'blPresentFlag'?: number | null;
|
|
/**
|
|
* Gets or sets the Dolby Vision bl signal compatibility id.
|
|
*/
|
|
'dvBlSignalCompatibilityId'?: number | null;
|
|
/**
|
|
* Gets or sets the comment.
|
|
*/
|
|
'comment'?: string | null;
|
|
/**
|
|
* Gets or sets the time base.
|
|
*/
|
|
'timeBase'?: string | null;
|
|
/**
|
|
* Gets or sets the codec time base.
|
|
*/
|
|
'codecTimeBase'?: string | null;
|
|
/**
|
|
* Gets or sets the title.
|
|
*/
|
|
'title'?: string | null;
|
|
/**
|
|
* Gets the video range.
|
|
*/
|
|
'videoRange'?: string | null;
|
|
/**
|
|
* Gets the video range type.
|
|
*/
|
|
'videoRangeType'?: string | null;
|
|
/**
|
|
* Gets the video dovi title.
|
|
*/
|
|
'videoDoViTitle'?: string | null;
|
|
'localizedUndefined'?: string | null;
|
|
'localizedDefault'?: string | null;
|
|
'localizedForced'?: string | null;
|
|
'localizedExternal'?: string | null;
|
|
'displayTitle'?: string | null;
|
|
'nalLengthSize'?: string | null;
|
|
/**
|
|
* Gets or sets a value indicating whether this instance is interlaced.
|
|
*/
|
|
'isInterlaced'?: boolean;
|
|
'isAVC'?: boolean | null;
|
|
/**
|
|
* Gets or sets the channel layout.
|
|
*/
|
|
'channelLayout'?: string | null;
|
|
/**
|
|
* Gets or sets the bit rate.
|
|
*/
|
|
'bitRate'?: number | null;
|
|
/**
|
|
* Gets or sets the bit depth.
|
|
*/
|
|
'bitDepth'?: number | null;
|
|
/**
|
|
* Gets or sets the reference frames.
|
|
*/
|
|
'refFrames'?: number | null;
|
|
/**
|
|
* Gets or sets the length of the packet.
|
|
*/
|
|
'packetLength'?: number | null;
|
|
/**
|
|
* Gets or sets the channels.
|
|
*/
|
|
'channels'?: number | null;
|
|
/**
|
|
* Gets or sets the sample rate.
|
|
*/
|
|
'sampleRate'?: number | null;
|
|
/**
|
|
* Gets or sets a value indicating whether this instance is default.
|
|
*/
|
|
'isDefault'?: boolean;
|
|
/**
|
|
* Gets or sets a value indicating whether this instance is forced.
|
|
*/
|
|
'isForced'?: boolean;
|
|
/**
|
|
* Gets or sets the height.
|
|
*/
|
|
'height'?: number | null;
|
|
/**
|
|
* Gets or sets the width.
|
|
*/
|
|
'width'?: number | null;
|
|
/**
|
|
* Gets or sets the average frame rate.
|
|
*/
|
|
'averageFrameRate'?: number | null;
|
|
/**
|
|
* Gets or sets the real frame rate.
|
|
*/
|
|
'realFrameRate'?: number | null;
|
|
/**
|
|
* Gets or sets the profile.
|
|
*/
|
|
'profile'?: string | null;
|
|
'type'?: MediaStreamType;
|
|
/**
|
|
* Gets or sets the aspect ratio.
|
|
*/
|
|
'aspectRatio'?: string | null;
|
|
/**
|
|
* Gets or sets the index.
|
|
*/
|
|
'index'?: number;
|
|
/**
|
|
* Gets or sets the score.
|
|
*/
|
|
'score'?: number | null;
|
|
/**
|
|
* Gets or sets a value indicating whether this instance is external.
|
|
*/
|
|
'isExternal'?: boolean;
|
|
'deliveryMethod'?: SubtitleDeliveryMethod | null;
|
|
/**
|
|
* Gets or sets the delivery URL.
|
|
*/
|
|
'deliveryUrl'?: string | null;
|
|
/**
|
|
* Gets or sets a value indicating whether this instance is external URL.
|
|
*/
|
|
'isExternalUrl'?: boolean | null;
|
|
'isTextSubtitleStream'?: boolean;
|
|
/**
|
|
* Gets or sets a value indicating whether [supports external stream].
|
|
*/
|
|
'supportsExternalStream'?: boolean;
|
|
/**
|
|
* Gets or sets the filename.
|
|
*/
|
|
'path'?: string | null;
|
|
/**
|
|
* Gets or sets the pixel format.
|
|
*/
|
|
'pixelFormat'?: string | null;
|
|
/**
|
|
* Gets or sets the level.
|
|
*/
|
|
'level'?: number | null;
|
|
/**
|
|
* Gets or sets whether this instance is anamorphic.
|
|
*/
|
|
'isAnamorphic'?: boolean | null;
|
|
|
|
static discriminator: string | undefined = undefined;
|
|
|
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
{
|
|
"name": "codec",
|
|
"baseName": "Codec",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "codecTag",
|
|
"baseName": "CodecTag",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "language",
|
|
"baseName": "Language",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "colorRange",
|
|
"baseName": "ColorRange",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "colorSpace",
|
|
"baseName": "ColorSpace",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "colorTransfer",
|
|
"baseName": "ColorTransfer",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "colorPrimaries",
|
|
"baseName": "ColorPrimaries",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "dvVersionMajor",
|
|
"baseName": "DvVersionMajor",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "dvVersionMinor",
|
|
"baseName": "DvVersionMinor",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "dvProfile",
|
|
"baseName": "DvProfile",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "dvLevel",
|
|
"baseName": "DvLevel",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "rpuPresentFlag",
|
|
"baseName": "RpuPresentFlag",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "elPresentFlag",
|
|
"baseName": "ElPresentFlag",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "blPresentFlag",
|
|
"baseName": "BlPresentFlag",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "dvBlSignalCompatibilityId",
|
|
"baseName": "DvBlSignalCompatibilityId",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "comment",
|
|
"baseName": "Comment",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "timeBase",
|
|
"baseName": "TimeBase",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "codecTimeBase",
|
|
"baseName": "CodecTimeBase",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"baseName": "Title",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "videoRange",
|
|
"baseName": "VideoRange",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "videoRangeType",
|
|
"baseName": "VideoRangeType",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "videoDoViTitle",
|
|
"baseName": "VideoDoViTitle",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "localizedUndefined",
|
|
"baseName": "LocalizedUndefined",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "localizedDefault",
|
|
"baseName": "LocalizedDefault",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "localizedForced",
|
|
"baseName": "LocalizedForced",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "localizedExternal",
|
|
"baseName": "LocalizedExternal",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "displayTitle",
|
|
"baseName": "DisplayTitle",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "nalLengthSize",
|
|
"baseName": "NalLengthSize",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "isInterlaced",
|
|
"baseName": "IsInterlaced",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "isAVC",
|
|
"baseName": "IsAVC",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "channelLayout",
|
|
"baseName": "ChannelLayout",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "bitRate",
|
|
"baseName": "BitRate",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "bitDepth",
|
|
"baseName": "BitDepth",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "refFrames",
|
|
"baseName": "RefFrames",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "packetLength",
|
|
"baseName": "PacketLength",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "channels",
|
|
"baseName": "Channels",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "sampleRate",
|
|
"baseName": "SampleRate",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "isDefault",
|
|
"baseName": "IsDefault",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "isForced",
|
|
"baseName": "IsForced",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "height",
|
|
"baseName": "Height",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "width",
|
|
"baseName": "Width",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "averageFrameRate",
|
|
"baseName": "AverageFrameRate",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "realFrameRate",
|
|
"baseName": "RealFrameRate",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "profile",
|
|
"baseName": "Profile",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "type",
|
|
"baseName": "Type",
|
|
"type": "MediaStreamType"
|
|
},
|
|
{
|
|
"name": "aspectRatio",
|
|
"baseName": "AspectRatio",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "index",
|
|
"baseName": "Index",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "score",
|
|
"baseName": "Score",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "isExternal",
|
|
"baseName": "IsExternal",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "deliveryMethod",
|
|
"baseName": "DeliveryMethod",
|
|
"type": "SubtitleDeliveryMethod"
|
|
},
|
|
{
|
|
"name": "deliveryUrl",
|
|
"baseName": "DeliveryUrl",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "isExternalUrl",
|
|
"baseName": "IsExternalUrl",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "isTextSubtitleStream",
|
|
"baseName": "IsTextSubtitleStream",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "supportsExternalStream",
|
|
"baseName": "SupportsExternalStream",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "path",
|
|
"baseName": "Path",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "pixelFormat",
|
|
"baseName": "PixelFormat",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "level",
|
|
"baseName": "Level",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "isAnamorphic",
|
|
"baseName": "IsAnamorphic",
|
|
"type": "boolean"
|
|
} ];
|
|
|
|
static getAttributeTypeMap() {
|
|
return MediaStream.attributeTypeMap;
|
|
}
|
|
}
|
|
|
|
export namespace MediaStream {
|
|
}
|