netsparker-cloud
Version:
JavaScript client for consuming the Netsparker Cloud API.
102 lines (95 loc) • 3.04 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 SSL/TLS settings.
*/
export class SslTlsSettingModel {
/**
* Gets or sets invalid certificate action for the external domains.
*/
'externalDomainInvalidCertificateAction'?: SslTlsSettingModel.ExternalDomainInvalidCertificateActionEnum;
/**
* Gets or sets a value indicating whether SSL v3 is enabled.
*/
'ssl3Enabled'?: boolean;
/**
* Gets or sets invalid certificate action for the target URL.
*/
'targetUrlInvalidCertificateAction'?: SslTlsSettingModel.TargetUrlInvalidCertificateActionEnum;
/**
* Gets or sets a value indicating whether TLS 1.0 is enabled.
*/
'tls10Enabled'?: boolean;
/**
* Gets or sets a value indicating whether TLS 1.1 is enabled.
*/
'tls11Enabled'?: boolean;
/**
* Gets or sets a value indicating whether TLS 1.2 is enabled.
*/
'tls12Enabled'?: boolean;
/**
* Gets or sets a value indicating whether TLS 1.3 is enabled.
*/
'tls13Enabled'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "externalDomainInvalidCertificateAction",
"baseName": "ExternalDomainInvalidCertificateAction",
"type": "SslTlsSettingModel.ExternalDomainInvalidCertificateActionEnum"
},
{
"name": "ssl3Enabled",
"baseName": "Ssl3Enabled",
"type": "boolean"
},
{
"name": "targetUrlInvalidCertificateAction",
"baseName": "TargetUrlInvalidCertificateAction",
"type": "SslTlsSettingModel.TargetUrlInvalidCertificateActionEnum"
},
{
"name": "tls10Enabled",
"baseName": "Tls10Enabled",
"type": "boolean"
},
{
"name": "tls11Enabled",
"baseName": "Tls11Enabled",
"type": "boolean"
},
{
"name": "tls12Enabled",
"baseName": "Tls12Enabled",
"type": "boolean"
},
{
"name": "tls13Enabled",
"baseName": "Tls13Enabled",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return SslTlsSettingModel.attributeTypeMap;
}
}
export namespace SslTlsSettingModel {
export enum ExternalDomainInvalidCertificateActionEnum {
Ignore = <any> 'Ignore',
Reject = <any> 'Reject'
}
export enum TargetUrlInvalidCertificateActionEnum {
Ignore = <any> 'Ignore',
Reject = <any> 'Reject'
}
}