101 lines
2.5 KiB
TypeScript
101 lines
2.5 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 { NotificationLevel } from './notificationLevel';
|
|
|
|
/**
|
|
* The notification DTO.
|
|
*/
|
|
export class NotificationDto {
|
|
/**
|
|
* Gets or sets the notification ID. Defaults to an empty string.
|
|
*/
|
|
'id'?: string;
|
|
/**
|
|
* Gets or sets the notification\'s user ID. Defaults to an empty string.
|
|
*/
|
|
'userId'?: string;
|
|
/**
|
|
* Gets or sets the notification date.
|
|
*/
|
|
'date'?: Date;
|
|
/**
|
|
* Gets or sets a value indicating whether the notification has been read. Defaults to false.
|
|
*/
|
|
'isRead'?: boolean;
|
|
/**
|
|
* Gets or sets the notification\'s name. Defaults to an empty string.
|
|
*/
|
|
'name'?: string;
|
|
/**
|
|
* Gets or sets the notification\'s description. Defaults to an empty string.
|
|
*/
|
|
'description'?: string;
|
|
/**
|
|
* Gets or sets the notification\'s URL. Defaults to an empty string.
|
|
*/
|
|
'url'?: string;
|
|
'level'?: NotificationLevel;
|
|
|
|
static discriminator: string | undefined = undefined;
|
|
|
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
{
|
|
"name": "id",
|
|
"baseName": "Id",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "userId",
|
|
"baseName": "UserId",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"baseName": "Date",
|
|
"type": "Date"
|
|
},
|
|
{
|
|
"name": "isRead",
|
|
"baseName": "IsRead",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"baseName": "Name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"baseName": "Description",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "url",
|
|
"baseName": "Url",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "level",
|
|
"baseName": "Level",
|
|
"type": "NotificationLevel"
|
|
} ];
|
|
|
|
static getAttributeTypeMap() {
|
|
return NotificationDto.attributeTypeMap;
|
|
}
|
|
}
|
|
|
|
export namespace NotificationDto {
|
|
}
|