@openshift-migration-advisor/agent-sdk 0.30.0-d689d7b6eb5f → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/esm/models/VirtualMachineDetail.d.ts +0 -4
- package/dist/esm/models/VirtualMachineDetail.js +0 -2
- package/dist/esm/models/VirtualMachineNIC.d.ts +0 -12
- package/dist/esm/models/VirtualMachineNIC.js +0 -6
- package/dist/models/VirtualMachineDetail.d.ts +0 -4
- package/dist/models/VirtualMachineDetail.js +0 -2
- package/dist/models/VirtualMachineNIC.d.ts +0 -12
- package/dist/models/VirtualMachineNIC.js +0 -6
- package/docs/VirtualMachineDetail.md +0 -2
- package/docs/VirtualMachineNIC.md +0 -6
- package/package.json +1 -1
- package/src/models/VirtualMachineDetail.ts +0 -6
- package/src/models/VirtualMachineNIC.ts +0 -18
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/agent-sdk@0.
|
|
1
|
+
# @openshift-migration-advisor/agent-sdk@0.31.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -202,7 +202,7 @@ and is automatically generated by the
|
|
|
202
202
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
203
203
|
|
|
204
204
|
- API version: `v2`
|
|
205
|
-
- Package version: `0.
|
|
205
|
+
- Package version: `0.31.0`
|
|
206
206
|
- Generator version: `7.28.0-SNAPSHOT`
|
|
207
207
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
208
208
|
|
|
@@ -32,10 +32,6 @@ export interface VirtualMachineDetail {
|
|
|
32
32
|
* Display name of the VirtualMachine
|
|
33
33
|
*/
|
|
34
34
|
name: string;
|
|
35
|
-
/**
|
|
36
|
-
* Free-text notes/description for the VirtualMachine in vSphere
|
|
37
|
-
*/
|
|
38
|
-
annotation?: string;
|
|
39
35
|
/**
|
|
40
36
|
* Identifier of the vCenter this VirtualMachine belongs to
|
|
41
37
|
*/
|
|
@@ -58,7 +58,6 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
58
|
return {
|
|
59
59
|
'id': json['id'],
|
|
60
60
|
'name': json['name'],
|
|
61
|
-
'annotation': json['annotation'] == null ? undefined : json['annotation'],
|
|
62
61
|
'vCenterID': json['vCenterID'],
|
|
63
62
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
64
63
|
'firmware': json['firmware'] == null ? undefined : json['firmware'],
|
|
@@ -108,7 +107,6 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
108
107
|
return {
|
|
109
108
|
'id': value['id'],
|
|
110
109
|
'name': value['name'],
|
|
111
|
-
'annotation': value['annotation'],
|
|
112
110
|
'vCenterID': value['vCenterID'],
|
|
113
111
|
'uuid': value['uuid'],
|
|
114
112
|
'firmware': value['firmware'],
|
|
@@ -19,18 +19,6 @@ export interface VirtualMachineNIC {
|
|
|
19
19
|
* Virtual adapter model, such as Vmxnet3 or E1000
|
|
20
20
|
*/
|
|
21
21
|
adapter?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Port-group VLAN configuration when supplied; empty when unknown.
|
|
24
|
-
*/
|
|
25
|
-
vlanId?: string;
|
|
26
|
-
/**
|
|
27
|
-
* IPv4 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
|
|
28
|
-
*/
|
|
29
|
-
ipv4Addresses?: Array<string>;
|
|
30
|
-
/**
|
|
31
|
-
* IPv6 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
|
|
32
|
-
*/
|
|
33
|
-
ipv6Addresses?: Array<string>;
|
|
34
22
|
/**
|
|
35
23
|
* MAC address
|
|
36
24
|
*/
|
|
@@ -26,9 +26,6 @@ export function VirtualMachineNICFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
28
|
'adapter': json['adapter'] == null ? undefined : json['adapter'],
|
|
29
|
-
'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
|
|
30
|
-
'ipv4Addresses': json['ipv4Addresses'] == null ? undefined : json['ipv4Addresses'],
|
|
31
|
-
'ipv6Addresses': json['ipv6Addresses'] == null ? undefined : json['ipv6Addresses'],
|
|
32
29
|
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
33
30
|
'network': json['network'] == null ? undefined : json['network'],
|
|
34
31
|
'index': json['index'] == null ? undefined : json['index'],
|
|
@@ -43,9 +40,6 @@ export function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
43
40
|
}
|
|
44
41
|
return {
|
|
45
42
|
'adapter': value['adapter'],
|
|
46
|
-
'vlanId': value['vlanId'],
|
|
47
|
-
'ipv4Addresses': value['ipv4Addresses'],
|
|
48
|
-
'ipv6Addresses': value['ipv6Addresses'],
|
|
49
43
|
'mac': value['mac'],
|
|
50
44
|
'network': value['network'],
|
|
51
45
|
'index': value['index'],
|
|
@@ -32,10 +32,6 @@ export interface VirtualMachineDetail {
|
|
|
32
32
|
* Display name of the VirtualMachine
|
|
33
33
|
*/
|
|
34
34
|
name: string;
|
|
35
|
-
/**
|
|
36
|
-
* Free-text notes/description for the VirtualMachine in vSphere
|
|
37
|
-
*/
|
|
38
|
-
annotation?: string;
|
|
39
35
|
/**
|
|
40
36
|
* Identifier of the vCenter this VirtualMachine belongs to
|
|
41
37
|
*/
|
|
@@ -65,7 +65,6 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
65
|
return {
|
|
66
66
|
'id': json['id'],
|
|
67
67
|
'name': json['name'],
|
|
68
|
-
'annotation': json['annotation'] == null ? undefined : json['annotation'],
|
|
69
68
|
'vCenterID': json['vCenterID'],
|
|
70
69
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
71
70
|
'firmware': json['firmware'] == null ? undefined : json['firmware'],
|
|
@@ -115,7 +114,6 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
115
114
|
return {
|
|
116
115
|
'id': value['id'],
|
|
117
116
|
'name': value['name'],
|
|
118
|
-
'annotation': value['annotation'],
|
|
119
117
|
'vCenterID': value['vCenterID'],
|
|
120
118
|
'uuid': value['uuid'],
|
|
121
119
|
'firmware': value['firmware'],
|
|
@@ -19,18 +19,6 @@ export interface VirtualMachineNIC {
|
|
|
19
19
|
* Virtual adapter model, such as Vmxnet3 or E1000
|
|
20
20
|
*/
|
|
21
21
|
adapter?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Port-group VLAN configuration when supplied; empty when unknown.
|
|
24
|
-
*/
|
|
25
|
-
vlanId?: string;
|
|
26
|
-
/**
|
|
27
|
-
* IPv4 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
|
|
28
|
-
*/
|
|
29
|
-
ipv4Addresses?: Array<string>;
|
|
30
|
-
/**
|
|
31
|
-
* IPv6 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
|
|
32
|
-
*/
|
|
33
|
-
ipv6Addresses?: Array<string>;
|
|
34
22
|
/**
|
|
35
23
|
* MAC address
|
|
36
24
|
*/
|
|
@@ -33,9 +33,6 @@ function VirtualMachineNICFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'adapter': json['adapter'] == null ? undefined : json['adapter'],
|
|
36
|
-
'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
|
|
37
|
-
'ipv4Addresses': json['ipv4Addresses'] == null ? undefined : json['ipv4Addresses'],
|
|
38
|
-
'ipv6Addresses': json['ipv6Addresses'] == null ? undefined : json['ipv6Addresses'],
|
|
39
36
|
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
40
37
|
'network': json['network'] == null ? undefined : json['network'],
|
|
41
38
|
'index': json['index'] == null ? undefined : json['index'],
|
|
@@ -50,9 +47,6 @@ function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
47
|
}
|
|
51
48
|
return {
|
|
52
49
|
'adapter': value['adapter'],
|
|
53
|
-
'vlanId': value['vlanId'],
|
|
54
|
-
'ipv4Addresses': value['ipv4Addresses'],
|
|
55
|
-
'ipv6Addresses': value['ipv6Addresses'],
|
|
56
50
|
'mac': value['mac'],
|
|
57
51
|
'network': value['network'],
|
|
58
52
|
'index': value['index'],
|
|
@@ -8,7 +8,6 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | string
|
|
10
10
|
`name` | string
|
|
11
|
-
`annotation` | string
|
|
12
11
|
`vCenterID` | string
|
|
13
12
|
`uuid` | string
|
|
14
13
|
`firmware` | string
|
|
@@ -56,7 +55,6 @@ import type { VirtualMachineDetail } from '@openshift-migration-advisor/agent-sd
|
|
|
56
55
|
const example = {
|
|
57
56
|
"id": null,
|
|
58
57
|
"name": null,
|
|
59
|
-
"annotation": null,
|
|
60
58
|
"vCenterID": null,
|
|
61
59
|
"uuid": null,
|
|
62
60
|
"firmware": null,
|
|
@@ -7,9 +7,6 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`adapter` | string
|
|
10
|
-
`vlanId` | string
|
|
11
|
-
`ipv4Addresses` | Array<string>
|
|
12
|
-
`ipv6Addresses` | Array<string>
|
|
13
10
|
`mac` | string
|
|
14
11
|
`network` | string
|
|
15
12
|
`index` | number
|
|
@@ -22,9 +19,6 @@ import type { VirtualMachineNIC } from '@openshift-migration-advisor/agent-sdk'
|
|
|
22
19
|
// TODO: Update the object below with actual values
|
|
23
20
|
const example = {
|
|
24
21
|
"adapter": null,
|
|
25
|
-
"vlanId": null,
|
|
26
|
-
"ipv4Addresses": null,
|
|
27
|
-
"ipv6Addresses": null,
|
|
28
22
|
"mac": null,
|
|
29
23
|
"network": null,
|
|
30
24
|
"index": null,
|
package/package.json
CHANGED
|
@@ -91,10 +91,6 @@ export interface VirtualMachineDetail {
|
|
|
91
91
|
* Display name of the VirtualMachine
|
|
92
92
|
*/
|
|
93
93
|
name: string;
|
|
94
|
-
/**
|
|
95
|
-
* Free-text notes/description for the VirtualMachine in vSphere
|
|
96
|
-
*/
|
|
97
|
-
annotation?: string;
|
|
98
94
|
/**
|
|
99
95
|
* Identifier of the vCenter this VirtualMachine belongs to
|
|
100
96
|
*/
|
|
@@ -275,7 +271,6 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
275
271
|
|
|
276
272
|
'id': json['id'],
|
|
277
273
|
'name': json['name'],
|
|
278
|
-
'annotation': json['annotation'] == null ? undefined : json['annotation'],
|
|
279
274
|
'vCenterID': json['vCenterID'],
|
|
280
275
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
281
276
|
'firmware': json['firmware'] == null ? undefined : json['firmware'],
|
|
@@ -329,7 +324,6 @@ export function VirtualMachineDetailToJSONTyped(value?: Omit<VirtualMachineDetai
|
|
|
329
324
|
|
|
330
325
|
'id': value['id'],
|
|
331
326
|
'name': value['name'],
|
|
332
|
-
'annotation': value['annotation'],
|
|
333
327
|
'vCenterID': value['vCenterID'],
|
|
334
328
|
'uuid': value['uuid'],
|
|
335
329
|
'firmware': value['firmware'],
|
|
@@ -23,18 +23,6 @@ export interface VirtualMachineNIC {
|
|
|
23
23
|
* Virtual adapter model, such as Vmxnet3 or E1000
|
|
24
24
|
*/
|
|
25
25
|
adapter?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Port-group VLAN configuration when supplied; empty when unknown.
|
|
28
|
-
*/
|
|
29
|
-
vlanId?: string;
|
|
30
|
-
/**
|
|
31
|
-
* IPv4 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
|
|
32
|
-
*/
|
|
33
|
-
ipv4Addresses?: Array<string>;
|
|
34
|
-
/**
|
|
35
|
-
* IPv6 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
|
|
36
|
-
*/
|
|
37
|
-
ipv6Addresses?: Array<string>;
|
|
38
26
|
/**
|
|
39
27
|
* MAC address
|
|
40
28
|
*/
|
|
@@ -67,9 +55,6 @@ export function VirtualMachineNICFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
67
55
|
return {
|
|
68
56
|
|
|
69
57
|
'adapter': json['adapter'] == null ? undefined : json['adapter'],
|
|
70
|
-
'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
|
|
71
|
-
'ipv4Addresses': json['ipv4Addresses'] == null ? undefined : json['ipv4Addresses'],
|
|
72
|
-
'ipv6Addresses': json['ipv6Addresses'] == null ? undefined : json['ipv6Addresses'],
|
|
73
58
|
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
74
59
|
'network': json['network'] == null ? undefined : json['network'],
|
|
75
60
|
'index': json['index'] == null ? undefined : json['index'],
|
|
@@ -88,9 +73,6 @@ export function VirtualMachineNICToJSONTyped(value?: VirtualMachineNIC | null, i
|
|
|
88
73
|
return {
|
|
89
74
|
|
|
90
75
|
'adapter': value['adapter'],
|
|
91
|
-
'vlanId': value['vlanId'],
|
|
92
|
-
'ipv4Addresses': value['ipv4Addresses'],
|
|
93
|
-
'ipv6Addresses': value['ipv6Addresses'],
|
|
94
76
|
'mac': value['mac'],
|
|
95
77
|
'network': value['network'],
|
|
96
78
|
'index': value['index'],
|