@openshift-migration-advisor/agent-sdk 0.20.1 → 0.20.2

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/agent-sdk@0.20.1
1
+ # @openshift-migration-advisor/agent-sdk@0.20.2
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -201,7 +201,7 @@ and is automatically generated by the
201
201
  [OpenAPI Generator](https://openapi-generator.tech) project:
202
202
 
203
203
  - API version: `v1`
204
- - Package version: `0.20.1`
204
+ - Package version: `0.20.2`
205
205
  - Generator version: `7.25.0-SNAPSHOT`
206
206
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
207
207
 
@@ -39,6 +39,14 @@ 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;
42
50
  }
43
51
  /**
44
52
  * Check if a given object implements the Host interface.
@@ -35,6 +35,8 @@ 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'],
38
40
  };
39
41
  }
40
42
  export function HostToJSON(json) {
@@ -51,5 +53,7 @@ export function HostToJSONTyped(value, ignoreDiscriminator = false) {
51
53
  'cpuCores': value['cpuCores'],
52
54
  'cpuSockets': value['cpuSockets'],
53
55
  'memoryMB': value['memoryMB'],
56
+ 'vmotionSupported': value['vmotionSupported'],
57
+ 'storageVmotionSupported': value['storageVmotionSupported'],
54
58
  };
55
59
  }
@@ -39,6 +39,14 @@ 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;
42
50
  }
43
51
  /**
44
52
  * Check if a given object implements the Host interface.
@@ -42,6 +42,8 @@ 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'],
45
47
  };
46
48
  }
47
49
  function HostToJSON(json) {
@@ -58,5 +60,7 @@ function HostToJSONTyped(value, ignoreDiscriminator = false) {
58
60
  'cpuCores': value['cpuCores'],
59
61
  'cpuSockets': value['cpuSockets'],
60
62
  'memoryMB': value['memoryMB'],
63
+ 'vmotionSupported': value['vmotionSupported'],
64
+ 'storageVmotionSupported': value['storageVmotionSupported'],
61
65
  };
62
66
  }
package/docs/Host.md CHANGED
@@ -12,6 +12,8 @@ Name | Type
12
12
  `cpuCores` | number
13
13
  `cpuSockets` | number
14
14
  `memoryMB` | number
15
+ `vmotionSupported` | boolean
16
+ `storageVmotionSupported` | boolean
15
17
 
16
18
  ## Example
17
19
 
@@ -26,6 +28,8 @@ const example = {
26
28
  "cpuCores": null,
27
29
  "cpuSockets": null,
28
30
  "memoryMB": null,
31
+ "vmotionSupported": null,
32
+ "storageVmotionSupported": null,
29
33
  } satisfies Host
30
34
 
31
35
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/agent-sdk",
3
- "version": "0.20.1",
3
+ "version": "0.20.2",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/agent-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -43,6 +43,14 @@ 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;
46
54
  }
47
55
 
48
56
  /**
@@ -70,6 +78,8 @@ export function HostFromJSONTyped(json: any, ignoreDiscriminator: boolean): Host
70
78
  'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
71
79
  'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
72
80
  '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'],
73
83
  };
74
84
  }
75
85
 
@@ -90,6 +100,8 @@ export function HostToJSONTyped(value?: Host | null, ignoreDiscriminator: boolea
90
100
  'cpuCores': value['cpuCores'],
91
101
  'cpuSockets': value['cpuSockets'],
92
102
  'memoryMB': value['memoryMB'],
103
+ 'vmotionSupported': value['vmotionSupported'],
104
+ 'storageVmotionSupported': value['storageVmotionSupported'],
93
105
  };
94
106
  }
95
107