@openshift-migration-advisor/planner-sdk 0.9.0 → 0.10.0-fa4e0ff47672
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/FILES +22 -0
- package/README.md +30 -11
- package/dist/apis/AccountApi.d.ts +390 -0
- package/dist/apis/AccountApi.js +454 -0
- package/dist/apis/AssessmentApi.d.ts +38 -1
- package/dist/apis/AssessmentApi.js +44 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AccountApi.d.ts +390 -0
- package/dist/esm/apis/AccountApi.js +450 -0
- package/dist/esm/apis/AssessmentApi.d.ts +38 -1
- package/dist/esm/apis/AssessmentApi.js +45 -1
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/ComplexityOSNameEntry.d.ts +1 -1
- package/dist/esm/models/ComplexityOSScoreEntry.d.ts +1 -1
- package/dist/esm/models/EstimationContext.d.ts +40 -0
- package/dist/esm/models/EstimationContext.js +43 -0
- package/dist/esm/models/Group.d.ts +82 -0
- package/dist/esm/models/Group.js +76 -0
- package/dist/esm/models/GroupCreate.d.ts +64 -0
- package/dist/esm/models/GroupCreate.js +66 -0
- package/dist/esm/models/GroupUpdate.d.ts +50 -0
- package/dist/esm/models/GroupUpdate.js +47 -0
- package/dist/esm/models/Identity.d.ts +60 -0
- package/dist/esm/models/Identity.js +60 -0
- package/dist/esm/models/Member.d.ts +56 -0
- package/dist/esm/models/Member.js +57 -0
- package/dist/esm/models/MemberCreate.d.ts +38 -0
- package/dist/esm/models/MemberCreate.js +47 -0
- package/dist/esm/models/MemberUpdate.d.ts +32 -0
- package/dist/esm/models/MemberUpdate.js +41 -0
- package/dist/esm/models/MigrationComplexityResponse.d.ts +2 -2
- package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +50 -0
- package/dist/esm/models/MigrationEstimationByComplexityResponse.js +51 -0
- package/dist/esm/models/OsDiskEstimationEntry.d.ts +53 -0
- package/dist/esm/models/OsDiskEstimationEntry.js +55 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/models/ComplexityOSNameEntry.d.ts +1 -1
- package/dist/models/ComplexityOSScoreEntry.d.ts +1 -1
- package/dist/models/EstimationContext.d.ts +40 -0
- package/dist/models/EstimationContext.js +50 -0
- package/dist/models/Group.d.ts +82 -0
- package/dist/models/Group.js +84 -0
- package/dist/models/GroupCreate.d.ts +64 -0
- package/dist/models/GroupCreate.js +74 -0
- package/dist/models/GroupUpdate.d.ts +50 -0
- package/dist/models/GroupUpdate.js +54 -0
- package/dist/models/Identity.d.ts +60 -0
- package/dist/models/Identity.js +68 -0
- package/dist/models/Member.d.ts +56 -0
- package/dist/models/Member.js +64 -0
- package/dist/models/MemberCreate.d.ts +38 -0
- package/dist/models/MemberCreate.js +54 -0
- package/dist/models/MemberUpdate.d.ts +32 -0
- package/dist/models/MemberUpdate.js +48 -0
- package/dist/models/MigrationComplexityResponse.d.ts +2 -2
- package/dist/models/MigrationEstimationByComplexityResponse.d.ts +50 -0
- package/dist/models/MigrationEstimationByComplexityResponse.js +58 -0
- package/dist/models/OsDiskEstimationEntry.d.ts +53 -0
- package/dist/models/OsDiskEstimationEntry.js +62 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/docs/AccountApi.md +734 -0
- package/docs/AssessmentApi.md +76 -0
- package/docs/EstimationContext.md +36 -0
- package/docs/Group.md +48 -0
- package/docs/GroupCreate.md +42 -0
- package/docs/GroupUpdate.md +40 -0
- package/docs/Identity.md +40 -0
- package/docs/Member.md +42 -0
- package/docs/MemberCreate.md +36 -0
- package/docs/MemberUpdate.md +34 -0
- package/docs/MigrationEstimationByComplexityResponse.md +38 -0
- package/docs/OsDiskEstimationEntry.md +40 -0
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +834 -0
- package/src/apis/AssessmentApi.ts +87 -0
- package/src/apis/index.ts +1 -0
- package/src/models/ComplexityOSNameEntry.ts +1 -1
- package/src/models/ComplexityOSScoreEntry.ts +1 -1
- package/src/models/EstimationContext.ts +73 -0
- package/src/models/Group.ts +139 -0
- package/src/models/GroupCreate.ts +113 -0
- package/src/models/GroupUpdate.ts +89 -0
- package/src/models/Identity.ts +104 -0
- package/src/models/Member.ts +101 -0
- package/src/models/MemberCreate.ts +75 -0
- package/src/models/MemberUpdate.ts +65 -0
- package/src/models/MigrationComplexityResponse.ts +2 -2
- package/src/models/MigrationEstimationByComplexityResponse.ts +98 -0
- package/src/models/OsDiskEstimationEntry.ts +100 -0
- package/src/models/index.ts +10 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MemberUpdate
|
|
16
|
+
*/
|
|
17
|
+
export interface MemberUpdate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MemberUpdate
|
|
22
|
+
*/
|
|
23
|
+
email?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the MemberUpdate interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfMemberUpdate(value: object): value is MemberUpdate;
|
|
29
|
+
export declare function MemberUpdateFromJSON(json: any): MemberUpdate;
|
|
30
|
+
export declare function MemberUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): MemberUpdate;
|
|
31
|
+
export declare function MemberUpdateToJSON(json: any): MemberUpdate;
|
|
32
|
+
export declare function MemberUpdateToJSONTyped(value?: MemberUpdate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfMemberUpdate = instanceOfMemberUpdate;
|
|
17
|
+
exports.MemberUpdateFromJSON = MemberUpdateFromJSON;
|
|
18
|
+
exports.MemberUpdateFromJSONTyped = MemberUpdateFromJSONTyped;
|
|
19
|
+
exports.MemberUpdateToJSON = MemberUpdateToJSON;
|
|
20
|
+
exports.MemberUpdateToJSONTyped = MemberUpdateToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MemberUpdate interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMemberUpdate(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function MemberUpdateFromJSON(json) {
|
|
28
|
+
return MemberUpdateFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function MemberUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function MemberUpdateToJSON(json) {
|
|
39
|
+
return MemberUpdateToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function MemberUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'email': value['email'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -26,7 +26,7 @@ export interface MigrationComplexityResponse {
|
|
|
26
26
|
*/
|
|
27
27
|
complexityByDisk: Array<ComplexityDiskScoreEntry>;
|
|
28
28
|
/**
|
|
29
|
-
* OS complexity scores, one entry per score level (0-4). Score 1 indicates the least complex OS to migrate; score 0 indicates an OS
|
|
29
|
+
* OS complexity scores, one entry per score level (0-4). Score 1 indicates the least complex OS to migrate; score 0 indicates an OS with unknown complexity. All five score levels are always present.
|
|
30
30
|
*
|
|
31
31
|
* @type {Array<ComplexityOSScoreEntry>}
|
|
32
32
|
* @memberof MigrationComplexityResponse
|
|
@@ -42,7 +42,7 @@ export interface MigrationComplexityResponse {
|
|
|
42
42
|
[key: string]: number;
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
|
-
* Per-OS-name score for every OS found in this cluster's inventory. Keys are the OS name strings exactly as they appear in vms.osInfo; values are the numeric complexity score assigned by ClassifyOS (0 =
|
|
45
|
+
* Per-OS-name score for every OS found in this cluster's inventory. Keys are the OS name strings exactly as they appear in vms.osInfo; values are the numeric complexity score assigned by ClassifyOS (0 = unknown, 1-4 = increasing complexity). The map contains one entry per distinct OS name in the cluster, regardless of how many VMs run it.
|
|
46
46
|
*
|
|
47
47
|
* @type {{ [key: string]: number; }}
|
|
48
48
|
* @memberof MigrationComplexityResponse
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OsDiskEstimationEntry } from './OsDiskEstimationEntry.js';
|
|
13
|
+
import type { EstimationContext } from './EstimationContext.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface MigrationEstimationByComplexityResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface MigrationEstimationByComplexityResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Combined OS+Disk complexity distribution with per-bucket estimation. All 5 score levels (0-4) always present.
|
|
22
|
+
* @type {Array<OsDiskEstimationEntry>}
|
|
23
|
+
* @memberof MigrationEstimationByComplexityResponse
|
|
24
|
+
*/
|
|
25
|
+
complexityByOsDisk: Array<OsDiskEstimationEntry>;
|
|
26
|
+
/**
|
|
27
|
+
* Decision matrix: outer keys are OS scores (0-4), inner keys are disk scores (1-4), values are combined scores.
|
|
28
|
+
* @type {{ [key: string]: { [key: string]: number; }; }}
|
|
29
|
+
* @memberof MigrationEstimationByComplexityResponse
|
|
30
|
+
*/
|
|
31
|
+
complexityMatrix: {
|
|
32
|
+
[key: string]: {
|
|
33
|
+
[key: string]: number;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {EstimationContext}
|
|
39
|
+
* @memberof MigrationEstimationByComplexityResponse
|
|
40
|
+
*/
|
|
41
|
+
estimationContext?: EstimationContext;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the MigrationEstimationByComplexityResponse interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfMigrationEstimationByComplexityResponse(value: object): value is MigrationEstimationByComplexityResponse;
|
|
47
|
+
export declare function MigrationEstimationByComplexityResponseFromJSON(json: any): MigrationEstimationByComplexityResponse;
|
|
48
|
+
export declare function MigrationEstimationByComplexityResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationEstimationByComplexityResponse;
|
|
49
|
+
export declare function MigrationEstimationByComplexityResponseToJSON(json: any): MigrationEstimationByComplexityResponse;
|
|
50
|
+
export declare function MigrationEstimationByComplexityResponseToJSONTyped(value?: MigrationEstimationByComplexityResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfMigrationEstimationByComplexityResponse = instanceOfMigrationEstimationByComplexityResponse;
|
|
17
|
+
exports.MigrationEstimationByComplexityResponseFromJSON = MigrationEstimationByComplexityResponseFromJSON;
|
|
18
|
+
exports.MigrationEstimationByComplexityResponseFromJSONTyped = MigrationEstimationByComplexityResponseFromJSONTyped;
|
|
19
|
+
exports.MigrationEstimationByComplexityResponseToJSON = MigrationEstimationByComplexityResponseToJSON;
|
|
20
|
+
exports.MigrationEstimationByComplexityResponseToJSONTyped = MigrationEstimationByComplexityResponseToJSONTyped;
|
|
21
|
+
const OsDiskEstimationEntry_js_1 = require("./OsDiskEstimationEntry.js");
|
|
22
|
+
const EstimationContext_js_1 = require("./EstimationContext.js");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the MigrationEstimationByComplexityResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfMigrationEstimationByComplexityResponse(value) {
|
|
27
|
+
if (!('complexityByOsDisk' in value) || value['complexityByOsDisk'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('complexityMatrix' in value) || value['complexityMatrix'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function MigrationEstimationByComplexityResponseFromJSON(json) {
|
|
34
|
+
return MigrationEstimationByComplexityResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function MigrationEstimationByComplexityResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'complexityByOsDisk': (json['complexityByOsDisk'].map(OsDiskEstimationEntry_js_1.OsDiskEstimationEntryFromJSON)),
|
|
42
|
+
'complexityMatrix': json['complexityMatrix'],
|
|
43
|
+
'estimationContext': json['estimationContext'] == null ? undefined : (0, EstimationContext_js_1.EstimationContextFromJSON)(json['estimationContext']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function MigrationEstimationByComplexityResponseToJSON(json) {
|
|
47
|
+
return MigrationEstimationByComplexityResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function MigrationEstimationByComplexityResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'complexityByOsDisk': (value['complexityByOsDisk'].map(OsDiskEstimationEntry_js_1.OsDiskEstimationEntryToJSON)),
|
|
55
|
+
'complexityMatrix': value['complexityMatrix'],
|
|
56
|
+
'estimationContext': (0, EstimationContext_js_1.EstimationContextToJSON)(value['estimationContext']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SchemaEstimationResult } from './SchemaEstimationResult.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OsDiskEstimationEntry
|
|
17
|
+
*/
|
|
18
|
+
export interface OsDiskEstimationEntry {
|
|
19
|
+
/**
|
|
20
|
+
* Combined OS+Disk complexity score (0-4).
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof OsDiskEstimationEntry
|
|
23
|
+
*/
|
|
24
|
+
score: number;
|
|
25
|
+
/**
|
|
26
|
+
* Number of VMs at this complexity level.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof OsDiskEstimationEntry
|
|
29
|
+
*/
|
|
30
|
+
vmCount: number;
|
|
31
|
+
/**
|
|
32
|
+
* Total provisioned disk across VMs in this bucket (decimal TB). 0.0 when ComplexityDistribution is absent from the inventory.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof OsDiskEstimationEntry
|
|
35
|
+
*/
|
|
36
|
+
totalDiskSizeTB: number;
|
|
37
|
+
/**
|
|
38
|
+
* Full estimation breakdown keyed by schema name. Absent for empty buckets (vmCount == 0).
|
|
39
|
+
* @type {{ [key: string]: SchemaEstimationResult; }}
|
|
40
|
+
* @memberof OsDiskEstimationEntry
|
|
41
|
+
*/
|
|
42
|
+
estimation?: {
|
|
43
|
+
[key: string]: SchemaEstimationResult;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the OsDiskEstimationEntry interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfOsDiskEstimationEntry(value: object): value is OsDiskEstimationEntry;
|
|
50
|
+
export declare function OsDiskEstimationEntryFromJSON(json: any): OsDiskEstimationEntry;
|
|
51
|
+
export declare function OsDiskEstimationEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): OsDiskEstimationEntry;
|
|
52
|
+
export declare function OsDiskEstimationEntryToJSON(json: any): OsDiskEstimationEntry;
|
|
53
|
+
export declare function OsDiskEstimationEntryToJSONTyped(value?: OsDiskEstimationEntry | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfOsDiskEstimationEntry = instanceOfOsDiskEstimationEntry;
|
|
17
|
+
exports.OsDiskEstimationEntryFromJSON = OsDiskEstimationEntryFromJSON;
|
|
18
|
+
exports.OsDiskEstimationEntryFromJSONTyped = OsDiskEstimationEntryFromJSONTyped;
|
|
19
|
+
exports.OsDiskEstimationEntryToJSON = OsDiskEstimationEntryToJSON;
|
|
20
|
+
exports.OsDiskEstimationEntryToJSONTyped = OsDiskEstimationEntryToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const SchemaEstimationResult_js_1 = require("./SchemaEstimationResult.js");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the OsDiskEstimationEntry interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfOsDiskEstimationEntry(value) {
|
|
27
|
+
if (!('score' in value) || value['score'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('vmCount' in value) || value['vmCount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('totalDiskSizeTB' in value) || value['totalDiskSizeTB'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function OsDiskEstimationEntryFromJSON(json) {
|
|
36
|
+
return OsDiskEstimationEntryFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function OsDiskEstimationEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'score': json['score'],
|
|
44
|
+
'vmCount': json['vmCount'],
|
|
45
|
+
'totalDiskSizeTB': json['totalDiskSizeTB'],
|
|
46
|
+
'estimation': json['estimation'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['estimation'], SchemaEstimationResult_js_1.SchemaEstimationResultFromJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function OsDiskEstimationEntryToJSON(json) {
|
|
50
|
+
return OsDiskEstimationEntryToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function OsDiskEstimationEntryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'score': value['score'],
|
|
58
|
+
'vmCount': value['vmCount'],
|
|
59
|
+
'totalDiskSizeTB': value['totalDiskSizeTB'],
|
|
60
|
+
'estimation': value['estimation'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['estimation'], SchemaEstimationResult_js_1.SchemaEstimationResultToJSON)),
|
|
61
|
+
};
|
|
62
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -12,9 +12,14 @@ export * from './ComplexityOSScoreEntry.js';
|
|
|
12
12
|
export * from './Datastore.js';
|
|
13
13
|
export * from './DiskSizeTierSummary.js';
|
|
14
14
|
export * from './DiskTypeSummary.js';
|
|
15
|
+
export * from './EstimationContext.js';
|
|
15
16
|
export * from './EstimationDetail.js';
|
|
17
|
+
export * from './Group.js';
|
|
18
|
+
export * from './GroupCreate.js';
|
|
19
|
+
export * from './GroupUpdate.js';
|
|
16
20
|
export * from './Histogram.js';
|
|
17
21
|
export * from './Host.js';
|
|
22
|
+
export * from './Identity.js';
|
|
18
23
|
export * from './Info.js';
|
|
19
24
|
export * from './Infra.js';
|
|
20
25
|
export * from './Inventory.js';
|
|
@@ -24,12 +29,17 @@ export * from './Ipv4Config.js';
|
|
|
24
29
|
export * from './Job.js';
|
|
25
30
|
export * from './JobStatus.js';
|
|
26
31
|
export * from './Label.js';
|
|
32
|
+
export * from './Member.js';
|
|
33
|
+
export * from './MemberCreate.js';
|
|
34
|
+
export * from './MemberUpdate.js';
|
|
27
35
|
export * from './MigrationComplexityRequest.js';
|
|
28
36
|
export * from './MigrationComplexityResponse.js';
|
|
37
|
+
export * from './MigrationEstimationByComplexityResponse.js';
|
|
29
38
|
export * from './MigrationEstimationRequest.js';
|
|
30
39
|
export * from './MigrationIssue.js';
|
|
31
40
|
export * from './ModelError.js';
|
|
32
41
|
export * from './Network.js';
|
|
42
|
+
export * from './OsDiskEstimationEntry.js';
|
|
33
43
|
export * from './OsInfo.js';
|
|
34
44
|
export * from './PresignedUrl.js';
|
|
35
45
|
export * from './SchemaEstimationResult.js';
|
package/dist/models/index.js
CHANGED
|
@@ -30,9 +30,14 @@ __exportStar(require("./ComplexityOSScoreEntry.js"), exports);
|
|
|
30
30
|
__exportStar(require("./Datastore.js"), exports);
|
|
31
31
|
__exportStar(require("./DiskSizeTierSummary.js"), exports);
|
|
32
32
|
__exportStar(require("./DiskTypeSummary.js"), exports);
|
|
33
|
+
__exportStar(require("./EstimationContext.js"), exports);
|
|
33
34
|
__exportStar(require("./EstimationDetail.js"), exports);
|
|
35
|
+
__exportStar(require("./Group.js"), exports);
|
|
36
|
+
__exportStar(require("./GroupCreate.js"), exports);
|
|
37
|
+
__exportStar(require("./GroupUpdate.js"), exports);
|
|
34
38
|
__exportStar(require("./Histogram.js"), exports);
|
|
35
39
|
__exportStar(require("./Host.js"), exports);
|
|
40
|
+
__exportStar(require("./Identity.js"), exports);
|
|
36
41
|
__exportStar(require("./Info.js"), exports);
|
|
37
42
|
__exportStar(require("./Infra.js"), exports);
|
|
38
43
|
__exportStar(require("./Inventory.js"), exports);
|
|
@@ -42,12 +47,17 @@ __exportStar(require("./Ipv4Config.js"), exports);
|
|
|
42
47
|
__exportStar(require("./Job.js"), exports);
|
|
43
48
|
__exportStar(require("./JobStatus.js"), exports);
|
|
44
49
|
__exportStar(require("./Label.js"), exports);
|
|
50
|
+
__exportStar(require("./Member.js"), exports);
|
|
51
|
+
__exportStar(require("./MemberCreate.js"), exports);
|
|
52
|
+
__exportStar(require("./MemberUpdate.js"), exports);
|
|
45
53
|
__exportStar(require("./MigrationComplexityRequest.js"), exports);
|
|
46
54
|
__exportStar(require("./MigrationComplexityResponse.js"), exports);
|
|
55
|
+
__exportStar(require("./MigrationEstimationByComplexityResponse.js"), exports);
|
|
47
56
|
__exportStar(require("./MigrationEstimationRequest.js"), exports);
|
|
48
57
|
__exportStar(require("./MigrationIssue.js"), exports);
|
|
49
58
|
__exportStar(require("./ModelError.js"), exports);
|
|
50
59
|
__exportStar(require("./Network.js"), exports);
|
|
60
|
+
__exportStar(require("./OsDiskEstimationEntry.js"), exports);
|
|
51
61
|
__exportStar(require("./OsInfo.js"), exports);
|
|
52
62
|
__exportStar(require("./PresignedUrl.js"), exports);
|
|
53
63
|
__exportStar(require("./SchemaEstimationResult.js"), exports);
|