jellyfin-discord-bot/jellyfin/model/userItemDataDto.ts
2023-04-15 22:02:40 +02:00

128 lines
3.1 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';
/**
* Class UserItemDataDto.
*/
export class UserItemDataDto {
/**
* Gets or sets the rating.
*/
'rating'?: number | null;
/**
* Gets or sets the played percentage.
*/
'playedPercentage'?: number | null;
/**
* Gets or sets the unplayed item count.
*/
'unplayedItemCount'?: number | null;
/**
* Gets or sets the playback position ticks.
*/
'playbackPositionTicks'?: number;
/**
* Gets or sets the play count.
*/
'playCount'?: number;
/**
* Gets or sets a value indicating whether this instance is favorite.
*/
'isFavorite'?: boolean;
/**
* Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UserItemDataDto is likes.
*/
'likes'?: boolean | null;
/**
* Gets or sets the last played date.
*/
'lastPlayedDate'?: Date | null;
/**
* Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UserItemDataDto is played.
*/
'played'?: boolean;
/**
* Gets or sets the key.
*/
'key'?: string | null;
/**
* Gets or sets the item identifier.
*/
'itemId'?: string | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "rating",
"baseName": "Rating",
"type": "number"
},
{
"name": "playedPercentage",
"baseName": "PlayedPercentage",
"type": "number"
},
{
"name": "unplayedItemCount",
"baseName": "UnplayedItemCount",
"type": "number"
},
{
"name": "playbackPositionTicks",
"baseName": "PlaybackPositionTicks",
"type": "number"
},
{
"name": "playCount",
"baseName": "PlayCount",
"type": "number"
},
{
"name": "isFavorite",
"baseName": "IsFavorite",
"type": "boolean"
},
{
"name": "likes",
"baseName": "Likes",
"type": "boolean"
},
{
"name": "lastPlayedDate",
"baseName": "LastPlayedDate",
"type": "Date"
},
{
"name": "played",
"baseName": "Played",
"type": "boolean"
},
{
"name": "key",
"baseName": "Key",
"type": "string"
},
{
"name": "itemId",
"baseName": "ItemId",
"type": "string"
} ];
static getAttributeTypeMap() {
return UserItemDataDto.attributeTypeMap;
}
}