UNPKG

netsparker-cloud

Version:

JavaScript client for consuming the Netsparker Cloud API.

110 lines (103 loc) 3.92 kB
/** * Invicti Enterprise API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * 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 { OutsiderRecipient } from './outsiderRecipient'; import { ScanNotificationRecipientUserApiModel } from './scanNotificationRecipientUserApiModel'; /** * Represents a model for carrying out a scan notification recipient data */ export class ScanNotificationRecipientApiModel { /** * Gets or sets the users who will be notified via OutsiderRecipients. */ 'outsiderRecipients'?: Array<OutsiderRecipient>; /** * Gets or sets the users who will be notified via Email. */ 'emailRecipientUsers'?: Array<ScanNotificationRecipientUserApiModel>; /** * Gets or sets the users who won\'t be notified */ 'excludedUsers'?: Array<ScanNotificationRecipientUserApiModel>; /** * Gets or sets the integration end points which will be notified. */ 'integrationRecipients'?: Array<string>; /** * Gets or sets the users who will be notified via SMS. */ 'smsRecipientUsers'?: Array<ScanNotificationRecipientUserApiModel>; /** * Gets or sets the specific recipients who will be notified via Email. */ 'specificEmailRecipients'?: Array<ScanNotificationRecipientApiModel.SpecificEmailRecipientsEnum>; /** * Gets or sets the specific recipients who will be notified via SMS. */ 'specificSmsRecipients'?: Array<ScanNotificationRecipientApiModel.SpecificSmsRecipientsEnum>; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "outsiderRecipients", "baseName": "OutsiderRecipients", "type": "Array<OutsiderRecipient>" }, { "name": "emailRecipientUsers", "baseName": "EmailRecipientUsers", "type": "Array<ScanNotificationRecipientUserApiModel>" }, { "name": "excludedUsers", "baseName": "ExcludedUsers", "type": "Array<ScanNotificationRecipientUserApiModel>" }, { "name": "integrationRecipients", "baseName": "IntegrationRecipients", "type": "Array<string>" }, { "name": "smsRecipientUsers", "baseName": "SmsRecipientUsers", "type": "Array<ScanNotificationRecipientUserApiModel>" }, { "name": "specificEmailRecipients", "baseName": "SpecificEmailRecipients", "type": "Array<ScanNotificationRecipientApiModel.SpecificEmailRecipientsEnum>" }, { "name": "specificSmsRecipients", "baseName": "SpecificSmsRecipients", "type": "Array<ScanNotificationRecipientApiModel.SpecificSmsRecipientsEnum>" } ]; static getAttributeTypeMap() { return ScanNotificationRecipientApiModel.attributeTypeMap; } } export namespace ScanNotificationRecipientApiModel { export enum SpecificEmailRecipientsEnum { None = <any> 'None', WebsiteTechnicalContact = <any> 'WebsiteTechnicalContact', PersonWhoStartedScan = <any> 'PersonWhoStartedScan', AllAuthorized = <any> 'AllAuthorized', AccountAdmins = <any> 'AccountAdmins' } export enum SpecificSmsRecipientsEnum { None = <any> 'None', WebsiteTechnicalContact = <any> 'WebsiteTechnicalContact', PersonWhoStartedScan = <any> 'PersonWhoStartedScan', AllAuthorized = <any> 'AllAuthorized', AccountAdmins = <any> 'AccountAdmins' } }