/** * The Jira Cloud platform REST API * Jira Cloud platform REST API documentation * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * Contact: ecosystem@atlassian.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { FieldDeprecated, GroupName, ProjectRole, UserDetails } from './'; /** * Details about a notification associated with an event. * @export * @interface EventNotification */ export interface EventNotification { /** * The value of the `notificationType`: * `User` The `parameter` is the user key. * `Group` The `parameter` is the group name. * `ProjectRole` The `parameter` is the project role ID. * `UserCustomField` The `parameter` is the ID of the custom field. * `GroupCustomField` The `parameter` is the ID of the custom field. * @type {string} * @memberof EventNotification */ parameter?: string; /** * The specified user. * @type {UserDetails} * @memberof EventNotification */ user?: UserDetails; /** * The specified project role. * @type {ProjectRole} * @memberof EventNotification */ projectRole?: ProjectRole; /** * Expand options that include additional event notification details in the response. * @type {string} * @memberof EventNotification */ expand?: string; /** * The specified group. * @type {GroupName} * @memberof EventNotification */ group?: GroupName; /** * Identifies the recipients of the notification. * @type {string} * @memberof EventNotification */ notificationType?: EventNotificationNotificationTypeEnum; /** * The email address. * @type {string} * @memberof EventNotification */ emailAddress?: string; /** * The ID of the notification. * @type {number} * @memberof EventNotification */ id?: number; /** * The custom user or group field. * @type {FieldDeprecated} * @memberof EventNotification */ field?: FieldDeprecated; } export declare function EventNotificationFromJSON(json: any): EventNotification; export declare function EventNotificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventNotification; export declare function EventNotificationToJSON(value?: EventNotification): any; /** * @export * @enum {string} */ export declare enum EventNotificationNotificationTypeEnum { CurrentAssignee = "CurrentAssignee", Reporter = "Reporter", CurrentUser = "CurrentUser", ProjectLead = "ProjectLead", ComponentLead = "ComponentLead", User = "User", Group = "Group", ProjectRole = "ProjectRole", EmailAddress = "EmailAddress", AllWatchers = "AllWatchers", UserCustomField = "UserCustomField", GroupCustomField = "GroupCustomField" }