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

81 lines
2.0 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 { BaseItemPersonImageBlurHashes } from './baseItemPersonImageBlurHashes';
/**
* This is used by the api to get information about a Person within a BaseItem.
*/
export class BaseItemPerson {
/**
* Gets or sets the name.
*/
'name'?: string | null;
/**
* Gets or sets the identifier.
*/
'id'?: string;
/**
* Gets or sets the role.
*/
'role'?: string | null;
/**
* Gets or sets the type.
*/
'type'?: string | null;
/**
* Gets or sets the primary image tag.
*/
'primaryImageTag'?: string | null;
'imageBlurHashes'?: BaseItemPersonImageBlurHashes | null;
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": "role",
"baseName": "Role",
"type": "string"
},
{
"name": "type",
"baseName": "Type",
"type": "string"
},
{
"name": "primaryImageTag",
"baseName": "PrimaryImageTag",
"type": "string"
},
{
"name": "imageBlurHashes",
"baseName": "ImageBlurHashes",
"type": "BaseItemPersonImageBlurHashes"
} ];
static getAttributeTypeMap() {
return BaseItemPerson.attributeTypeMap;
}
}