netsparker-cloud
Version:
JavaScript client for consuming the Netsparker Cloud API.
129 lines (122 loc) • 3.65 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 { LicenseBaseModel } from './licenseBaseModel';
/**
* Provides information about user\'s account license.
*/
export class AccountLicenseApiModel {
/**
* Gets or sets the maximum number of subscription websites that user can have.
*/
'subscriptionMaximumSiteLimit'?: number;
/**
* Gets or sets the added site count.
*/
'subscriptionSiteCount'?: number;
/**
* Gets or sets the this subscription\'s end date.
*/
'subscriptionEndDate'?: string;
/**
* Gets or sets the this subscription\'s start date.
*/
'subscriptionStartDate'?: string;
/**
* Gets or sets a value indicating whether this account is whitelisted.
*/
'isAccountWhitelisted'?: boolean;
/**
* Gets or sets the how many scan credits has been used on related account.
*/
'usedScanCreditCount'?: number;
/**
* Gets or sets the available scan credit count of account license.
*/
'scanCreditCount'?: number;
/**
* Gets or sets a value indicating whether credit scan is enabled.
*/
'isCreditScanEnabled'?: boolean;
/**
* Gets or sets a value indicating whether subscription is enabled.
*/
'isSubscriptionEnabled'?: boolean;
/**
* Gets or sets the pre-verified websites.
*/
'preVerifiedWebsites'?: Array<string>;
/**
* Gets or sets the licenses.
*/
'licenses'?: Array<LicenseBaseModel>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "subscriptionMaximumSiteLimit",
"baseName": "SubscriptionMaximumSiteLimit",
"type": "number"
},
{
"name": "subscriptionSiteCount",
"baseName": "SubscriptionSiteCount",
"type": "number"
},
{
"name": "subscriptionEndDate",
"baseName": "SubscriptionEndDate",
"type": "string"
},
{
"name": "subscriptionStartDate",
"baseName": "SubscriptionStartDate",
"type": "string"
},
{
"name": "isAccountWhitelisted",
"baseName": "IsAccountWhitelisted",
"type": "boolean"
},
{
"name": "usedScanCreditCount",
"baseName": "UsedScanCreditCount",
"type": "number"
},
{
"name": "scanCreditCount",
"baseName": "ScanCreditCount",
"type": "number"
},
{
"name": "isCreditScanEnabled",
"baseName": "IsCreditScanEnabled",
"type": "boolean"
},
{
"name": "isSubscriptionEnabled",
"baseName": "IsSubscriptionEnabled",
"type": "boolean"
},
{
"name": "preVerifiedWebsites",
"baseName": "PreVerifiedWebsites",
"type": "Array<string>"
},
{
"name": "licenses",
"baseName": "Licenses",
"type": "Array<LicenseBaseModel>"
} ];
static getAttributeTypeMap() {
return AccountLicenseApiModel.attributeTypeMap;
}
}