65 lines
1.5 KiB
TypeScript
65 lines
1.5 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';
|
|
|
|
/**
|
|
* Upload subtitles dto.
|
|
*/
|
|
export class UploadSubtitleDto {
|
|
/**
|
|
* Gets or sets the subtitle language.
|
|
*/
|
|
'language': string;
|
|
/**
|
|
* Gets or sets the subtitle format.
|
|
*/
|
|
'format': string;
|
|
/**
|
|
* Gets or sets a value indicating whether the subtitle is forced.
|
|
*/
|
|
'isForced': boolean;
|
|
/**
|
|
* Gets or sets the subtitle data.
|
|
*/
|
|
'data': string;
|
|
|
|
static discriminator: string | undefined = undefined;
|
|
|
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
{
|
|
"name": "language",
|
|
"baseName": "Language",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "format",
|
|
"baseName": "Format",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "isForced",
|
|
"baseName": "IsForced",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"baseName": "Data",
|
|
"type": "string"
|
|
} ];
|
|
|
|
static getAttributeTypeMap() {
|
|
return UploadSubtitleDto.attributeTypeMap;
|
|
}
|
|
}
|
|
|