netsparker-cloud
Version:
JavaScript client for consuming the Netsparker Cloud API.
131 lines (124 loc) • 3.53 kB
text/typescript
/**
* 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';
/**
* Represents a model for carrying out an update incremental scan notification data
*/
export class UpdateScheduledIncrementalScanApiModel {
/**
* Gets or sets a value indicating whether scheduled scan is disabled.
*/
'disabled'?: boolean;
/**
* Gets or sets the scan identifier.
*/
'id': string;
/**
* Gets or sets a value indicating whether max scan duration is enabled.
*/
'isMaxScanDurationEnabled'?: boolean;
/**
* Gets or sets the maximum duration of the scan in hours.
*/
'maxScanDuration'?: number;
/**
* Gets or sets the name.
*/
'name': string;
/**
* Gets or sets the next execution time. Date string must be in the same format as in the account settings.
*/
'nextExecutionTime': string;
/**
* Gets or sets the run interval of scheduled scan.
*/
'scheduleRunType': UpdateScheduledIncrementalScanApiModel.ScheduleRunTypeEnum;
/**
* Gets or sets the tags
*/
'tags'?: Array<string>;
/**
* Gets or sets the agent name.
*/
'agentName'?: string;
/**
* Gets or sets the base scan identifier.
*/
'baseScanId': string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "disabled",
"baseName": "Disabled",
"type": "boolean"
},
{
"name": "id",
"baseName": "Id",
"type": "string"
},
{
"name": "isMaxScanDurationEnabled",
"baseName": "IsMaxScanDurationEnabled",
"type": "boolean"
},
{
"name": "maxScanDuration",
"baseName": "MaxScanDuration",
"type": "number"
},
{
"name": "name",
"baseName": "Name",
"type": "string"
},
{
"name": "nextExecutionTime",
"baseName": "NextExecutionTime",
"type": "string"
},
{
"name": "scheduleRunType",
"baseName": "ScheduleRunType",
"type": "UpdateScheduledIncrementalScanApiModel.ScheduleRunTypeEnum"
},
{
"name": "tags",
"baseName": "Tags",
"type": "Array<string>"
},
{
"name": "agentName",
"baseName": "AgentName",
"type": "string"
},
{
"name": "baseScanId",
"baseName": "BaseScanId",
"type": "string"
} ];
static getAttributeTypeMap() {
return UpdateScheduledIncrementalScanApiModel.attributeTypeMap;
}
}
export namespace UpdateScheduledIncrementalScanApiModel {
export enum ScheduleRunTypeEnum {
Once = <any> 'Once',
Daily = <any> 'Daily',
Weekly = <any> 'Weekly',
Monthly = <any> 'Monthly',
Quarterly = <any> 'Quarterly',
Biannually = <any> 'Biannually',
Yearly = <any> 'Yearly',
Custom = <any> 'Custom'
}
}