netsparker-cloud
Version:
JavaScript client for consuming the Netsparker Cloud API.
84 lines (77 loc) • 2.41 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';
import { ContentTypeModel } from './contentTypeModel';
/**
* Represents a model for carrying out scope settings.
*/
export class ScopeSettingModel {
/**
* Gets or sets a value indicating whether to block ad networks.
*/
'blockAdNetworks'?: boolean;
/**
* Gets or sets a value indicating whether scope should be bypassed for static checks.
*/
'byPassScopeForStaticChecks'?: boolean;
/**
* Gets or sets a value indicating whether case sensitive scope is enabled.
*/
'caseSensitiveScope'?: boolean;
/**
* Gets or sets a value indicating whether content type check enabled.
*/
'contentTypeCheckEnabled'?: boolean;
/**
* Gets or sets the ignored content types.
*/
'ignoredContentTypes'?: Array<ContentTypeModel>;
/**
* Gets or sets the restricted extensions.
*/
'restrictedExtensions'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "blockAdNetworks",
"baseName": "BlockAdNetworks",
"type": "boolean"
},
{
"name": "byPassScopeForStaticChecks",
"baseName": "ByPassScopeForStaticChecks",
"type": "boolean"
},
{
"name": "caseSensitiveScope",
"baseName": "CaseSensitiveScope",
"type": "boolean"
},
{
"name": "contentTypeCheckEnabled",
"baseName": "ContentTypeCheckEnabled",
"type": "boolean"
},
{
"name": "ignoredContentTypes",
"baseName": "IgnoredContentTypes",
"type": "Array<ContentTypeModel>"
},
{
"name": "restrictedExtensions",
"baseName": "RestrictedExtensions",
"type": "string"
} ];
static getAttributeTypeMap() {
return ScopeSettingModel.attributeTypeMap;
}
}