@openshift-migration-advisor/planner-sdk 0.20.2-cdd9e28947f3 → 0.20.3
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/Host.d.ts +0 -8
- package/dist/esm/models/Host.js +0 -4
- package/dist/esm/models/Inventory.d.ts +0 -4
- package/dist/esm/models/Inventory.js +0 -2
- package/dist/models/Host.d.ts +0 -8
- package/dist/models/Host.js +0 -4
- package/dist/models/Inventory.d.ts +0 -4
- package/dist/models/Inventory.js +0 -2
- package/docs/Host.md +0 -4
- package/docs/Inventory.md +0 -2
- package/package.json +1 -1
- package/src/models/Host.ts +0 -12
- package/src/models/Inventory.ts +0 -6
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/planner-sdk@0.20.
|
|
1
|
+
# @openshift-migration-advisor/planner-sdk@0.20.3
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -192,7 +192,7 @@ and is automatically generated by the
|
|
|
192
192
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
193
193
|
|
|
194
194
|
- API version: `v1alpha1`
|
|
195
|
-
- Package version: `0.20.
|
|
195
|
+
- Package version: `0.20.3`
|
|
196
196
|
- Generator version: `7.25.0-SNAPSHOT`
|
|
197
197
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
198
198
|
|
|
@@ -39,14 +39,6 @@ export interface Host {
|
|
|
39
39
|
* Host memory in MB
|
|
40
40
|
*/
|
|
41
41
|
memoryMB?: number | null;
|
|
42
|
-
/**
|
|
43
|
-
* Whether vMotion is supported on this host (HostSystem.capability.vmotionSupported)
|
|
44
|
-
*/
|
|
45
|
-
vmotionSupported?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
|
|
48
|
-
*/
|
|
49
|
-
storageVmotionSupported?: boolean;
|
|
50
42
|
}
|
|
51
43
|
/**
|
|
52
44
|
* Check if a given object implements the Host interface.
|
package/dist/esm/models/Host.js
CHANGED
|
@@ -35,8 +35,6 @@ export function HostFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
|
|
36
36
|
'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
|
|
37
37
|
'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
|
|
38
|
-
'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
|
|
39
|
-
'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
|
|
40
38
|
};
|
|
41
39
|
}
|
|
42
40
|
export function HostToJSON(json) {
|
|
@@ -53,7 +51,5 @@ export function HostToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
53
51
|
'cpuCores': value['cpuCores'],
|
|
54
52
|
'cpuSockets': value['cpuSockets'],
|
|
55
53
|
'memoryMB': value['memoryMB'],
|
|
56
|
-
'vmotionSupported': value['vmotionSupported'],
|
|
57
|
-
'storageVmotionSupported': value['storageVmotionSupported'],
|
|
58
54
|
};
|
|
59
55
|
}
|
|
@@ -35,7 +35,6 @@ export function InventoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
|
|
36
36
|
'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
|
|
37
37
|
'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
|
|
38
|
-
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
39
38
|
};
|
|
40
39
|
}
|
|
41
40
|
export function InventoryToJSON(json) {
|
|
@@ -50,6 +49,5 @@ export function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
49
|
'vcenter_version': value['vcenterVersion'],
|
|
51
50
|
'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
|
|
52
51
|
'vcenter': InventoryDataToJSON(value['vcenter']),
|
|
53
|
-
'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
54
52
|
};
|
|
55
53
|
}
|
package/dist/models/Host.d.ts
CHANGED
|
@@ -39,14 +39,6 @@ export interface Host {
|
|
|
39
39
|
* Host memory in MB
|
|
40
40
|
*/
|
|
41
41
|
memoryMB?: number | null;
|
|
42
|
-
/**
|
|
43
|
-
* Whether vMotion is supported on this host (HostSystem.capability.vmotionSupported)
|
|
44
|
-
*/
|
|
45
|
-
vmotionSupported?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
|
|
48
|
-
*/
|
|
49
|
-
storageVmotionSupported?: boolean;
|
|
50
42
|
}
|
|
51
43
|
/**
|
|
52
44
|
* Check if a given object implements the Host interface.
|
package/dist/models/Host.js
CHANGED
|
@@ -42,8 +42,6 @@ function HostFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
|
|
43
43
|
'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
|
|
44
44
|
'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
|
|
45
|
-
'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
|
|
46
|
-
'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
|
|
47
45
|
};
|
|
48
46
|
}
|
|
49
47
|
function HostToJSON(json) {
|
|
@@ -60,7 +58,5 @@ function HostToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
60
58
|
'cpuCores': value['cpuCores'],
|
|
61
59
|
'cpuSockets': value['cpuSockets'],
|
|
62
60
|
'memoryMB': value['memoryMB'],
|
|
63
|
-
'vmotionSupported': value['vmotionSupported'],
|
|
64
|
-
'storageVmotionSupported': value['storageVmotionSupported'],
|
|
65
61
|
};
|
|
66
62
|
}
|
package/dist/models/Inventory.js
CHANGED
|
@@ -42,7 +42,6 @@ function InventoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
|
|
43
43
|
'clusters': ((0, runtime_js_1.mapValues)(json['clusters'], InventoryData_js_1.InventoryDataFromJSON)),
|
|
44
44
|
'vcenter': json['vcenter'] == null ? undefined : (0, InventoryData_js_1.InventoryDataFromJSON)(json['vcenter']),
|
|
45
|
-
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
46
45
|
};
|
|
47
46
|
}
|
|
48
47
|
function InventoryToJSON(json) {
|
|
@@ -57,6 +56,5 @@ function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
57
56
|
'vcenter_version': value['vcenterVersion'],
|
|
58
57
|
'clusters': ((0, runtime_js_1.mapValues)(value['clusters'], InventoryData_js_1.InventoryDataToJSON)),
|
|
59
58
|
'vcenter': (0, InventoryData_js_1.InventoryDataToJSON)(value['vcenter']),
|
|
60
|
-
'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
61
59
|
};
|
|
62
60
|
}
|
package/docs/Host.md
CHANGED
|
@@ -12,8 +12,6 @@ Name | Type
|
|
|
12
12
|
`cpuCores` | number
|
|
13
13
|
`cpuSockets` | number
|
|
14
14
|
`memoryMB` | number
|
|
15
|
-
`vmotionSupported` | boolean
|
|
16
|
-
`storageVmotionSupported` | boolean
|
|
17
15
|
|
|
18
16
|
## Example
|
|
19
17
|
|
|
@@ -28,8 +26,6 @@ const example = {
|
|
|
28
26
|
"cpuCores": null,
|
|
29
27
|
"cpuSockets": null,
|
|
30
28
|
"memoryMB": null,
|
|
31
|
-
"vmotionSupported": null,
|
|
32
|
-
"storageVmotionSupported": null,
|
|
33
29
|
} satisfies Host
|
|
34
30
|
|
|
35
31
|
console.log(example)
|
package/docs/Inventory.md
CHANGED
|
@@ -10,7 +10,6 @@ Name | Type
|
|
|
10
10
|
`vcenterVersion` | string
|
|
11
11
|
`clusters` | [{ [key: string]: InventoryData; }](InventoryData.md)
|
|
12
12
|
`vcenter` | [InventoryData](InventoryData.md)
|
|
13
|
-
`createdAt` | Date
|
|
14
13
|
|
|
15
14
|
## Example
|
|
16
15
|
|
|
@@ -23,7 +22,6 @@ const example = {
|
|
|
23
22
|
"vcenterVersion": null,
|
|
24
23
|
"clusters": null,
|
|
25
24
|
"vcenter": null,
|
|
26
|
-
"createdAt": null,
|
|
27
25
|
} satisfies Inventory
|
|
28
26
|
|
|
29
27
|
console.log(example)
|
package/package.json
CHANGED
package/src/models/Host.ts
CHANGED
|
@@ -43,14 +43,6 @@ export interface Host {
|
|
|
43
43
|
* Host memory in MB
|
|
44
44
|
*/
|
|
45
45
|
memoryMB?: number | null;
|
|
46
|
-
/**
|
|
47
|
-
* Whether vMotion is supported on this host (HostSystem.capability.vmotionSupported)
|
|
48
|
-
*/
|
|
49
|
-
vmotionSupported?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
|
|
52
|
-
*/
|
|
53
|
-
storageVmotionSupported?: boolean;
|
|
54
46
|
}
|
|
55
47
|
|
|
56
48
|
/**
|
|
@@ -78,8 +70,6 @@ export function HostFromJSONTyped(json: any, ignoreDiscriminator: boolean): Host
|
|
|
78
70
|
'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
|
|
79
71
|
'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
|
|
80
72
|
'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
|
|
81
|
-
'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
|
|
82
|
-
'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
|
|
83
73
|
};
|
|
84
74
|
}
|
|
85
75
|
|
|
@@ -100,8 +90,6 @@ export function HostToJSONTyped(value?: Host | null, ignoreDiscriminator: boolea
|
|
|
100
90
|
'cpuCores': value['cpuCores'],
|
|
101
91
|
'cpuSockets': value['cpuSockets'],
|
|
102
92
|
'memoryMB': value['memoryMB'],
|
|
103
|
-
'vmotionSupported': value['vmotionSupported'],
|
|
104
|
-
'storageVmotionSupported': value['storageVmotionSupported'],
|
|
105
93
|
};
|
|
106
94
|
}
|
|
107
95
|
|
package/src/models/Inventory.ts
CHANGED
|
@@ -43,10 +43,6 @@ export interface Inventory {
|
|
|
43
43
|
*
|
|
44
44
|
*/
|
|
45
45
|
vcenter?: InventoryData;
|
|
46
|
-
/**
|
|
47
|
-
* Timestamp when the inventory data was created or collected
|
|
48
|
-
*/
|
|
49
|
-
createdAt?: Date;
|
|
50
46
|
}
|
|
51
47
|
|
|
52
48
|
/**
|
|
@@ -72,7 +68,6 @@ export function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
72
68
|
'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
|
|
73
69
|
'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
|
|
74
70
|
'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
|
|
75
|
-
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
76
71
|
};
|
|
77
72
|
}
|
|
78
73
|
|
|
@@ -91,7 +86,6 @@ export function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminat
|
|
|
91
86
|
'vcenter_version': value['vcenterVersion'],
|
|
92
87
|
'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
|
|
93
88
|
'vcenter': InventoryDataToJSON(value['vcenter']),
|
|
94
|
-
'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
95
89
|
};
|
|
96
90
|
}
|
|
97
91
|
|