@openshift-migration-advisor/planner-sdk 0.29.0 → 0.30.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/planner-sdk@0.29.0
1
+ # @openshift-migration-advisor/planner-sdk@0.30.0
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`
220
+ - Package version: `0.30.0`
221
221
  - Generator version: `7.27.0-SNAPSHOT`
222
222
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
223
223
 
@@ -24,7 +24,7 @@ export interface AssessmentV2 {
24
24
  /**
25
25
  *
26
26
  */
27
- vcetners: Array<SubResource>;
27
+ vcenters: Array<SubResource>;
28
28
  }
29
29
  /**
30
30
  * Check if a given object implements the AssessmentV2 interface.
@@ -19,7 +19,7 @@ import { SubResourceFromJSON, SubResourceToJSON, } from './SubResource.js';
19
19
  export function instanceOfAssessmentV2(value) {
20
20
  if (!('data' in value) || value['data'] === undefined)
21
21
  return false;
22
- if (!('vcetners' in value) || value['vcetners'] === undefined)
22
+ if (!('vcenters' in value) || value['vcenters'] === undefined)
23
23
  return false;
24
24
  return true;
25
25
  }
@@ -32,7 +32,7 @@ export function AssessmentV2FromJSONTyped(json, ignoreDiscriminator) {
32
32
  }
33
33
  return {
34
34
  'data': InventoryV2FromJSON(json['data']),
35
- 'vcetners': (json['vcetners'].map(SubResourceFromJSON)),
35
+ 'vcenters': (json['vcenters'].map(SubResourceFromJSON)),
36
36
  };
37
37
  }
38
38
  export function AssessmentV2ToJSON(json) {
@@ -44,6 +44,6 @@ export function AssessmentV2ToJSONTyped(value, ignoreDiscriminator = false) {
44
44
  }
45
45
  return {
46
46
  'data': InventoryV2ToJSON(value['data']),
47
- 'vcetners': (value['vcetners'].map(SubResourceToJSON)),
47
+ 'vcenters': (value['vcenters'].map(SubResourceToJSON)),
48
48
  };
49
49
  }
@@ -27,6 +27,14 @@ export interface VsphereCoreInput {
27
27
  *
28
28
  */
29
29
  srmEnabled?: boolean;
30
+ /**
31
+ * Whether Network I/O Control is enabled
32
+ */
33
+ niocEnabled?: boolean;
34
+ /**
35
+ * How NIOC is configured and which traffic is prioritized
36
+ */
37
+ niocDetails?: string;
30
38
  }
31
39
  /**
32
40
  * Check if a given object implements the VsphereCoreInput interface.
@@ -28,6 +28,8 @@ export function VsphereCoreInputFromJSONTyped(json, ignoreDiscriminator) {
28
28
  'vmEncryptionEnabled': json['vmEncryptionEnabled'] == null ? undefined : json['vmEncryptionEnabled'],
29
29
  'vmEncryptionPolicy': json['vmEncryptionPolicy'] == null ? undefined : json['vmEncryptionPolicy'],
30
30
  'srmEnabled': json['srmEnabled'] == null ? undefined : json['srmEnabled'],
31
+ 'niocEnabled': json['niocEnabled'] == null ? undefined : json['niocEnabled'],
32
+ 'niocDetails': json['niocDetails'] == null ? undefined : json['niocDetails'],
31
33
  };
32
34
  }
33
35
  export function VsphereCoreInputToJSON(json) {
@@ -41,5 +43,7 @@ export function VsphereCoreInputToJSONTyped(value, ignoreDiscriminator = false)
41
43
  'vmEncryptionEnabled': value['vmEncryptionEnabled'],
42
44
  'vmEncryptionPolicy': value['vmEncryptionPolicy'],
43
45
  'srmEnabled': value['srmEnabled'],
46
+ 'niocEnabled': value['niocEnabled'],
47
+ 'niocDetails': value['niocDetails'],
44
48
  };
45
49
  }
@@ -24,7 +24,7 @@ export interface AssessmentV2 {
24
24
  /**
25
25
  *
26
26
  */
27
- vcetners: Array<SubResource>;
27
+ vcenters: Array<SubResource>;
28
28
  }
29
29
  /**
30
30
  * Check if a given object implements the AssessmentV2 interface.
@@ -26,7 +26,7 @@ const SubResource_js_1 = require("./SubResource.js");
26
26
  function instanceOfAssessmentV2(value) {
27
27
  if (!('data' in value) || value['data'] === undefined)
28
28
  return false;
29
- if (!('vcetners' in value) || value['vcetners'] === undefined)
29
+ if (!('vcenters' in value) || value['vcenters'] === undefined)
30
30
  return false;
31
31
  return true;
32
32
  }
@@ -39,7 +39,7 @@ function AssessmentV2FromJSONTyped(json, ignoreDiscriminator) {
39
39
  }
40
40
  return {
41
41
  'data': (0, InventoryV2_js_1.InventoryV2FromJSON)(json['data']),
42
- 'vcetners': (json['vcetners'].map(SubResource_js_1.SubResourceFromJSON)),
42
+ 'vcenters': (json['vcenters'].map(SubResource_js_1.SubResourceFromJSON)),
43
43
  };
44
44
  }
45
45
  function AssessmentV2ToJSON(json) {
@@ -51,6 +51,6 @@ function AssessmentV2ToJSONTyped(value, ignoreDiscriminator = false) {
51
51
  }
52
52
  return {
53
53
  'data': (0, InventoryV2_js_1.InventoryV2ToJSON)(value['data']),
54
- 'vcetners': (value['vcetners'].map(SubResource_js_1.SubResourceToJSON)),
54
+ 'vcenters': (value['vcenters'].map(SubResource_js_1.SubResourceToJSON)),
55
55
  };
56
56
  }
@@ -27,6 +27,14 @@ export interface VsphereCoreInput {
27
27
  *
28
28
  */
29
29
  srmEnabled?: boolean;
30
+ /**
31
+ * Whether Network I/O Control is enabled
32
+ */
33
+ niocEnabled?: boolean;
34
+ /**
35
+ * How NIOC is configured and which traffic is prioritized
36
+ */
37
+ niocDetails?: string;
30
38
  }
31
39
  /**
32
40
  * Check if a given object implements the VsphereCoreInput interface.
@@ -35,6 +35,8 @@ function VsphereCoreInputFromJSONTyped(json, ignoreDiscriminator) {
35
35
  'vmEncryptionEnabled': json['vmEncryptionEnabled'] == null ? undefined : json['vmEncryptionEnabled'],
36
36
  'vmEncryptionPolicy': json['vmEncryptionPolicy'] == null ? undefined : json['vmEncryptionPolicy'],
37
37
  'srmEnabled': json['srmEnabled'] == null ? undefined : json['srmEnabled'],
38
+ 'niocEnabled': json['niocEnabled'] == null ? undefined : json['niocEnabled'],
39
+ 'niocDetails': json['niocDetails'] == null ? undefined : json['niocDetails'],
38
40
  };
39
41
  }
40
42
  function VsphereCoreInputToJSON(json) {
@@ -48,5 +50,7 @@ function VsphereCoreInputToJSONTyped(value, ignoreDiscriminator = false) {
48
50
  'vmEncryptionEnabled': value['vmEncryptionEnabled'],
49
51
  'vmEncryptionPolicy': value['vmEncryptionPolicy'],
50
52
  'srmEnabled': value['srmEnabled'],
53
+ 'niocEnabled': value['niocEnabled'],
54
+ 'niocDetails': value['niocDetails'],
51
55
  };
52
56
  }
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `data` | [InventoryV2](InventoryV2.md)
10
- `vcetners` | [Array&lt;SubResource&gt;](SubResource.md)
10
+ `vcenters` | [Array&lt;SubResource&gt;](SubResource.md)
11
11
 
12
12
  ## Example
13
13
 
@@ -17,7 +17,7 @@ import type { AssessmentV2 } from '@openshift-migration-advisor/planner-sdk'
17
17
  // TODO: Update the object below with actual values
18
18
  const example = {
19
19
  "data": null,
20
- "vcetners": null,
20
+ "vcenters": null,
21
21
  } satisfies AssessmentV2
22
22
 
23
23
  console.log(example)
package/docs/JobApi.md CHANGED
@@ -373,6 +373,8 @@ No authorization required
373
373
  | **202** | Accepted - Job created | - |
374
374
  | **400** | Bad Request | - |
375
375
  | **401** | Unauthorized | - |
376
+ | **403** | Unauthorized | - |
377
+ | **404** | Not found | - |
376
378
  | **500** | Internal error | - |
377
379
 
378
380
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -9,6 +9,8 @@ Name | Type
9
9
  `vmEncryptionEnabled` | boolean
10
10
  `vmEncryptionPolicy` | string
11
11
  `srmEnabled` | boolean
12
+ `niocEnabled` | boolean
13
+ `niocDetails` | string
12
14
 
13
15
  ## Example
14
16
 
@@ -20,6 +22,8 @@ const example = {
20
22
  "vmEncryptionEnabled": null,
21
23
  "vmEncryptionPolicy": null,
22
24
  "srmEnabled": null,
25
+ "niocEnabled": null,
26
+ "niocDetails": null,
23
27
  } satisfies VsphereCoreInput
24
28
 
25
29
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/planner-sdk",
3
- "version": "0.29.0",
3
+ "version": "0.30.0",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/planner-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -41,7 +41,7 @@ export interface AssessmentV2 {
41
41
  /**
42
42
  *
43
43
  */
44
- vcetners: Array<SubResource>;
44
+ vcenters: Array<SubResource>;
45
45
  }
46
46
 
47
47
  /**
@@ -49,7 +49,7 @@ export interface AssessmentV2 {
49
49
  */
50
50
  export function instanceOfAssessmentV2(value: object): value is AssessmentV2 {
51
51
  if (!('data' in value) || value['data'] === undefined) return false;
52
- if (!('vcetners' in value) || value['vcetners'] === undefined) return false;
52
+ if (!('vcenters' in value) || value['vcenters'] === undefined) return false;
53
53
  return true;
54
54
  }
55
55
 
@@ -64,7 +64,7 @@ export function AssessmentV2FromJSONTyped(json: any, ignoreDiscriminator: boolea
64
64
  return {
65
65
 
66
66
  'data': InventoryV2FromJSON(json['data']),
67
- 'vcetners': ((json['vcetners'] as Array<any>).map(SubResourceFromJSON)),
67
+ 'vcenters': ((json['vcenters'] as Array<any>).map(SubResourceFromJSON)),
68
68
  };
69
69
  }
70
70
 
@@ -80,7 +80,7 @@ export function AssessmentV2ToJSONTyped(value?: AssessmentV2 | null, ignoreDiscr
80
80
  return {
81
81
 
82
82
  'data': InventoryV2ToJSON(value['data']),
83
- 'vcetners': ((value['vcetners'] as Array<any>).map(SubResourceToJSON)),
83
+ 'vcenters': ((value['vcenters'] as Array<any>).map(SubResourceToJSON)),
84
84
  };
85
85
  }
86
86
 
@@ -31,6 +31,14 @@ export interface VsphereCoreInput {
31
31
  *
32
32
  */
33
33
  srmEnabled?: boolean;
34
+ /**
35
+ * Whether Network I/O Control is enabled
36
+ */
37
+ niocEnabled?: boolean;
38
+ /**
39
+ * How NIOC is configured and which traffic is prioritized
40
+ */
41
+ niocDetails?: string;
34
42
  }
35
43
 
36
44
  /**
@@ -53,6 +61,8 @@ export function VsphereCoreInputFromJSONTyped(json: any, ignoreDiscriminator: bo
53
61
  'vmEncryptionEnabled': json['vmEncryptionEnabled'] == null ? undefined : json['vmEncryptionEnabled'],
54
62
  'vmEncryptionPolicy': json['vmEncryptionPolicy'] == null ? undefined : json['vmEncryptionPolicy'],
55
63
  'srmEnabled': json['srmEnabled'] == null ? undefined : json['srmEnabled'],
64
+ 'niocEnabled': json['niocEnabled'] == null ? undefined : json['niocEnabled'],
65
+ 'niocDetails': json['niocDetails'] == null ? undefined : json['niocDetails'],
56
66
  };
57
67
  }
58
68
 
@@ -70,6 +80,8 @@ export function VsphereCoreInputToJSONTyped(value?: VsphereCoreInput | null, ign
70
80
  'vmEncryptionEnabled': value['vmEncryptionEnabled'],
71
81
  'vmEncryptionPolicy': value['vmEncryptionPolicy'],
72
82
  'srmEnabled': value['srmEnabled'],
83
+ 'niocEnabled': value['niocEnabled'],
84
+ 'niocDetails': value['niocDetails'],
73
85
  };
74
86
  }
75
87