@openshift-migration-advisor/agent-sdk 0.30.0-25fcb31470f7 → 0.30.0-7acb6729bac7
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/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/dist/esm/models/VirtualMachineNIC.d.ts +12 -0
- package/dist/esm/models/VirtualMachineNIC.js +6 -0
- package/dist/models/VirtualMachineNIC.d.ts +12 -0
- package/dist/models/VirtualMachineNIC.js +6 -0
- package/docs/VirtualMachineNIC.md +6 -0
- package/package.json +1 -1
- package/src/models/VirtualMachineNIC.ts +18 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.28.0-SNAPSHOT
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/agent-sdk@0.30.0-
|
|
1
|
+
# @openshift-migration-advisor/agent-sdk@0.30.0-7acb6729bac7
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -202,8 +202,8 @@ 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.30.0-
|
|
206
|
-
- Generator version: `7.
|
|
205
|
+
- Package version: `0.30.0-7acb6729bac7`
|
|
206
|
+
- Generator version: `7.28.0-SNAPSHOT`
|
|
207
207
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
208
208
|
|
|
209
209
|
The generated npm module supports the following:
|
|
@@ -19,6 +19,18 @@ 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>;
|
|
22
34
|
/**
|
|
23
35
|
* MAC address
|
|
24
36
|
*/
|
|
@@ -26,6 +26,9 @@ 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'],
|
|
29
32
|
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
30
33
|
'network': json['network'] == null ? undefined : json['network'],
|
|
31
34
|
'index': json['index'] == null ? undefined : json['index'],
|
|
@@ -40,6 +43,9 @@ export function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
40
43
|
}
|
|
41
44
|
return {
|
|
42
45
|
'adapter': value['adapter'],
|
|
46
|
+
'vlanId': value['vlanId'],
|
|
47
|
+
'ipv4Addresses': value['ipv4Addresses'],
|
|
48
|
+
'ipv6Addresses': value['ipv6Addresses'],
|
|
43
49
|
'mac': value['mac'],
|
|
44
50
|
'network': value['network'],
|
|
45
51
|
'index': value['index'],
|
|
@@ -19,6 +19,18 @@ 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>;
|
|
22
34
|
/**
|
|
23
35
|
* MAC address
|
|
24
36
|
*/
|
|
@@ -33,6 +33,9 @@ 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'],
|
|
36
39
|
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
37
40
|
'network': json['network'] == null ? undefined : json['network'],
|
|
38
41
|
'index': json['index'] == null ? undefined : json['index'],
|
|
@@ -47,6 +50,9 @@ function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
50
|
}
|
|
48
51
|
return {
|
|
49
52
|
'adapter': value['adapter'],
|
|
53
|
+
'vlanId': value['vlanId'],
|
|
54
|
+
'ipv4Addresses': value['ipv4Addresses'],
|
|
55
|
+
'ipv6Addresses': value['ipv6Addresses'],
|
|
50
56
|
'mac': value['mac'],
|
|
51
57
|
'network': value['network'],
|
|
52
58
|
'index': value['index'],
|
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`adapter` | string
|
|
10
|
+
`vlanId` | string
|
|
11
|
+
`ipv4Addresses` | Array<string>
|
|
12
|
+
`ipv6Addresses` | Array<string>
|
|
10
13
|
`mac` | string
|
|
11
14
|
`network` | string
|
|
12
15
|
`index` | number
|
|
@@ -19,6 +22,9 @@ import type { VirtualMachineNIC } from '@openshift-migration-advisor/agent-sdk'
|
|
|
19
22
|
// TODO: Update the object below with actual values
|
|
20
23
|
const example = {
|
|
21
24
|
"adapter": null,
|
|
25
|
+
"vlanId": null,
|
|
26
|
+
"ipv4Addresses": null,
|
|
27
|
+
"ipv6Addresses": null,
|
|
22
28
|
"mac": null,
|
|
23
29
|
"network": null,
|
|
24
30
|
"index": null,
|
package/package.json
CHANGED
|
@@ -23,6 +23,18 @@ 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>;
|
|
26
38
|
/**
|
|
27
39
|
* MAC address
|
|
28
40
|
*/
|
|
@@ -55,6 +67,9 @@ export function VirtualMachineNICFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
55
67
|
return {
|
|
56
68
|
|
|
57
69
|
'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'],
|
|
58
73
|
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
59
74
|
'network': json['network'] == null ? undefined : json['network'],
|
|
60
75
|
'index': json['index'] == null ? undefined : json['index'],
|
|
@@ -73,6 +88,9 @@ export function VirtualMachineNICToJSONTyped(value?: VirtualMachineNIC | null, i
|
|
|
73
88
|
return {
|
|
74
89
|
|
|
75
90
|
'adapter': value['adapter'],
|
|
91
|
+
'vlanId': value['vlanId'],
|
|
92
|
+
'ipv4Addresses': value['ipv4Addresses'],
|
|
93
|
+
'ipv6Addresses': value['ipv6Addresses'],
|
|
76
94
|
'mac': value['mac'],
|
|
77
95
|
'network': value['network'],
|
|
78
96
|
'index': value['index'],
|