80 lines
2.3 KiB
TypeScript
80 lines
2.3 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';
|
|
|
|
export class SubtitleOptions {
|
|
'skipIfEmbeddedSubtitlesPresent'?: boolean;
|
|
'skipIfAudioTrackMatches'?: boolean;
|
|
'downloadLanguages'?: Array<string> | null;
|
|
'downloadMovieSubtitles'?: boolean;
|
|
'downloadEpisodeSubtitles'?: boolean;
|
|
'openSubtitlesUsername'?: string | null;
|
|
'openSubtitlesPasswordHash'?: string | null;
|
|
'isOpenSubtitleVipAccount'?: boolean;
|
|
'requirePerfectMatch'?: boolean;
|
|
|
|
static discriminator: string | undefined = undefined;
|
|
|
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
{
|
|
"name": "skipIfEmbeddedSubtitlesPresent",
|
|
"baseName": "SkipIfEmbeddedSubtitlesPresent",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "skipIfAudioTrackMatches",
|
|
"baseName": "SkipIfAudioTrackMatches",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "downloadLanguages",
|
|
"baseName": "DownloadLanguages",
|
|
"type": "Array<string>"
|
|
},
|
|
{
|
|
"name": "downloadMovieSubtitles",
|
|
"baseName": "DownloadMovieSubtitles",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "downloadEpisodeSubtitles",
|
|
"baseName": "DownloadEpisodeSubtitles",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "openSubtitlesUsername",
|
|
"baseName": "OpenSubtitlesUsername",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "openSubtitlesPasswordHash",
|
|
"baseName": "OpenSubtitlesPasswordHash",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "isOpenSubtitleVipAccount",
|
|
"baseName": "IsOpenSubtitleVipAccount",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "requirePerfectMatch",
|
|
"baseName": "RequirePerfectMatch",
|
|
"type": "boolean"
|
|
} ];
|
|
|
|
static getAttributeTypeMap() {
|
|
return SubtitleOptions.attributeTypeMap;
|
|
}
|
|
}
|
|
|