netsparker-cloud
Version:
JavaScript client for consuming the Netsparker Cloud API.
54 lines (47 loc) • 1.3 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 { PermissionApiModel } from './permissionApiModel';
export class RoleApiViewModel {
/**
* Id
*/
'id'?: string;
/**
* Role Name field
*/
'name'?: string;
/**
* Selected permissions for role
*/
'permissions'?: Array<PermissionApiModel>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "id",
"baseName": "Id",
"type": "string"
},
{
"name": "name",
"baseName": "Name",
"type": "string"
},
{
"name": "permissions",
"baseName": "Permissions",
"type": "Array<PermissionApiModel>"
} ];
static getAttributeTypeMap() {
return RoleApiViewModel.attributeTypeMap;
}
}