@openshift-migration-advisor/planner-sdk 0.29.0-6be8b373fa84 → 0.29.0-a9136aeb41ec

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/planner-sdk@0.29.0-6be8b373fa84
1
+ # @openshift-migration-advisor/planner-sdk@0.29.0-a9136aeb41ec
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -217,7 +217,7 @@ and is automatically generated by the
217
217
  [OpenAPI Generator](https://openapi-generator.tech) project:
218
218
 
219
219
  - API version: `v1alpha1`
220
- - Package version: `0.29.0-6be8b373fa84`
220
+ - Package version: `0.29.0-a9136aeb41ec`
221
221
  - Generator version: `7.27.0-SNAPSHOT`
222
222
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
223
223
 
@@ -20,6 +20,18 @@ export interface Datastore {
20
20
  *
21
21
  */
22
22
  type: string;
23
+ /**
24
+ * Canonical identifiers for devices backing the datastore (for example, an NAA identifier for a SCSI LUN); may be unavailable for some datastore types
25
+ */
26
+ backingDeviceIds?: Array<string>;
27
+ /**
28
+ * Filesystem type reported by the datastore, such as VMFS, NFS, or NFS41
29
+ */
30
+ filesystemType?: string;
31
+ /**
32
+ * VMFS major version when reported; omitted when unknown or not applicable
33
+ */
34
+ filesystemMajorVersion?: number;
23
35
  /**
24
36
  * Storage access category derived from Datastore.Type
25
37
  */
@@ -37,7 +49,7 @@ export interface Datastore {
37
49
  */
38
50
  freeCapacityGB: number;
39
51
  /**
40
- *
52
+ * Vendor reported by matching backing devices when available
41
53
  */
42
54
  vendor: string;
43
55
  /**
@@ -53,7 +65,7 @@ export interface Datastore {
53
65
  */
54
66
  protocolType: string;
55
67
  /**
56
- *
68
+ * Model reported by matching backing devices when available
57
69
  */
58
70
  model: string;
59
71
  /**
@@ -51,6 +51,9 @@ export function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
51
51
  }
52
52
  return {
53
53
  'type': json['type'],
54
+ 'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
55
+ 'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
56
+ 'filesystemMajorVersion': json['filesystemMajorVersion'] == null ? undefined : json['filesystemMajorVersion'],
54
57
  'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
55
58
  'vsanSnapshotSupport': json['vsanSnapshotSupport'] == null ? undefined : json['vsanSnapshotSupport'],
56
59
  'totalCapacityGB': json['totalCapacityGB'],
@@ -73,6 +76,9 @@ export function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
73
76
  }
74
77
  return {
75
78
  'type': value['type'],
79
+ 'backingDeviceIds': value['backingDeviceIds'],
80
+ 'filesystemType': value['filesystemType'],
81
+ 'filesystemMajorVersion': value['filesystemMajorVersion'],
76
82
  'storageProtocol': value['storageProtocol'],
77
83
  'vsanSnapshotSupport': value['vsanSnapshotSupport'],
78
84
  'totalCapacityGB': value['totalCapacityGB'],
@@ -20,6 +20,18 @@ export interface Datastore {
20
20
  *
21
21
  */
22
22
  type: string;
23
+ /**
24
+ * Canonical identifiers for devices backing the datastore (for example, an NAA identifier for a SCSI LUN); may be unavailable for some datastore types
25
+ */
26
+ backingDeviceIds?: Array<string>;
27
+ /**
28
+ * Filesystem type reported by the datastore, such as VMFS, NFS, or NFS41
29
+ */
30
+ filesystemType?: string;
31
+ /**
32
+ * VMFS major version when reported; omitted when unknown or not applicable
33
+ */
34
+ filesystemMajorVersion?: number;
23
35
  /**
24
36
  * Storage access category derived from Datastore.Type
25
37
  */
@@ -37,7 +49,7 @@ export interface Datastore {
37
49
  */
38
50
  freeCapacityGB: number;
39
51
  /**
40
- *
52
+ * Vendor reported by matching backing devices when available
41
53
  */
42
54
  vendor: string;
43
55
  /**
@@ -53,7 +65,7 @@ export interface Datastore {
53
65
  */
54
66
  protocolType: string;
55
67
  /**
56
- *
68
+ * Model reported by matching backing devices when available
57
69
  */
58
70
  model: string;
59
71
  /**
@@ -59,6 +59,9 @@ function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
59
59
  }
60
60
  return {
61
61
  'type': json['type'],
62
+ 'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
63
+ 'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
64
+ 'filesystemMajorVersion': json['filesystemMajorVersion'] == null ? undefined : json['filesystemMajorVersion'],
62
65
  'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
63
66
  'vsanSnapshotSupport': json['vsanSnapshotSupport'] == null ? undefined : json['vsanSnapshotSupport'],
64
67
  'totalCapacityGB': json['totalCapacityGB'],
@@ -81,6 +84,9 @@ function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
81
84
  }
82
85
  return {
83
86
  'type': value['type'],
87
+ 'backingDeviceIds': value['backingDeviceIds'],
88
+ 'filesystemType': value['filesystemType'],
89
+ 'filesystemMajorVersion': value['filesystemMajorVersion'],
84
90
  'storageProtocol': value['storageProtocol'],
85
91
  'vsanSnapshotSupport': value['vsanSnapshotSupport'],
86
92
  'totalCapacityGB': value['totalCapacityGB'],
package/docs/Datastore.md CHANGED
@@ -7,6 +7,9 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `type` | string
10
+ `backingDeviceIds` | Array&lt;string&gt;
11
+ `filesystemType` | string
12
+ `filesystemMajorVersion` | number
10
13
  `storageProtocol` | string
11
14
  `vsanSnapshotSupport` | boolean
12
15
  `totalCapacityGB` | number
@@ -27,6 +30,9 @@ import type { Datastore } from '@openshift-migration-advisor/planner-sdk'
27
30
  // TODO: Update the object below with actual values
28
31
  const example = {
29
32
  "type": null,
33
+ "backingDeviceIds": null,
34
+ "filesystemType": null,
35
+ "filesystemMajorVersion": null,
30
36
  "storageProtocol": null,
31
37
  "vsanSnapshotSupport": null,
32
38
  "totalCapacityGB": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/planner-sdk",
3
- "version": "0.29.0-6be8b373fa84",
3
+ "version": "0.29.0-a9136aeb41ec",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/planner-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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'],