137 lines
3.7 KiB
TypeScript
137 lines
3.7 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 { ChannelItemSortField } from './channelItemSortField';
|
||
|
import { ChannelMediaContentType } from './channelMediaContentType';
|
||
|
import { ChannelMediaType } from './channelMediaType';
|
||
|
|
||
|
export class ChannelFeatures {
|
||
|
/**
|
||
|
* Gets or sets the name.
|
||
|
*/
|
||
|
'name'?: string;
|
||
|
/**
|
||
|
* Gets or sets the identifier.
|
||
|
*/
|
||
|
'id'?: string;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether this instance can search.
|
||
|
*/
|
||
|
'canSearch'?: boolean;
|
||
|
/**
|
||
|
* Gets or sets the media types.
|
||
|
*/
|
||
|
'mediaTypes'?: Array<ChannelMediaType>;
|
||
|
/**
|
||
|
* Gets or sets the content types.
|
||
|
*/
|
||
|
'contentTypes'?: Array<ChannelMediaContentType>;
|
||
|
/**
|
||
|
* Gets or sets the maximum number of records the channel allows retrieving at a time.
|
||
|
*/
|
||
|
'maxPageSize'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the automatic refresh levels.
|
||
|
*/
|
||
|
'autoRefreshLevels'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the default sort orders.
|
||
|
*/
|
||
|
'defaultSortFields'?: Array<ChannelItemSortField>;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether a sort ascending/descending toggle is supported.
|
||
|
*/
|
||
|
'supportsSortOrderToggle'?: boolean;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether [supports latest media].
|
||
|
*/
|
||
|
'supportsLatestMedia'?: boolean;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether this instance can filter.
|
||
|
*/
|
||
|
'canFilter'?: boolean;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether [supports content downloading].
|
||
|
*/
|
||
|
'supportsContentDownloading'?: boolean;
|
||
|
|
||
|
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": "canSearch",
|
||
|
"baseName": "CanSearch",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "mediaTypes",
|
||
|
"baseName": "MediaTypes",
|
||
|
"type": "Array<ChannelMediaType>"
|
||
|
},
|
||
|
{
|
||
|
"name": "contentTypes",
|
||
|
"baseName": "ContentTypes",
|
||
|
"type": "Array<ChannelMediaContentType>"
|
||
|
},
|
||
|
{
|
||
|
"name": "maxPageSize",
|
||
|
"baseName": "MaxPageSize",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "autoRefreshLevels",
|
||
|
"baseName": "AutoRefreshLevels",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "defaultSortFields",
|
||
|
"baseName": "DefaultSortFields",
|
||
|
"type": "Array<ChannelItemSortField>"
|
||
|
},
|
||
|
{
|
||
|
"name": "supportsSortOrderToggle",
|
||
|
"baseName": "SupportsSortOrderToggle",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "supportsLatestMedia",
|
||
|
"baseName": "SupportsLatestMedia",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "canFilter",
|
||
|
"baseName": "CanFilter",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "supportsContentDownloading",
|
||
|
"baseName": "SupportsContentDownloading",
|
||
|
"type": "boolean"
|
||
|
} ];
|
||
|
|
||
|
static getAttributeTypeMap() {
|
||
|
return ChannelFeatures.attributeTypeMap;
|
||
|
}
|
||
|
}
|
||
|
|