-
Notifications
You must be signed in to change notification settings - Fork 6
/
Issue.ts
95 lines (86 loc) · 2.23 KB
/
Issue.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/**
* Exhort API
* Vulnerability analysis with Red Hat Trusted Profile Analyzer
*
* OpenAPI spec version: 4.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CvssVector } from '../backend/CvssVector';
import { Remediation } from '../backend/Remediation';
import { Severity } from '../backend/Severity';
export class Issue {
'id'?: string;
'title'?: string;
'source'?: string;
'cvss'?: CvssVector;
'cvssScore'?: number;
'severity'?: Severity;
'cves'?: Array<string>;
'unique'?: boolean;
'remediation'?: Remediation;
static readonly discriminator: string | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "id",
"baseName": "id",
"type": "string",
"format": ""
},
{
"name": "title",
"baseName": "title",
"type": "string",
"format": ""
},
{
"name": "source",
"baseName": "source",
"type": "string",
"format": ""
},
{
"name": "cvss",
"baseName": "cvss",
"type": "CvssVector",
"format": ""
},
{
"name": "cvssScore",
"baseName": "cvssScore",
"type": "number",
"format": "float"
},
{
"name": "severity",
"baseName": "severity",
"type": "Severity",
"format": ""
},
{
"name": "cves",
"baseName": "cves",
"type": "Array<string>",
"format": ""
},
{
"name": "unique",
"baseName": "unique",
"type": "boolean",
"format": ""
},
{
"name": "remediation",
"baseName": "remediation",
"type": "Remediation",
"format": ""
} ];
static getAttributeTypeMap() {
return Issue.attributeTypeMap;
}
public constructor() {
}
}