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

65 lines
1.6 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 admin notification dto.
*/
export class CreateAdminNotificationRequest {
/**
* Gets or sets the notification name.
*/
'name'?: string | null;
/**
* Gets or sets the notification description.
*/
'description'?: string | null;
'notificationLevel'?: NotificationLevel | null;
/**
* Gets or sets the notification url.
*/
'url'?: string | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "Name",
"type": "string"
},
{
"name": "description",
"baseName": "Description",
"type": "string"
},
{
"name": "notificationLevel",
"baseName": "NotificationLevel",
"type": "NotificationLevel"
},
{
"name": "url",
"baseName": "Url",
"type": "string"
} ];
static getAttributeTypeMap() {
return CreateAdminNotificationRequest.attributeTypeMap;
}
}
export namespace CreateAdminNotificationRequest {
}