@openshift-migration-advisor/agent-sdk 0.30.0-7acb6729bac7 → 0.30.0-d689d7b6eb5f
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 +4 -0
- package/dist/esm/models/VirtualMachineDetail.js +2 -0
- package/dist/models/VirtualMachineDetail.d.ts +4 -0
- package/dist/models/VirtualMachineDetail.js +2 -0
- package/docs/VirtualMachineDetail.md +2 -0
- package/package.json +1 -1
- package/src/models/VirtualMachineDetail.ts +6 -0
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-d689d7b6eb5f
|
|
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.30.0-
|
|
205
|
+
- Package version: `0.30.0-d689d7b6eb5f`
|
|
206
206
|
- Generator version: `7.28.0-SNAPSHOT`
|
|
207
207
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
208
208
|
|
|
@@ -32,6 +32,10 @@ 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;
|
|
35
39
|
/**
|
|
36
40
|
* Identifier of the vCenter this VirtualMachine belongs to
|
|
37
41
|
*/
|
|
@@ -58,6 +58,7 @@ 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'],
|
|
61
62
|
'vCenterID': json['vCenterID'],
|
|
62
63
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
63
64
|
'firmware': json['firmware'] == null ? undefined : json['firmware'],
|
|
@@ -107,6 +108,7 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
107
108
|
return {
|
|
108
109
|
'id': value['id'],
|
|
109
110
|
'name': value['name'],
|
|
111
|
+
'annotation': value['annotation'],
|
|
110
112
|
'vCenterID': value['vCenterID'],
|
|
111
113
|
'uuid': value['uuid'],
|
|
112
114
|
'firmware': value['firmware'],
|
|
@@ -32,6 +32,10 @@ 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;
|
|
35
39
|
/**
|
|
36
40
|
* Identifier of the vCenter this VirtualMachine belongs to
|
|
37
41
|
*/
|
|
@@ -65,6 +65,7 @@ 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'],
|
|
68
69
|
'vCenterID': json['vCenterID'],
|
|
69
70
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
70
71
|
'firmware': json['firmware'] == null ? undefined : json['firmware'],
|
|
@@ -114,6 +115,7 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
114
115
|
return {
|
|
115
116
|
'id': value['id'],
|
|
116
117
|
'name': value['name'],
|
|
118
|
+
'annotation': value['annotation'],
|
|
117
119
|
'vCenterID': value['vCenterID'],
|
|
118
120
|
'uuid': value['uuid'],
|
|
119
121
|
'firmware': value['firmware'],
|
|
@@ -8,6 +8,7 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | string
|
|
10
10
|
`name` | string
|
|
11
|
+
`annotation` | string
|
|
11
12
|
`vCenterID` | string
|
|
12
13
|
`uuid` | string
|
|
13
14
|
`firmware` | string
|
|
@@ -55,6 +56,7 @@ import type { VirtualMachineDetail } from '@openshift-migration-advisor/agent-sd
|
|
|
55
56
|
const example = {
|
|
56
57
|
"id": null,
|
|
57
58
|
"name": null,
|
|
59
|
+
"annotation": null,
|
|
58
60
|
"vCenterID": null,
|
|
59
61
|
"uuid": null,
|
|
60
62
|
"firmware": null,
|
package/package.json
CHANGED
|
@@ -91,6 +91,10 @@ 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;
|
|
94
98
|
/**
|
|
95
99
|
* Identifier of the vCenter this VirtualMachine belongs to
|
|
96
100
|
*/
|
|
@@ -271,6 +275,7 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
271
275
|
|
|
272
276
|
'id': json['id'],
|
|
273
277
|
'name': json['name'],
|
|
278
|
+
'annotation': json['annotation'] == null ? undefined : json['annotation'],
|
|
274
279
|
'vCenterID': json['vCenterID'],
|
|
275
280
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
276
281
|
'firmware': json['firmware'] == null ? undefined : json['firmware'],
|
|
@@ -324,6 +329,7 @@ export function VirtualMachineDetailToJSONTyped(value?: Omit<VirtualMachineDetai
|
|
|
324
329
|
|
|
325
330
|
'id': value['id'],
|
|
326
331
|
'name': value['name'],
|
|
332
|
+
'annotation': value['annotation'],
|
|
327
333
|
'vCenterID': value['vCenterID'],
|
|
328
334
|
'uuid': value['uuid'],
|
|
329
335
|
'firmware': value['firmware'],
|