@openshift-migration-advisor/planner-sdk 0.26.0-7a510f020d45 → 0.28.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.
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/dist/esm/models/Datastore.d.ts +4 -0
- package/dist/esm/models/Datastore.js +2 -0
- package/dist/models/Datastore.d.ts +4 -0
- package/dist/models/Datastore.js +2 -0
- package/docs/Datastore.md +2 -0
- package/package.json +1 -1
- package/src/models/Datastore.ts +6 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.27.0-SNAPSHOT
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/planner-sdk@0.
|
|
1
|
+
# @openshift-migration-advisor/planner-sdk@0.28.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -206,8 +206,8 @@ and is automatically generated by the
|
|
|
206
206
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
207
207
|
|
|
208
208
|
- API version: `v1alpha1`
|
|
209
|
-
- Package version: `0.
|
|
210
|
-
- Generator version: `7.
|
|
209
|
+
- Package version: `0.28.0`
|
|
210
|
+
- Generator version: `7.27.0-SNAPSHOT`
|
|
211
211
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
212
212
|
|
|
213
213
|
The generated npm module supports the following:
|
|
@@ -24,6 +24,10 @@ export interface Datastore {
|
|
|
24
24
|
* Storage access category derived from Datastore.Type
|
|
25
25
|
*/
|
|
26
26
|
storageProtocol?: DatastoreStorageProtocolEnum;
|
|
27
|
+
/**
|
|
28
|
+
* Whether this datastore supports vSAN point-in-time snapshots
|
|
29
|
+
*/
|
|
30
|
+
vsanSnapshotSupport?: boolean;
|
|
27
31
|
/**
|
|
28
32
|
*
|
|
29
33
|
*/
|
|
@@ -52,6 +52,7 @@ export function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
return {
|
|
53
53
|
'type': json['type'],
|
|
54
54
|
'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
|
|
55
|
+
'vsanSnapshotSupport': json['vsanSnapshotSupport'] == null ? undefined : json['vsanSnapshotSupport'],
|
|
55
56
|
'totalCapacityGB': json['totalCapacityGB'],
|
|
56
57
|
'freeCapacityGB': json['freeCapacityGB'],
|
|
57
58
|
'vendor': json['vendor'],
|
|
@@ -73,6 +74,7 @@ export function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
73
74
|
return {
|
|
74
75
|
'type': value['type'],
|
|
75
76
|
'storageProtocol': value['storageProtocol'],
|
|
77
|
+
'vsanSnapshotSupport': value['vsanSnapshotSupport'],
|
|
76
78
|
'totalCapacityGB': value['totalCapacityGB'],
|
|
77
79
|
'freeCapacityGB': value['freeCapacityGB'],
|
|
78
80
|
'vendor': value['vendor'],
|
|
@@ -24,6 +24,10 @@ export interface Datastore {
|
|
|
24
24
|
* Storage access category derived from Datastore.Type
|
|
25
25
|
*/
|
|
26
26
|
storageProtocol?: DatastoreStorageProtocolEnum;
|
|
27
|
+
/**
|
|
28
|
+
* Whether this datastore supports vSAN point-in-time snapshots
|
|
29
|
+
*/
|
|
30
|
+
vsanSnapshotSupport?: boolean;
|
|
27
31
|
/**
|
|
28
32
|
*
|
|
29
33
|
*/
|
package/dist/models/Datastore.js
CHANGED
|
@@ -60,6 +60,7 @@ function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
60
|
return {
|
|
61
61
|
'type': json['type'],
|
|
62
62
|
'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
|
|
63
|
+
'vsanSnapshotSupport': json['vsanSnapshotSupport'] == null ? undefined : json['vsanSnapshotSupport'],
|
|
63
64
|
'totalCapacityGB': json['totalCapacityGB'],
|
|
64
65
|
'freeCapacityGB': json['freeCapacityGB'],
|
|
65
66
|
'vendor': json['vendor'],
|
|
@@ -81,6 +82,7 @@ function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
81
82
|
return {
|
|
82
83
|
'type': value['type'],
|
|
83
84
|
'storageProtocol': value['storageProtocol'],
|
|
85
|
+
'vsanSnapshotSupport': value['vsanSnapshotSupport'],
|
|
84
86
|
'totalCapacityGB': value['totalCapacityGB'],
|
|
85
87
|
'freeCapacityGB': value['freeCapacityGB'],
|
|
86
88
|
'vendor': value['vendor'],
|
package/docs/Datastore.md
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`type` | string
|
|
10
10
|
`storageProtocol` | string
|
|
11
|
+
`vsanSnapshotSupport` | boolean
|
|
11
12
|
`totalCapacityGB` | number
|
|
12
13
|
`freeCapacityGB` | number
|
|
13
14
|
`vendor` | string
|
|
@@ -27,6 +28,7 @@ import type { Datastore } from '@openshift-migration-advisor/planner-sdk'
|
|
|
27
28
|
const example = {
|
|
28
29
|
"type": null,
|
|
29
30
|
"storageProtocol": null,
|
|
31
|
+
"vsanSnapshotSupport": null,
|
|
30
32
|
"totalCapacityGB": null,
|
|
31
33
|
"freeCapacityGB": null,
|
|
32
34
|
"vendor": null,
|
package/package.json
CHANGED
package/src/models/Datastore.ts
CHANGED
|
@@ -35,6 +35,10 @@ export interface Datastore {
|
|
|
35
35
|
* Storage access category derived from Datastore.Type
|
|
36
36
|
*/
|
|
37
37
|
storageProtocol?: DatastoreStorageProtocolEnum;
|
|
38
|
+
/**
|
|
39
|
+
* Whether this datastore supports vSAN point-in-time snapshots
|
|
40
|
+
*/
|
|
41
|
+
vsanSnapshotSupport?: boolean;
|
|
38
42
|
/**
|
|
39
43
|
*
|
|
40
44
|
*/
|
|
@@ -112,6 +116,7 @@ export function DatastoreFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
112
116
|
|
|
113
117
|
'type': json['type'],
|
|
114
118
|
'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
|
|
119
|
+
'vsanSnapshotSupport': json['vsanSnapshotSupport'] == null ? undefined : json['vsanSnapshotSupport'],
|
|
115
120
|
'totalCapacityGB': json['totalCapacityGB'],
|
|
116
121
|
'freeCapacityGB': json['freeCapacityGB'],
|
|
117
122
|
'vendor': json['vendor'],
|
|
@@ -137,6 +142,7 @@ export function DatastoreToJSONTyped(value?: Datastore | null, ignoreDiscriminat
|
|
|
137
142
|
|
|
138
143
|
'type': value['type'],
|
|
139
144
|
'storageProtocol': value['storageProtocol'],
|
|
145
|
+
'vsanSnapshotSupport': value['vsanSnapshotSupport'],
|
|
140
146
|
'totalCapacityGB': value['totalCapacityGB'],
|
|
141
147
|
'freeCapacityGB': value['freeCapacityGB'],
|
|
142
148
|
'vendor': value['vendor'],
|