jellyfin-discord-bot/jellyfin/model/displayPreferencesDto.ts

153 lines
3.8 KiB
TypeScript
Raw Normal View History

2023-04-15 22:02:40 +02:00
/**
* 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 { ScrollDirection } from './scrollDirection';
import { SortOrder } from './sortOrder';
/**
* Defines the display preferences for any item that supports them (usually Folders).
*/
export class DisplayPreferencesDto {
/**
* Gets or sets the user id.
*/
'id'?: string | null;
/**
* Gets or sets the type of the view.
*/
'viewType'?: string | null;
/**
* Gets or sets the sort by.
*/
'sortBy'?: string | null;
/**
* Gets or sets the index by.
*/
'indexBy'?: string | null;
/**
* Gets or sets a value indicating whether [remember indexing].
*/
'rememberIndexing'?: boolean;
/**
* Gets or sets the height of the primary image.
*/
'primaryImageHeight'?: number;
/**
* Gets or sets the width of the primary image.
*/
'primaryImageWidth'?: number;
/**
* Gets or sets the custom prefs.
*/
'customPrefs'?: { [key: string]: string; };
'scrollDirection'?: ScrollDirection;
/**
* Gets or sets a value indicating whether to show backdrops on this item.
*/
'showBackdrop'?: boolean;
/**
* Gets or sets a value indicating whether [remember sorting].
*/
'rememberSorting'?: boolean;
'sortOrder'?: SortOrder;
/**
* Gets or sets a value indicating whether [show sidebar].
*/
'showSidebar'?: boolean;
/**
* Gets or sets the client.
*/
'client'?: string | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "id",
"baseName": "Id",
"type": "string"
},
{
"name": "viewType",
"baseName": "ViewType",
"type": "string"
},
{
"name": "sortBy",
"baseName": "SortBy",
"type": "string"
},
{
"name": "indexBy",
"baseName": "IndexBy",
"type": "string"
},
{
"name": "rememberIndexing",
"baseName": "RememberIndexing",
"type": "boolean"
},
{
"name": "primaryImageHeight",
"baseName": "PrimaryImageHeight",
"type": "number"
},
{
"name": "primaryImageWidth",
"baseName": "PrimaryImageWidth",
"type": "number"
},
{
"name": "customPrefs",
"baseName": "CustomPrefs",
"type": "{ [key: string]: string; }"
},
{
"name": "scrollDirection",
"baseName": "ScrollDirection",
"type": "ScrollDirection"
},
{
"name": "showBackdrop",
"baseName": "ShowBackdrop",
"type": "boolean"
},
{
"name": "rememberSorting",
"baseName": "RememberSorting",
"type": "boolean"
},
{
"name": "sortOrder",
"baseName": "SortOrder",
"type": "SortOrder"
},
{
"name": "showSidebar",
"baseName": "ShowSidebar",
"type": "boolean"
},
{
"name": "client",
"baseName": "Client",
"type": "string"
} ];
static getAttributeTypeMap() {
return DisplayPreferencesDto.attributeTypeMap;
}
}
export namespace DisplayPreferencesDto {
}