385 lines
12 KiB
TypeScript
385 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 { CodecProfile } from './codecProfile';
|
||
|
import { ContainerProfile } from './containerProfile';
|
||
|
import { DeviceProfileIdentification } from './deviceProfileIdentification';
|
||
|
import { DirectPlayProfile } from './directPlayProfile';
|
||
|
import { ResponseProfile } from './responseProfile';
|
||
|
import { SubtitleProfile } from './subtitleProfile';
|
||
|
import { TranscodingProfile } from './transcodingProfile';
|
||
|
import { XmlAttribute } from './xmlAttribute';
|
||
|
|
||
|
/**
|
||
|
* A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn\'t.
|
||
|
*/
|
||
|
export class CreateProfileRequest {
|
||
|
/**
|
||
|
* Gets or sets the name of this device profile.
|
||
|
*/
|
||
|
'name'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the Id.
|
||
|
*/
|
||
|
'id'?: string | null;
|
||
|
'identification'?: DeviceProfileIdentification | null;
|
||
|
/**
|
||
|
* Gets or sets the friendly name of the device profile, which can be shown to users.
|
||
|
*/
|
||
|
'friendlyName'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the manufacturer of the device which this profile represents.
|
||
|
*/
|
||
|
'manufacturer'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets an url for the manufacturer of the device which this profile represents.
|
||
|
*/
|
||
|
'manufacturerUrl'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the model name of the device which this profile represents.
|
||
|
*/
|
||
|
'modelName'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the model description of the device which this profile represents.
|
||
|
*/
|
||
|
'modelDescription'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the model number of the device which this profile represents.
|
||
|
*/
|
||
|
'modelNumber'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the ModelUrl.
|
||
|
*/
|
||
|
'modelUrl'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the serial number of the device which this profile represents.
|
||
|
*/
|
||
|
'serialNumber'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether EnableAlbumArtInDidl.
|
||
|
*/
|
||
|
'enableAlbumArtInDidl'?: boolean = false;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether EnableSingleAlbumArtLimit.
|
||
|
*/
|
||
|
'enableSingleAlbumArtLimit'?: boolean = false;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether EnableSingleSubtitleLimit.
|
||
|
*/
|
||
|
'enableSingleSubtitleLimit'?: boolean = false;
|
||
|
/**
|
||
|
* Gets or sets the SupportedMediaTypes.
|
||
|
*/
|
||
|
'supportedMediaTypes'?: string;
|
||
|
/**
|
||
|
* Gets or sets the UserId.
|
||
|
*/
|
||
|
'userId'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the AlbumArtPn.
|
||
|
*/
|
||
|
'albumArtPn'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the MaxAlbumArtWidth.
|
||
|
*/
|
||
|
'maxAlbumArtWidth'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the MaxAlbumArtHeight.
|
||
|
*/
|
||
|
'maxAlbumArtHeight'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the maximum allowed width of embedded icons.
|
||
|
*/
|
||
|
'maxIconWidth'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the maximum allowed height of embedded icons.
|
||
|
*/
|
||
|
'maxIconHeight'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the maximum allowed bitrate for all streamed content.
|
||
|
*/
|
||
|
'maxStreamingBitrate'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the maximum allowed bitrate for statically streamed content (= direct played files).
|
||
|
*/
|
||
|
'maxStaticBitrate'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the maximum allowed bitrate for transcoded music streams.
|
||
|
*/
|
||
|
'musicStreamingTranscodingBitrate'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the maximum allowed bitrate for statically streamed (= direct played) music files.
|
||
|
*/
|
||
|
'maxStaticMusicBitrate'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the content of the aggregationFlags element in the urn:schemas-sonycom:av namespace.
|
||
|
*/
|
||
|
'sonyAggregationFlags'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the ProtocolInfo.
|
||
|
*/
|
||
|
'protocolInfo'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the TimelineOffsetSeconds.
|
||
|
*/
|
||
|
'timelineOffsetSeconds'?: number = 0;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether RequiresPlainVideoItems.
|
||
|
*/
|
||
|
'requiresPlainVideoItems'?: boolean = false;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether RequiresPlainFolders.
|
||
|
*/
|
||
|
'requiresPlainFolders'?: boolean = false;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether EnableMSMediaReceiverRegistrar.
|
||
|
*/
|
||
|
'enableMSMediaReceiverRegistrar'?: boolean = false;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether IgnoreTranscodeByteRangeRequests.
|
||
|
*/
|
||
|
'ignoreTranscodeByteRangeRequests'?: boolean = false;
|
||
|
/**
|
||
|
* Gets or sets the XmlRootAttributes.
|
||
|
*/
|
||
|
'xmlRootAttributes'?: Array<XmlAttribute>;
|
||
|
/**
|
||
|
* Gets or sets the direct play profiles.
|
||
|
*/
|
||
|
'directPlayProfiles'?: Array<DirectPlayProfile>;
|
||
|
/**
|
||
|
* Gets or sets the transcoding profiles.
|
||
|
*/
|
||
|
'transcodingProfiles'?: Array<TranscodingProfile>;
|
||
|
/**
|
||
|
* Gets or sets the container profiles.
|
||
|
*/
|
||
|
'containerProfiles'?: Array<ContainerProfile>;
|
||
|
/**
|
||
|
* Gets or sets the codec profiles.
|
||
|
*/
|
||
|
'codecProfiles'?: Array<CodecProfile>;
|
||
|
/**
|
||
|
* Gets or sets the ResponseProfiles.
|
||
|
*/
|
||
|
'responseProfiles'?: Array<ResponseProfile>;
|
||
|
/**
|
||
|
* Gets or sets the subtitle profiles.
|
||
|
*/
|
||
|
'subtitleProfiles'?: Array<SubtitleProfile>;
|
||
|
|
||
|
static discriminator: string | undefined = undefined;
|
||
|
|
||
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
||
|
{
|
||
|
"name": "name",
|
||
|
"baseName": "Name",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "id",
|
||
|
"baseName": "Id",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "identification",
|
||
|
"baseName": "Identification",
|
||
|
"type": "DeviceProfileIdentification"
|
||
|
},
|
||
|
{
|
||
|
"name": "friendlyName",
|
||
|
"baseName": "FriendlyName",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "manufacturer",
|
||
|
"baseName": "Manufacturer",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "manufacturerUrl",
|
||
|
"baseName": "ManufacturerUrl",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "modelName",
|
||
|
"baseName": "ModelName",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "modelDescription",
|
||
|
"baseName": "ModelDescription",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "modelNumber",
|
||
|
"baseName": "ModelNumber",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "modelUrl",
|
||
|
"baseName": "ModelUrl",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "serialNumber",
|
||
|
"baseName": "SerialNumber",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableAlbumArtInDidl",
|
||
|
"baseName": "EnableAlbumArtInDidl",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableSingleAlbumArtLimit",
|
||
|
"baseName": "EnableSingleAlbumArtLimit",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableSingleSubtitleLimit",
|
||
|
"baseName": "EnableSingleSubtitleLimit",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "supportedMediaTypes",
|
||
|
"baseName": "SupportedMediaTypes",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "userId",
|
||
|
"baseName": "UserId",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "albumArtPn",
|
||
|
"baseName": "AlbumArtPn",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "maxAlbumArtWidth",
|
||
|
"baseName": "MaxAlbumArtWidth",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "maxAlbumArtHeight",
|
||
|
"baseName": "MaxAlbumArtHeight",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "maxIconWidth",
|
||
|
"baseName": "MaxIconWidth",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "maxIconHeight",
|
||
|
"baseName": "MaxIconHeight",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "maxStreamingBitrate",
|
||
|
"baseName": "MaxStreamingBitrate",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "maxStaticBitrate",
|
||
|
"baseName": "MaxStaticBitrate",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "musicStreamingTranscodingBitrate",
|
||
|
"baseName": "MusicStreamingTranscodingBitrate",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "maxStaticMusicBitrate",
|
||
|
"baseName": "MaxStaticMusicBitrate",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "sonyAggregationFlags",
|
||
|
"baseName": "SonyAggregationFlags",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "protocolInfo",
|
||
|
"baseName": "ProtocolInfo",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "timelineOffsetSeconds",
|
||
|
"baseName": "TimelineOffsetSeconds",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "requiresPlainVideoItems",
|
||
|
"baseName": "RequiresPlainVideoItems",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "requiresPlainFolders",
|
||
|
"baseName": "RequiresPlainFolders",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableMSMediaReceiverRegistrar",
|
||
|
"baseName": "EnableMSMediaReceiverRegistrar",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "ignoreTranscodeByteRangeRequests",
|
||
|
"baseName": "IgnoreTranscodeByteRangeRequests",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "xmlRootAttributes",
|
||
|
"baseName": "XmlRootAttributes",
|
||
|
"type": "Array<XmlAttribute>"
|
||
|
},
|
||
|
{
|
||
|
"name": "directPlayProfiles",
|
||
|
"baseName": "DirectPlayProfiles",
|
||
|
"type": "Array<DirectPlayProfile>"
|
||
|
},
|
||
|
{
|
||
|
"name": "transcodingProfiles",
|
||
|
"baseName": "TranscodingProfiles",
|
||
|
"type": "Array<TranscodingProfile>"
|
||
|
},
|
||
|
{
|
||
|
"name": "containerProfiles",
|
||
|
"baseName": "ContainerProfiles",
|
||
|
"type": "Array<ContainerProfile>"
|
||
|
},
|
||
|
{
|
||
|
"name": "codecProfiles",
|
||
|
"baseName": "CodecProfiles",
|
||
|
"type": "Array<CodecProfile>"
|
||
|
},
|
||
|
{
|
||
|
"name": "responseProfiles",
|
||
|
"baseName": "ResponseProfiles",
|
||
|
"type": "Array<ResponseProfile>"
|
||
|
},
|
||
|
{
|
||
|
"name": "subtitleProfiles",
|
||
|
"baseName": "SubtitleProfiles",
|
||
|
"type": "Array<SubtitleProfile>"
|
||
|
} ];
|
||
|
|
||
|
static getAttributeTypeMap() {
|
||
|
return CreateProfileRequest.attributeTypeMap;
|
||
|
}
|
||
|
}
|
||
|
|