@openshift-migration-advisor/planner-sdk 0.30.0 → 0.31.0-3530a4e580e1

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.
Files changed (51) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +6 -3
  4. package/dist/apis/AssessmentApi.d.ts +43 -0
  5. package/dist/apis/AssessmentApi.js +42 -0
  6. package/dist/esm/apis/AssessmentApi.d.ts +43 -0
  7. package/dist/esm/apis/AssessmentApi.js +42 -0
  8. package/dist/esm/models/Datastore.d.ts +14 -2
  9. package/dist/esm/models/Datastore.js +6 -0
  10. package/dist/esm/models/Host.d.ts +10 -0
  11. package/dist/esm/models/Host.js +6 -0
  12. package/dist/esm/models/HostStorageAdapter.d.ts +58 -0
  13. package/dist/esm/models/HostStorageAdapter.js +55 -0
  14. package/dist/esm/models/HostStorageLun.d.ts +50 -0
  15. package/dist/esm/models/HostStorageLun.js +51 -0
  16. package/dist/esm/models/Inventory.d.ts +5 -1
  17. package/dist/esm/models/Inventory.js +2 -0
  18. package/dist/esm/models/InventoryV2.d.ts +4 -0
  19. package/dist/esm/models/InventoryV2.js +2 -0
  20. package/dist/esm/models/index.d.ts +2 -0
  21. package/dist/esm/models/index.js +2 -0
  22. package/dist/models/Datastore.d.ts +14 -2
  23. package/dist/models/Datastore.js +6 -0
  24. package/dist/models/Host.d.ts +10 -0
  25. package/dist/models/Host.js +6 -0
  26. package/dist/models/HostStorageAdapter.d.ts +58 -0
  27. package/dist/models/HostStorageAdapter.js +62 -0
  28. package/dist/models/HostStorageLun.d.ts +50 -0
  29. package/dist/models/HostStorageLun.js +58 -0
  30. package/dist/models/Inventory.d.ts +5 -1
  31. package/dist/models/Inventory.js +2 -0
  32. package/dist/models/InventoryV2.d.ts +4 -0
  33. package/dist/models/InventoryV2.js +2 -0
  34. package/dist/models/index.d.ts +2 -0
  35. package/dist/models/index.js +2 -0
  36. package/docs/AssessmentApi.md +75 -0
  37. package/docs/Datastore.md +6 -0
  38. package/docs/Host.md +4 -0
  39. package/docs/HostStorageAdapter.md +49 -0
  40. package/docs/HostStorageLun.md +45 -0
  41. package/docs/Inventory.md +2 -0
  42. package/docs/InventoryV2.md +2 -0
  43. package/package.json +1 -1
  44. package/src/apis/AssessmentApi.ts +87 -0
  45. package/src/models/Datastore.ts +20 -2
  46. package/src/models/Host.ts +27 -0
  47. package/src/models/HostStorageAdapter.ts +105 -0
  48. package/src/models/HostStorageLun.ts +93 -0
  49. package/src/models/Inventory.ts +7 -1
  50. package/src/models/InventoryV2.ts +6 -0
  51. package/src/models/index.ts +2 -0
package/docs/Inventory.md CHANGED
@@ -11,6 +11,7 @@ Name | Type
11
11
  `clusters` | [{ [key: string]: InventoryData; }](InventoryData.md)
12
12
  `vcenter` | [InventoryData](InventoryData.md)
13
13
  `createdAt` | Date
14
+ `collectionTime` | Date
14
15
 
15
16
  ## Example
16
17
 
@@ -24,6 +25,7 @@ const example = {
24
25
  "clusters": null,
25
26
  "vcenter": null,
26
27
  "createdAt": null,
28
+ "collectionTime": null,
27
29
  } satisfies Inventory
28
30
 
29
31
  console.log(example)
@@ -10,6 +10,7 @@ Name | Type
10
10
  `data` | [InventoryData](InventoryData.md)
11
11
  `vcenterVersion` | string
12
12
  `createdAt` | Date
13
+ `collectionTime` | Date
13
14
 
14
15
  ## Example
15
16
 
@@ -22,6 +23,7 @@ const example = {
22
23
  "data": null,
23
24
  "vcenterVersion": null,
24
25
  "createdAt": null,
26
+ "collectionTime": null,
25
27
  } satisfies InventoryV2
26
28
 
27
29
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/planner-sdk",
3
- "version": "0.30.0",
3
+ "version": "0.31.0-3530a4e580e1",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/planner-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -157,6 +157,17 @@ export interface DeleteAssessmentRequest {
157
157
  id: string;
158
158
  }
159
159
 
160
+ export interface DeleteVCenterRequest {
161
+ /**
162
+ * ID of the assessment
163
+ */
164
+ id: string;
165
+ /**
166
+ * ID of the vcenter
167
+ */
168
+ vid: string;
169
+ }
170
+
160
171
  export interface GetAssessmentRequest {
161
172
  /**
162
173
  * ID of the assessment
@@ -398,6 +409,30 @@ export interface AssessmentApiInterface {
398
409
  */
399
410
  deleteAssessment(requestParameters: DeleteAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Assessment>;
400
411
 
412
+ /**
413
+ * Creates request options for deleteVCenter without sending the request
414
+ * @param {string} id ID of the assessment
415
+ * @param {string} vid ID of the vcenter
416
+ * @throws {RequiredError}
417
+ * @memberof AssessmentApiInterface
418
+ */
419
+ deleteVCenterRequestOpts(requestParameters: DeleteVCenterRequest): Promise<runtime.RequestOpts>;
420
+
421
+ /**
422
+ * Delete the specified vcenter inventory
423
+ * @param {string} id ID of the assessment
424
+ * @param {string} vid ID of the vcenter
425
+ * @param {*} [options] Override http request option.
426
+ * @throws {RequiredError}
427
+ * @memberof AssessmentApiInterface
428
+ */
429
+ deleteVCenterRaw(requestParameters: DeleteVCenterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
430
+
431
+ /**
432
+ * Delete the specified vcenter inventory
433
+ */
434
+ deleteVCenter(requestParameters: DeleteVCenterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
435
+
401
436
  /**
402
437
  * Creates request options for getAssessment without sending the request
403
438
  * @param {string} id ID of the assessment
@@ -989,6 +1024,58 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
989
1024
  return await response.value();
990
1025
  }
991
1026
 
1027
+ /**
1028
+ * Creates request options for deleteVCenter without sending the request
1029
+ */
1030
+ async deleteVCenterRequestOpts(requestParameters: DeleteVCenterRequest): Promise<runtime.RequestOpts> {
1031
+ if (requestParameters['id'] == null) {
1032
+ throw new runtime.RequiredError(
1033
+ 'id',
1034
+ 'Required parameter "id" was null or undefined when calling deleteVCenter().'
1035
+ );
1036
+ }
1037
+
1038
+ if (requestParameters['vid'] == null) {
1039
+ throw new runtime.RequiredError(
1040
+ 'vid',
1041
+ 'Required parameter "vid" was null or undefined when calling deleteVCenter().'
1042
+ );
1043
+ }
1044
+
1045
+ const queryParameters: any = {};
1046
+
1047
+ const headerParameters: runtime.HTTPHeaders = {};
1048
+
1049
+
1050
+ let urlPath = `/api/v2/assessments/{id}/vcenters/{vid}`;
1051
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
1052
+ urlPath = urlPath.replace('{vid}', encodeURIComponent(String(requestParameters['vid'])));
1053
+
1054
+ return {
1055
+ path: urlPath,
1056
+ method: 'DELETE',
1057
+ headers: headerParameters,
1058
+ query: queryParameters,
1059
+ };
1060
+ }
1061
+
1062
+ /**
1063
+ * Delete the specified vcenter inventory
1064
+ */
1065
+ async deleteVCenterRaw(requestParameters: DeleteVCenterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
1066
+ const requestOptions = await this.deleteVCenterRequestOpts(requestParameters);
1067
+ const response = await this.request(requestOptions, initOverrides);
1068
+
1069
+ return new runtime.VoidApiResponse(response);
1070
+ }
1071
+
1072
+ /**
1073
+ * Delete the specified vcenter inventory
1074
+ */
1075
+ async deleteVCenter(requestParameters: DeleteVCenterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
1076
+ await this.deleteVCenterRaw(requestParameters, initOverrides);
1077
+ }
1078
+
992
1079
  /**
993
1080
  * Creates request options for getAssessment without sending the request
994
1081
  */
@@ -31,6 +31,18 @@ export interface Datastore {
31
31
  *
32
32
  */
33
33
  type: string;
34
+ /**
35
+ * Canonical identifiers for devices backing the datastore (for example, an NAA identifier for a SCSI LUN); may be unavailable for some datastore types
36
+ */
37
+ backingDeviceIds?: Array<string>;
38
+ /**
39
+ * Filesystem type reported by the datastore, such as VMFS, NFS, or NFS41
40
+ */
41
+ filesystemType?: string;
42
+ /**
43
+ * VMFS major version when reported; omitted when unknown or not applicable
44
+ */
45
+ filesystemMajorVersion?: number;
34
46
  /**
35
47
  * Storage access category derived from Datastore.Type
36
48
  */
@@ -48,7 +60,7 @@ export interface Datastore {
48
60
  */
49
61
  freeCapacityGB: number;
50
62
  /**
51
- *
63
+ * Vendor reported by matching backing devices when available
52
64
  */
53
65
  vendor: string;
54
66
  /**
@@ -64,7 +76,7 @@ export interface Datastore {
64
76
  */
65
77
  protocolType: string;
66
78
  /**
67
- *
79
+ * Model reported by matching backing devices when available
68
80
  */
69
81
  model: string;
70
82
  /**
@@ -115,6 +127,9 @@ export function DatastoreFromJSONTyped(json: any, ignoreDiscriminator: boolean):
115
127
  return {
116
128
 
117
129
  'type': json['type'],
130
+ 'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
131
+ 'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
132
+ 'filesystemMajorVersion': json['filesystemMajorVersion'] == null ? undefined : json['filesystemMajorVersion'],
118
133
  'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
119
134
  'vsanSnapshotSupport': json['vsanSnapshotSupport'] == null ? undefined : json['vsanSnapshotSupport'],
120
135
  'totalCapacityGB': json['totalCapacityGB'],
@@ -141,6 +156,9 @@ export function DatastoreToJSONTyped(value?: Datastore | null, ignoreDiscriminat
141
156
  return {
142
157
 
143
158
  'type': value['type'],
159
+ 'backingDeviceIds': value['backingDeviceIds'],
160
+ 'filesystemType': value['filesystemType'],
161
+ 'filesystemMajorVersion': value['filesystemMajorVersion'],
144
162
  'storageProtocol': value['storageProtocol'],
145
163
  'vsanSnapshotSupport': value['vsanSnapshotSupport'],
146
164
  'totalCapacityGB': value['totalCapacityGB'],
@@ -13,6 +13,21 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
+ import type { HostStorageAdapter } from './HostStorageAdapter.js';
17
+ import {
18
+ HostStorageAdapterFromJSON,
19
+ HostStorageAdapterFromJSONTyped,
20
+ HostStorageAdapterToJSON,
21
+ HostStorageAdapterToJSONTyped,
22
+ } from './HostStorageAdapter.js';
23
+ import type { HostStorageLun } from './HostStorageLun.js';
24
+ import {
25
+ HostStorageLunFromJSON,
26
+ HostStorageLunFromJSONTyped,
27
+ HostStorageLunToJSON,
28
+ HostStorageLunToJSONTyped,
29
+ } from './HostStorageLun.js';
30
+
16
31
  /**
17
32
  *
18
33
  * @export
@@ -51,6 +66,14 @@ export interface Host {
51
66
  * Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
52
67
  */
53
68
  storageVmotionSupported?: boolean;
69
+ /**
70
+ * Available host storage adapters. Omitted when no records are available; this does not imply a complete empty inventory.
71
+ */
72
+ storageAdapters?: Array<HostStorageAdapter>;
73
+ /**
74
+ * Available host-visible LUNs and adapter associations, without per-path state or VM disk placement.
75
+ */
76
+ storageLuns?: Array<HostStorageLun>;
54
77
  }
55
78
 
56
79
  /**
@@ -80,6 +103,8 @@ export function HostFromJSONTyped(json: any, ignoreDiscriminator: boolean): Host
80
103
  'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
81
104
  'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
82
105
  'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
106
+ 'storageAdapters': json['storageAdapters'] == null ? undefined : ((json['storageAdapters'] as Array<any>).map(HostStorageAdapterFromJSON)),
107
+ 'storageLuns': json['storageLuns'] == null ? undefined : ((json['storageLuns'] as Array<any>).map(HostStorageLunFromJSON)),
83
108
  };
84
109
  }
85
110
 
@@ -102,6 +127,8 @@ export function HostToJSONTyped(value?: Host | null, ignoreDiscriminator: boolea
102
127
  'memoryMB': value['memoryMB'],
103
128
  'vmotionSupported': value['vmotionSupported'],
104
129
  'storageVmotionSupported': value['storageVmotionSupported'],
130
+ 'storageAdapters': value['storageAdapters'] == null ? undefined : ((value['storageAdapters'] as Array<any>).map(HostStorageAdapterToJSON)),
131
+ 'storageLuns': value['storageLuns'] == null ? undefined : ((value['storageLuns'] as Array<any>).map(HostStorageLunToJSON)),
105
132
  };
106
133
  }
107
134
 
@@ -0,0 +1,105 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ * Source-provided adapter facts. Missing or conflicting values are omitted.
18
+ * @export
19
+ * @interface HostStorageAdapter
20
+ */
21
+ export interface HostStorageAdapter {
22
+ /**
23
+ * Host-local adapter device name.
24
+ */
25
+ device?: string;
26
+ /**
27
+ * Source adapter key; distinct from device name.
28
+ */
29
+ key?: string;
30
+ /**
31
+ * Adapter type as supplied by the source.
32
+ */
33
+ type?: string;
34
+ /**
35
+ * Adapter protocol as supplied by the source.
36
+ */
37
+ protocol?: string;
38
+ /**
39
+ * Adapter model.
40
+ */
41
+ model?: string;
42
+ /**
43
+ * Adapter driver.
44
+ */
45
+ driver?: string;
46
+ /**
47
+ * Node WWN as identifier text, preserving leading zeros.
48
+ */
49
+ nodeWwn?: string;
50
+ /**
51
+ * Port WWN as identifier text, preserving leading zeros.
52
+ */
53
+ portWwn?: string;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the HostStorageAdapter interface.
58
+ */
59
+ export function instanceOfHostStorageAdapter(value: object): value is HostStorageAdapter {
60
+ return true;
61
+ }
62
+
63
+ export function HostStorageAdapterFromJSON(json: any): HostStorageAdapter {
64
+ return HostStorageAdapterFromJSONTyped(json, false);
65
+ }
66
+
67
+ export function HostStorageAdapterFromJSONTyped(json: any, ignoreDiscriminator: boolean): HostStorageAdapter {
68
+ if (json == null) {
69
+ return json;
70
+ }
71
+ return {
72
+
73
+ 'device': json['device'] == null ? undefined : json['device'],
74
+ 'key': json['key'] == null ? undefined : json['key'],
75
+ 'type': json['type'] == null ? undefined : json['type'],
76
+ 'protocol': json['protocol'] == null ? undefined : json['protocol'],
77
+ 'model': json['model'] == null ? undefined : json['model'],
78
+ 'driver': json['driver'] == null ? undefined : json['driver'],
79
+ 'nodeWwn': json['nodeWwn'] == null ? undefined : json['nodeWwn'],
80
+ 'portWwn': json['portWwn'] == null ? undefined : json['portWwn'],
81
+ };
82
+ }
83
+
84
+ export function HostStorageAdapterToJSON(json: any): HostStorageAdapter {
85
+ return HostStorageAdapterToJSONTyped(json, false);
86
+ }
87
+
88
+ export function HostStorageAdapterToJSONTyped(value?: HostStorageAdapter | null, ignoreDiscriminator: boolean = false): any {
89
+ if (value == null) {
90
+ return value;
91
+ }
92
+
93
+ return {
94
+
95
+ 'device': value['device'],
96
+ 'key': value['key'],
97
+ 'type': value['type'],
98
+ 'protocol': value['protocol'],
99
+ 'model': value['model'],
100
+ 'driver': value['driver'],
101
+ 'nodeWwn': value['nodeWwn'],
102
+ 'portWwn': value['portWwn'],
103
+ };
104
+ }
105
+
@@ -0,0 +1,93 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ * A host-visible LUN; missing or conflicting identity/metadata fields are omitted.
18
+ * @export
19
+ * @interface HostStorageLun
20
+ */
21
+ export interface HostStorageLun {
22
+ /**
23
+ * Canonical device name, distinct from the LUN UUID.
24
+ */
25
+ canonicalName?: string;
26
+ /**
27
+ * Source SCSI disk key.
28
+ */
29
+ key?: string;
30
+ /**
31
+ * Source-provided LUN UUID; never inferred from the device name or key.
32
+ */
33
+ lunUuid?: string;
34
+ /**
35
+ * LUN vendor.
36
+ */
37
+ vendor?: string;
38
+ /**
39
+ * LUN model.
40
+ */
41
+ model?: string;
42
+ /**
43
+ * Distinct sorted adapter device names associated with this LUN, including names whose adapter metadata is unavailable.
44
+ */
45
+ adapterDevices?: Array<string>;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the HostStorageLun interface.
50
+ */
51
+ export function instanceOfHostStorageLun(value: object): value is HostStorageLun {
52
+ return true;
53
+ }
54
+
55
+ export function HostStorageLunFromJSON(json: any): HostStorageLun {
56
+ return HostStorageLunFromJSONTyped(json, false);
57
+ }
58
+
59
+ export function HostStorageLunFromJSONTyped(json: any, ignoreDiscriminator: boolean): HostStorageLun {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+
65
+ 'canonicalName': json['canonicalName'] == null ? undefined : json['canonicalName'],
66
+ 'key': json['key'] == null ? undefined : json['key'],
67
+ 'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
68
+ 'vendor': json['vendor'] == null ? undefined : json['vendor'],
69
+ 'model': json['model'] == null ? undefined : json['model'],
70
+ 'adapterDevices': json['adapterDevices'] == null ? undefined : json['adapterDevices'],
71
+ };
72
+ }
73
+
74
+ export function HostStorageLunToJSON(json: any): HostStorageLun {
75
+ return HostStorageLunToJSONTyped(json, false);
76
+ }
77
+
78
+ export function HostStorageLunToJSONTyped(value?: HostStorageLun | null, ignoreDiscriminator: boolean = false): any {
79
+ if (value == null) {
80
+ return value;
81
+ }
82
+
83
+ return {
84
+
85
+ 'canonicalName': value['canonicalName'],
86
+ 'key': value['key'],
87
+ 'lunUuid': value['lunUuid'],
88
+ 'vendor': value['vendor'],
89
+ 'model': value['model'],
90
+ 'adapterDevices': value['adapterDevices'],
91
+ };
92
+ }
93
+
@@ -44,9 +44,13 @@ export interface Inventory {
44
44
  */
45
45
  vcenter?: InventoryData;
46
46
  /**
47
- * Timestamp when the inventory data was created or collected
47
+ * Timestamp when the inventory document was built
48
48
  */
49
49
  createdAt?: Date;
50
+ /**
51
+ * Oldest known source collection time. Agent data uses collection database creation time; RVTools uses export metadata, assuming UTC when no timezone is specified. Null when unknown.
52
+ */
53
+ collectionTime?: Date | null;
50
54
  }
51
55
 
52
56
  /**
@@ -73,6 +77,7 @@ export function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean):
73
77
  'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
74
78
  'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
75
79
  'createdAt': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
80
+ 'collectionTime': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : (parseDateTime(json['collection_time'])),
76
81
  };
77
82
  }
78
83
 
@@ -92,6 +97,7 @@ export function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminat
92
97
  'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
93
98
  'vcenter': InventoryDataToJSON(value['vcenter']),
94
99
  'created_at': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
100
+ 'collection_time': value['collectionTime'] == null ? value['collectionTime'] : serializeDateTime(value['collectionTime']),
95
101
  };
96
102
  }
97
103
 
@@ -43,6 +43,10 @@ export interface InventoryV2 {
43
43
  * Timestamp when the inventory data was created or collected
44
44
  */
45
45
  createdAt?: Date;
46
+ /**
47
+ * Oldest known source collection time. Null when unknown.
48
+ */
49
+ collectionTime?: Date | null;
46
50
  }
47
51
 
48
52
  /**
@@ -68,6 +72,7 @@ export function InventoryV2FromJSONTyped(json: any, ignoreDiscriminator: boolean
68
72
  'data': InventoryDataFromJSON(json['data']),
69
73
  'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
70
74
  'createdAt': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
75
+ 'collectionTime': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : (parseDateTime(json['collection_time'])),
71
76
  };
72
77
  }
73
78
 
@@ -86,6 +91,7 @@ export function InventoryV2ToJSONTyped(value?: InventoryV2 | null, ignoreDiscrim
86
91
  'data': InventoryDataToJSON(value['data']),
87
92
  'vcenter_version': value['vcenterVersion'],
88
93
  'created_at': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
94
+ 'collection_time': value['collectionTime'] == null ? value['collectionTime'] : serializeDateTime(value['collectionTime']),
89
95
  };
90
96
  }
91
97
 
@@ -38,6 +38,8 @@ export * from './GroupCreate.js';
38
38
  export * from './GroupUpdate.js';
39
39
  export * from './Histogram.js';
40
40
  export * from './Host.js';
41
+ export * from './HostStorageAdapter.js';
42
+ export * from './HostStorageLun.js';
41
43
  export * from './Identity.js';
42
44
  export * from './Info.js';
43
45
  export * from './Infra.js';