77 lines
2.1 KiB
TypeScript
77 lines
2.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';
|
||
|
import { SendToUserType } from './sendToUserType';
|
||
|
|
||
|
export class NotificationOption {
|
||
|
'type'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets user Ids to not monitor (it\'s opt out).
|
||
|
*/
|
||
|
'disabledMonitorUsers'?: Array<string>;
|
||
|
/**
|
||
|
* Gets or sets user Ids to send to (if SendToUserMode == Custom).
|
||
|
*/
|
||
|
'sendToUsers'?: Array<string>;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether this MediaBrowser.Model.Notifications.NotificationOption is enabled.
|
||
|
*/
|
||
|
'enabled'?: boolean;
|
||
|
/**
|
||
|
* Gets or sets the disabled services.
|
||
|
*/
|
||
|
'disabledServices'?: Array<string>;
|
||
|
'sendToUserMode'?: SendToUserType;
|
||
|
|
||
|
static discriminator: string | undefined = undefined;
|
||
|
|
||
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
||
|
{
|
||
|
"name": "type",
|
||
|
"baseName": "Type",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "disabledMonitorUsers",
|
||
|
"baseName": "DisabledMonitorUsers",
|
||
|
"type": "Array<string>"
|
||
|
},
|
||
|
{
|
||
|
"name": "sendToUsers",
|
||
|
"baseName": "SendToUsers",
|
||
|
"type": "Array<string>"
|
||
|
},
|
||
|
{
|
||
|
"name": "enabled",
|
||
|
"baseName": "Enabled",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "disabledServices",
|
||
|
"baseName": "DisabledServices",
|
||
|
"type": "Array<string>"
|
||
|
},
|
||
|
{
|
||
|
"name": "sendToUserMode",
|
||
|
"baseName": "SendToUserMode",
|
||
|
"type": "SendToUserType"
|
||
|
} ];
|
||
|
|
||
|
static getAttributeTypeMap() {
|
||
|
return NotificationOption.attributeTypeMap;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export namespace NotificationOption {
|
||
|
}
|