@openshift-migration-advisor/planner-sdk 0.28.0-6b3a5c9e560d → 0.28.0-c0f97aa12b24
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/VsphereCoreInput.d.ts +8 -0
- package/dist/esm/models/VsphereCoreInput.js +4 -0
- package/dist/models/VsphereCoreInput.d.ts +8 -0
- package/dist/models/VsphereCoreInput.js +4 -0
- package/docs/VsphereCoreInput.md +4 -0
- package/package.json +1 -1
- package/src/models/VsphereCoreInput.ts +12 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/planner-sdk@0.28.0-
|
|
1
|
+
# @openshift-migration-advisor/planner-sdk@0.28.0-c0f97aa12b24
|
|
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.28.0-
|
|
220
|
+
- Package version: `0.28.0-c0f97aa12b24`
|
|
221
221
|
- Generator version: `7.27.0-SNAPSHOT`
|
|
222
222
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
223
223
|
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
package/docs/VsphereCoreInput.md
CHANGED
|
@@ -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
|
@@ -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
|
|