@openshift-migration-advisor/planner-sdk 0.32.0-d0c6361703a9 → 0.33.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.
@@ -100,7 +100,6 @@ docs/SourceUpdate.md
100
100
  docs/StandaloneClusterRequirementsRequest.md
101
101
  docs/StandaloneClusterRequirementsResponse.md
102
102
  docs/Status.md
103
- docs/StorageArray.md
104
103
  docs/StorageIoConfiguration.md
105
104
  docs/SubResource.md
106
105
  docs/UpdateInventory.md
@@ -212,7 +211,6 @@ src/models/SourceUpdate.ts
212
211
  src/models/StandaloneClusterRequirementsRequest.ts
213
212
  src/models/StandaloneClusterRequirementsResponse.ts
214
213
  src/models/Status.ts
215
- src/models/StorageArray.ts
216
214
  src/models/StorageIoConfiguration.ts
217
215
  src/models/SubResource.ts
218
216
  src/models/UpdateInventory.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/planner-sdk@0.32.0-d0c6361703a9
1
+ # @openshift-migration-advisor/planner-sdk@0.33.0
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -199,7 +199,6 @@ All URIs are relative to *https://raw.githubusercontent.com*
199
199
  - [StandaloneClusterRequirementsRequest](docs/StandaloneClusterRequirementsRequest.md)
200
200
  - [StandaloneClusterRequirementsResponse](docs/StandaloneClusterRequirementsResponse.md)
201
201
  - [Status](docs/Status.md)
202
- - [StorageArray](docs/StorageArray.md)
203
202
  - [StorageIoConfiguration](docs/StorageIoConfiguration.md)
204
203
  - [SubResource](docs/SubResource.md)
205
204
  - [UpdateInventory](docs/UpdateInventory.md)
@@ -223,7 +222,7 @@ and is automatically generated by the
223
222
  [OpenAPI Generator](https://openapi-generator.tech) project:
224
223
 
225
224
  - API version: `v1alpha1`
226
- - Package version: `0.32.0-d0c6361703a9`
225
+ - Package version: `0.33.0`
227
226
  - Generator version: `7.28.0-SNAPSHOT`
228
227
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
229
228
 
@@ -10,21 +10,12 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { StorageIoConfiguration } from './StorageIoConfiguration.js';
13
- import type { StorageArray } from './StorageArray.js';
14
13
  /**
15
14
  *
16
15
  * @export
17
16
  * @interface Datastore
18
17
  */
19
18
  export interface Datastore {
20
- /**
21
- * Source-reported VASA arrays; absence does not establish that the datastore has no array
22
- */
23
- storageArrays?: Array<StorageArray>;
24
- /**
25
- * Source storage-container identifier, distinct from array UUID and protocol-endpoint identity
26
- */
27
- storageContainerId?: string;
28
19
  /**
29
20
  *
30
21
  */
@@ -12,7 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { StorageIoConfigurationFromJSON, StorageIoConfigurationToJSON, } from './StorageIoConfiguration.js';
15
- import { StorageArrayFromJSON, StorageArrayToJSON, } from './StorageArray.js';
16
15
  /**
17
16
  * @export
18
17
  */
@@ -51,8 +50,6 @@ export function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
51
50
  return json;
52
51
  }
53
52
  return {
54
- 'storageArrays': json['storageArrays'] == null ? undefined : (json['storageArrays'].map(StorageArrayFromJSON)),
55
- 'storageContainerId': json['storageContainerId'] == null ? undefined : json['storageContainerId'],
56
53
  'type': json['type'],
57
54
  'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
58
55
  'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
@@ -78,8 +75,6 @@ export function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
78
75
  return value;
79
76
  }
80
77
  return {
81
- 'storageArrays': value['storageArrays'] == null ? undefined : (value['storageArrays'].map(StorageArrayToJSON)),
82
- 'storageContainerId': value['storageContainerId'],
83
78
  'type': value['type'],
84
79
  'backingDeviceIds': value['backingDeviceIds'],
85
80
  'filesystemType': value['filesystemType'],
@@ -56,17 +56,13 @@ export interface Source {
56
56
  */
57
57
  infra?: SourceInfra;
58
58
  /**
59
- * The appliance version the source runs — agent-reported when connected, else the OVA-download stamp
59
+ * Agent version (version tag) stored when OVA was downloaded
60
60
  */
61
61
  agentVersion?: string | null;
62
62
  /**
63
- * Warning message if the version the source runs differs from the current appliance version
63
+ * Warning message if stored agent version differs from current agent version
64
64
  */
65
65
  agentVersionWarning?: string | null;
66
- /**
67
- * Whether the source's appliance can be updated in place with the served image; false means a new OVA must be deployed
68
- */
69
- applianceUpdateSupported?: boolean | null;
70
66
  /**
71
67
  * Indicates whether the inventory was updated automatically by an agent or manually by a user
72
68
  */
@@ -58,7 +58,6 @@ export function SourceFromJSONTyped(json, ignoreDiscriminator) {
58
58
  'infra': json['infra'] == null ? undefined : SourceInfraFromJSON(json['infra']),
59
59
  'agentVersion': json['agentVersion'] === undefined ? undefined : json['agentVersion'] === null ? null : json['agentVersion'],
60
60
  'agentVersionWarning': json['agentVersionWarning'] === undefined ? undefined : json['agentVersionWarning'] === null ? null : json['agentVersionWarning'],
61
- 'applianceUpdateSupported': json['applianceUpdateSupported'] === undefined ? undefined : json['applianceUpdateSupported'] === null ? null : json['applianceUpdateSupported'],
62
61
  'updateType': json['updateType'] == null ? undefined : json['updateType'],
63
62
  };
64
63
  }
@@ -81,7 +80,6 @@ export function SourceToJSONTyped(value, ignoreDiscriminator = false) {
81
80
  'infra': SourceInfraToJSON(value['infra']),
82
81
  'agentVersion': value['agentVersion'],
83
82
  'agentVersionWarning': value['agentVersionWarning'],
84
- 'applianceUpdateSupported': value['applianceUpdateSupported'],
85
83
  'updateType': value['updateType'],
86
84
  };
87
85
  }
@@ -87,7 +87,6 @@ export * from './SourceUpdate.js';
87
87
  export * from './StandaloneClusterRequirementsRequest.js';
88
88
  export * from './StandaloneClusterRequirementsResponse.js';
89
89
  export * from './Status.js';
90
- export * from './StorageArray.js';
91
90
  export * from './StorageIoConfiguration.js';
92
91
  export * from './SubResource.js';
93
92
  export * from './UpdateInventory.js';
@@ -89,7 +89,6 @@ export * from './SourceUpdate.js';
89
89
  export * from './StandaloneClusterRequirementsRequest.js';
90
90
  export * from './StandaloneClusterRequirementsResponse.js';
91
91
  export * from './Status.js';
92
- export * from './StorageArray.js';
93
92
  export * from './StorageIoConfiguration.js';
94
93
  export * from './SubResource.js';
95
94
  export * from './UpdateInventory.js';
@@ -10,21 +10,12 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { StorageIoConfiguration } from './StorageIoConfiguration.js';
13
- import type { StorageArray } from './StorageArray.js';
14
13
  /**
15
14
  *
16
15
  * @export
17
16
  * @interface Datastore
18
17
  */
19
18
  export interface Datastore {
20
- /**
21
- * Source-reported VASA arrays; absence does not establish that the datastore has no array
22
- */
23
- storageArrays?: Array<StorageArray>;
24
- /**
25
- * Source storage-container identifier, distinct from array UUID and protocol-endpoint identity
26
- */
27
- storageContainerId?: string;
28
19
  /**
29
20
  *
30
21
  */
@@ -20,7 +20,6 @@ exports.DatastoreFromJSONTyped = DatastoreFromJSONTyped;
20
20
  exports.DatastoreToJSON = DatastoreToJSON;
21
21
  exports.DatastoreToJSONTyped = DatastoreToJSONTyped;
22
22
  const StorageIoConfiguration_js_1 = require("./StorageIoConfiguration.js");
23
- const StorageArray_js_1 = require("./StorageArray.js");
24
23
  /**
25
24
  * @export
26
25
  */
@@ -59,8 +58,6 @@ function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
59
58
  return json;
60
59
  }
61
60
  return {
62
- 'storageArrays': json['storageArrays'] == null ? undefined : (json['storageArrays'].map(StorageArray_js_1.StorageArrayFromJSON)),
63
- 'storageContainerId': json['storageContainerId'] == null ? undefined : json['storageContainerId'],
64
61
  'type': json['type'],
65
62
  'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
66
63
  'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
@@ -86,8 +83,6 @@ function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
86
83
  return value;
87
84
  }
88
85
  return {
89
- 'storageArrays': value['storageArrays'] == null ? undefined : (value['storageArrays'].map(StorageArray_js_1.StorageArrayToJSON)),
90
- 'storageContainerId': value['storageContainerId'],
91
86
  'type': value['type'],
92
87
  'backingDeviceIds': value['backingDeviceIds'],
93
88
  'filesystemType': value['filesystemType'],
@@ -56,17 +56,13 @@ export interface Source {
56
56
  */
57
57
  infra?: SourceInfra;
58
58
  /**
59
- * The appliance version the source runs — agent-reported when connected, else the OVA-download stamp
59
+ * Agent version (version tag) stored when OVA was downloaded
60
60
  */
61
61
  agentVersion?: string | null;
62
62
  /**
63
- * Warning message if the version the source runs differs from the current appliance version
63
+ * Warning message if stored agent version differs from current agent version
64
64
  */
65
65
  agentVersionWarning?: string | null;
66
- /**
67
- * Whether the source's appliance can be updated in place with the served image; false means a new OVA must be deployed
68
- */
69
- applianceUpdateSupported?: boolean | null;
70
66
  /**
71
67
  * Indicates whether the inventory was updated automatically by an agent or manually by a user
72
68
  */
@@ -66,7 +66,6 @@ function SourceFromJSONTyped(json, ignoreDiscriminator) {
66
66
  'infra': json['infra'] == null ? undefined : (0, SourceInfra_js_1.SourceInfraFromJSON)(json['infra']),
67
67
  'agentVersion': json['agentVersion'] === undefined ? undefined : json['agentVersion'] === null ? null : json['agentVersion'],
68
68
  'agentVersionWarning': json['agentVersionWarning'] === undefined ? undefined : json['agentVersionWarning'] === null ? null : json['agentVersionWarning'],
69
- 'applianceUpdateSupported': json['applianceUpdateSupported'] === undefined ? undefined : json['applianceUpdateSupported'] === null ? null : json['applianceUpdateSupported'],
70
69
  'updateType': json['updateType'] == null ? undefined : json['updateType'],
71
70
  };
72
71
  }
@@ -89,7 +88,6 @@ function SourceToJSONTyped(value, ignoreDiscriminator = false) {
89
88
  'infra': (0, SourceInfra_js_1.SourceInfraToJSON)(value['infra']),
90
89
  'agentVersion': value['agentVersion'],
91
90
  'agentVersionWarning': value['agentVersionWarning'],
92
- 'applianceUpdateSupported': value['applianceUpdateSupported'],
93
91
  'updateType': value['updateType'],
94
92
  };
95
93
  }
@@ -87,7 +87,6 @@ export * from './SourceUpdate.js';
87
87
  export * from './StandaloneClusterRequirementsRequest.js';
88
88
  export * from './StandaloneClusterRequirementsResponse.js';
89
89
  export * from './Status.js';
90
- export * from './StorageArray.js';
91
90
  export * from './StorageIoConfiguration.js';
92
91
  export * from './SubResource.js';
93
92
  export * from './UpdateInventory.js';
@@ -105,7 +105,6 @@ __exportStar(require("./SourceUpdate.js"), exports);
105
105
  __exportStar(require("./StandaloneClusterRequirementsRequest.js"), exports);
106
106
  __exportStar(require("./StandaloneClusterRequirementsResponse.js"), exports);
107
107
  __exportStar(require("./Status.js"), exports);
108
- __exportStar(require("./StorageArray.js"), exports);
109
108
  __exportStar(require("./StorageIoConfiguration.js"), exports);
110
109
  __exportStar(require("./SubResource.js"), exports);
111
110
  __exportStar(require("./UpdateInventory.js"), exports);
package/docs/Datastore.md CHANGED
@@ -6,8 +6,6 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `storageArrays` | [Array&lt;StorageArray&gt;](StorageArray.md)
10
- `storageContainerId` | string
11
9
  `type` | string
12
10
  `backingDeviceIds` | Array&lt;string&gt;
13
11
  `filesystemType` | string
@@ -31,8 +29,6 @@ import type { Datastore } from '@openshift-migration-advisor/planner-sdk'
31
29
 
32
30
  // TODO: Update the object below with actual values
33
31
  const example = {
34
- "storageArrays": null,
35
- "storageContainerId": null,
36
32
  "type": null,
37
33
  "backingDeviceIds": null,
38
34
  "filesystemType": null,
package/docs/Source.md CHANGED
@@ -17,7 +17,6 @@ Name | Type
17
17
  `infra` | [SourceInfra](SourceInfra.md)
18
18
  `agentVersion` | string
19
19
  `agentVersionWarning` | string
20
- `applianceUpdateSupported` | boolean
21
20
  `updateType` | string
22
21
 
23
22
  ## Example
@@ -38,7 +37,6 @@ const example = {
38
37
  "infra": null,
39
38
  "agentVersion": null,
40
39
  "agentVersionWarning": null,
41
- "applianceUpdateSupported": null,
42
40
  "updateType": null,
43
41
  } satisfies Source
44
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/planner-sdk",
3
- "version": "0.32.0-d0c6361703a9",
3
+ "version": "0.33.0",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/planner-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -20,13 +20,6 @@ import {
20
20
  StorageIoConfigurationToJSON,
21
21
  StorageIoConfigurationToJSONTyped,
22
22
  } from './StorageIoConfiguration.js';
23
- import type { StorageArray } from './StorageArray.js';
24
- import {
25
- StorageArrayFromJSON,
26
- StorageArrayFromJSONTyped,
27
- StorageArrayToJSON,
28
- StorageArrayToJSONTyped,
29
- } from './StorageArray.js';
30
23
 
31
24
  /**
32
25
  *
@@ -34,14 +27,6 @@ import {
34
27
  * @interface Datastore
35
28
  */
36
29
  export interface Datastore {
37
- /**
38
- * Source-reported VASA arrays; absence does not establish that the datastore has no array
39
- */
40
- storageArrays?: Array<StorageArray>;
41
- /**
42
- * Source storage-container identifier, distinct from array UUID and protocol-endpoint identity
43
- */
44
- storageContainerId?: string;
45
30
  /**
46
31
  *
47
32
  */
@@ -141,8 +126,6 @@ export function DatastoreFromJSONTyped(json: any, ignoreDiscriminator: boolean):
141
126
  }
142
127
  return {
143
128
 
144
- 'storageArrays': json['storageArrays'] == null ? undefined : ((json['storageArrays'] as Array<any>).map(StorageArrayFromJSON)),
145
- 'storageContainerId': json['storageContainerId'] == null ? undefined : json['storageContainerId'],
146
129
  'type': json['type'],
147
130
  'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
148
131
  'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
@@ -172,8 +155,6 @@ export function DatastoreToJSONTyped(value?: Datastore | null, ignoreDiscriminat
172
155
 
173
156
  return {
174
157
 
175
- 'storageArrays': value['storageArrays'] == null ? undefined : ((value['storageArrays'] as Array<any>).map(StorageArrayToJSON)),
176
- 'storageContainerId': value['storageContainerId'],
177
158
  'type': value['type'],
178
159
  'backingDeviceIds': value['backingDeviceIds'],
179
160
  'filesystemType': value['filesystemType'],
@@ -85,17 +85,13 @@ export interface Source {
85
85
  */
86
86
  infra?: SourceInfra;
87
87
  /**
88
- * The appliance version the source runs — agent-reported when connected, else the OVA-download stamp
88
+ * Agent version (version tag) stored when OVA was downloaded
89
89
  */
90
90
  agentVersion?: string | null;
91
91
  /**
92
- * Warning message if the version the source runs differs from the current appliance version
92
+ * Warning message if stored agent version differs from current agent version
93
93
  */
94
94
  agentVersionWarning?: string | null;
95
- /**
96
- * Whether the source's appliance can be updated in place with the served image; false means a new OVA must be deployed
97
- */
98
- applianceUpdateSupported?: boolean | null;
99
95
  /**
100
96
  * Indicates whether the inventory was updated automatically by an agent or manually by a user
101
97
  */
@@ -146,7 +142,6 @@ export function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): So
146
142
  'infra': json['infra'] == null ? undefined : SourceInfraFromJSON(json['infra']),
147
143
  'agentVersion': json['agentVersion'] === undefined ? undefined : json['agentVersion'] === null ? null : json['agentVersion'],
148
144
  'agentVersionWarning': json['agentVersionWarning'] === undefined ? undefined : json['agentVersionWarning'] === null ? null : json['agentVersionWarning'],
149
- 'applianceUpdateSupported': json['applianceUpdateSupported'] === undefined ? undefined : json['applianceUpdateSupported'] === null ? null : json['applianceUpdateSupported'],
150
145
  'updateType': json['updateType'] == null ? undefined : json['updateType'],
151
146
  };
152
147
  }
@@ -173,7 +168,6 @@ export function SourceToJSONTyped(value?: Source | null, ignoreDiscriminator: bo
173
168
  'infra': SourceInfraToJSON(value['infra']),
174
169
  'agentVersion': value['agentVersion'],
175
170
  'agentVersionWarning': value['agentVersionWarning'],
176
- 'applianceUpdateSupported': value['applianceUpdateSupported'],
177
171
  'updateType': value['updateType'],
178
172
  };
179
173
  }
@@ -89,7 +89,6 @@ export * from './SourceUpdate.js';
89
89
  export * from './StandaloneClusterRequirementsRequest.js';
90
90
  export * from './StandaloneClusterRequirementsResponse.js';
91
91
  export * from './Status.js';
92
- export * from './StorageArray.js';
93
92
  export * from './StorageIoConfiguration.js';
94
93
  export * from './SubResource.js';
95
94
  export * from './UpdateInventory.js';
@@ -1,42 +0,0 @@
1
- /**
2
- * OpenShift Migration Advisor API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1alpha1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Authoritative source VASA array identity associated with this datastore; distinct from LUN inquiry metadata and storage-container identity
14
- * @export
15
- * @interface StorageArray
16
- */
17
- export interface StorageArray {
18
- /**
19
- * Array UUID reported by the source, when available
20
- */
21
- uuid?: string;
22
- /**
23
- *
24
- */
25
- name?: string;
26
- /**
27
- * VASA vendor ID, not a SCSI inquiry vendor
28
- */
29
- vendorId?: string;
30
- /**
31
- * VASA model ID, not a SCSI inquiry model
32
- */
33
- modelId?: string;
34
- }
35
- /**
36
- * Check if a given object implements the StorageArray interface.
37
- */
38
- export declare function instanceOfStorageArray(value: object): value is StorageArray;
39
- export declare function StorageArrayFromJSON(json: any): StorageArray;
40
- export declare function StorageArrayFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorageArray;
41
- export declare function StorageArrayToJSON(json: any): StorageArray;
42
- export declare function StorageArrayToJSONTyped(value?: StorageArray | null, ignoreDiscriminator?: boolean): any;
@@ -1,47 +0,0 @@
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
- * Check if a given object implements the StorageArray interface.
16
- */
17
- export function instanceOfStorageArray(value) {
18
- return true;
19
- }
20
- export function StorageArrayFromJSON(json) {
21
- return StorageArrayFromJSONTyped(json, false);
22
- }
23
- export function StorageArrayFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'uuid': json['uuid'] == null ? undefined : json['uuid'],
29
- 'name': json['name'] == null ? undefined : json['name'],
30
- 'vendorId': json['vendorId'] == null ? undefined : json['vendorId'],
31
- 'modelId': json['modelId'] == null ? undefined : json['modelId'],
32
- };
33
- }
34
- export function StorageArrayToJSON(json) {
35
- return StorageArrayToJSONTyped(json, false);
36
- }
37
- export function StorageArrayToJSONTyped(value, ignoreDiscriminator = false) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'uuid': value['uuid'],
43
- 'name': value['name'],
44
- 'vendorId': value['vendorId'],
45
- 'modelId': value['modelId'],
46
- };
47
- }
@@ -1,42 +0,0 @@
1
- /**
2
- * OpenShift Migration Advisor API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1alpha1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Authoritative source VASA array identity associated with this datastore; distinct from LUN inquiry metadata and storage-container identity
14
- * @export
15
- * @interface StorageArray
16
- */
17
- export interface StorageArray {
18
- /**
19
- * Array UUID reported by the source, when available
20
- */
21
- uuid?: string;
22
- /**
23
- *
24
- */
25
- name?: string;
26
- /**
27
- * VASA vendor ID, not a SCSI inquiry vendor
28
- */
29
- vendorId?: string;
30
- /**
31
- * VASA model ID, not a SCSI inquiry model
32
- */
33
- modelId?: string;
34
- }
35
- /**
36
- * Check if a given object implements the StorageArray interface.
37
- */
38
- export declare function instanceOfStorageArray(value: object): value is StorageArray;
39
- export declare function StorageArrayFromJSON(json: any): StorageArray;
40
- export declare function StorageArrayFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorageArray;
41
- export declare function StorageArrayToJSON(json: any): StorageArray;
42
- export declare function StorageArrayToJSONTyped(value?: StorageArray | null, ignoreDiscriminator?: boolean): any;
@@ -1,54 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * OpenShift Migration Advisor API
6
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
- *
8
- * The version of the OpenAPI document: v1alpha1
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfStorageArray = instanceOfStorageArray;
17
- exports.StorageArrayFromJSON = StorageArrayFromJSON;
18
- exports.StorageArrayFromJSONTyped = StorageArrayFromJSONTyped;
19
- exports.StorageArrayToJSON = StorageArrayToJSON;
20
- exports.StorageArrayToJSONTyped = StorageArrayToJSONTyped;
21
- /**
22
- * Check if a given object implements the StorageArray interface.
23
- */
24
- function instanceOfStorageArray(value) {
25
- return true;
26
- }
27
- function StorageArrayFromJSON(json) {
28
- return StorageArrayFromJSONTyped(json, false);
29
- }
30
- function StorageArrayFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'uuid': json['uuid'] == null ? undefined : json['uuid'],
36
- 'name': json['name'] == null ? undefined : json['name'],
37
- 'vendorId': json['vendorId'] == null ? undefined : json['vendorId'],
38
- 'modelId': json['modelId'] == null ? undefined : json['modelId'],
39
- };
40
- }
41
- function StorageArrayToJSON(json) {
42
- return StorageArrayToJSONTyped(json, false);
43
- }
44
- function StorageArrayToJSONTyped(value, ignoreDiscriminator = false) {
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'uuid': value['uuid'],
50
- 'name': value['name'],
51
- 'vendorId': value['vendorId'],
52
- 'modelId': value['modelId'],
53
- };
54
- }
@@ -1,41 +0,0 @@
1
-
2
- # StorageArray
3
-
4
- Authoritative source VASA array identity associated with this datastore; distinct from LUN inquiry metadata and storage-container identity
5
-
6
- ## Properties
7
-
8
- Name | Type
9
- ------------ | -------------
10
- `uuid` | string
11
- `name` | string
12
- `vendorId` | string
13
- `modelId` | string
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import type { StorageArray } from '@openshift-migration-advisor/planner-sdk'
19
-
20
- // TODO: Update the object below with actual values
21
- const example = {
22
- "uuid": null,
23
- "name": null,
24
- "vendorId": null,
25
- "modelId": null,
26
- } satisfies StorageArray
27
-
28
- console.log(example)
29
-
30
- // Convert the instance to a JSON string
31
- const exampleJSON: string = JSON.stringify(example)
32
- console.log(exampleJSON)
33
-
34
- // Parse the JSON string back to an object
35
- const exampleParsed = JSON.parse(exampleJSON) as StorageArray
36
- console.log(exampleParsed)
37
- ```
38
-
39
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
40
-
41
-
@@ -1,81 +0,0 @@
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
- * Authoritative source VASA array identity associated with this datastore; distinct from LUN inquiry metadata and storage-container identity
18
- * @export
19
- * @interface StorageArray
20
- */
21
- export interface StorageArray {
22
- /**
23
- * Array UUID reported by the source, when available
24
- */
25
- uuid?: string;
26
- /**
27
- *
28
- */
29
- name?: string;
30
- /**
31
- * VASA vendor ID, not a SCSI inquiry vendor
32
- */
33
- vendorId?: string;
34
- /**
35
- * VASA model ID, not a SCSI inquiry model
36
- */
37
- modelId?: string;
38
- }
39
-
40
- /**
41
- * Check if a given object implements the StorageArray interface.
42
- */
43
- export function instanceOfStorageArray(value: object): value is StorageArray {
44
- return true;
45
- }
46
-
47
- export function StorageArrayFromJSON(json: any): StorageArray {
48
- return StorageArrayFromJSONTyped(json, false);
49
- }
50
-
51
- export function StorageArrayFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorageArray {
52
- if (json == null) {
53
- return json;
54
- }
55
- return {
56
-
57
- 'uuid': json['uuid'] == null ? undefined : json['uuid'],
58
- 'name': json['name'] == null ? undefined : json['name'],
59
- 'vendorId': json['vendorId'] == null ? undefined : json['vendorId'],
60
- 'modelId': json['modelId'] == null ? undefined : json['modelId'],
61
- };
62
- }
63
-
64
- export function StorageArrayToJSON(json: any): StorageArray {
65
- return StorageArrayToJSONTyped(json, false);
66
- }
67
-
68
- export function StorageArrayToJSONTyped(value?: StorageArray | null, ignoreDiscriminator: boolean = false): any {
69
- if (value == null) {
70
- return value;
71
- }
72
-
73
- return {
74
-
75
- 'uuid': value['uuid'],
76
- 'name': value['name'],
77
- 'vendorId': value['vendorId'],
78
- 'modelId': value['modelId'],
79
- };
80
- }
81
-