-
Notifications
You must be signed in to change notification settings - Fork 6
/
DependencyReport.ts
70 lines (63 loc) · 1.81 KB
/
DependencyReport.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
/**
* 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 { Issue } from '../backend/Issue';
import { TransitiveDependencyReport } from '../backend/TransitiveDependencyReport';
export class DependencyReport {
/**
* PackageURL used to identify a dependency artifact
*/
'ref'?: string;
'issues'?: Array<Issue>;
'transitive'?: Array<TransitiveDependencyReport>;
/**
* PackageURL used to identify a dependency artifact
*/
'recommendation'?: string;
'highestVulnerability'?: Issue;
static readonly discriminator: string | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "ref",
"baseName": "ref",
"type": "string",
"format": ""
},
{
"name": "issues",
"baseName": "issues",
"type": "Array<Issue>",
"format": ""
},
{
"name": "transitive",
"baseName": "transitive",
"type": "Array<TransitiveDependencyReport>",
"format": ""
},
{
"name": "recommendation",
"baseName": "recommendation",
"type": "string",
"format": ""
},
{
"name": "highestVulnerability",
"baseName": "highestVulnerability",
"type": "Issue",
"format": ""
} ];
static getAttributeTypeMap() {
return DependencyReport.attributeTypeMap;
}
public constructor() {
}
}