@migration-planner-ui/api-client 0.0.36 → 0.0.38

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.
Files changed (113) hide show
  1. package/dist/apis/AssessmentApi.d.ts +36 -7
  2. package/dist/apis/AssessmentApi.d.ts.map +1 -1
  3. package/dist/apis/AssessmentApi.js +45 -7
  4. package/dist/apis/HealthApi.d.ts +2 -2
  5. package/dist/apis/HealthApi.js +2 -2
  6. package/dist/apis/ImageApi.d.ts +2 -2
  7. package/dist/apis/ImageApi.js +2 -2
  8. package/dist/apis/InfoApi.d.ts +2 -2
  9. package/dist/apis/InfoApi.js +2 -2
  10. package/dist/apis/JobApi.d.ts +2 -2
  11. package/dist/apis/JobApi.js +2 -2
  12. package/dist/apis/SourceApi.d.ts +2 -2
  13. package/dist/apis/SourceApi.js +2 -2
  14. package/dist/models/Agent.d.ts +2 -2
  15. package/dist/models/Agent.js +2 -2
  16. package/dist/models/AgentProxy.d.ts +2 -2
  17. package/dist/models/AgentProxy.js +2 -2
  18. package/dist/models/Assessment.d.ts +3 -3
  19. package/dist/models/Assessment.d.ts.map +1 -1
  20. package/dist/models/Assessment.js +4 -4
  21. package/dist/models/AssessmentForm.d.ts +2 -2
  22. package/dist/models/AssessmentForm.js +2 -2
  23. package/dist/models/AssessmentUpdate.d.ts +2 -2
  24. package/dist/models/AssessmentUpdate.js +2 -2
  25. package/dist/models/ClusterRequirementsRequest.d.ts +82 -0
  26. package/dist/models/ClusterRequirementsRequest.d.ts.map +1 -0
  27. package/dist/models/ClusterRequirementsRequest.js +78 -0
  28. package/dist/models/ClusterRequirementsResponse.d.ts +48 -0
  29. package/dist/models/ClusterRequirementsResponse.d.ts.map +1 -0
  30. package/dist/models/ClusterRequirementsResponse.js +54 -0
  31. package/dist/models/ClusterSizing.d.ts +57 -0
  32. package/dist/models/ClusterSizing.d.ts.map +1 -0
  33. package/dist/models/ClusterSizing.js +59 -0
  34. package/dist/models/Datastore.d.ts +2 -2
  35. package/dist/models/Datastore.js +2 -2
  36. package/dist/models/DiskSizeTierSummary.d.ts +2 -2
  37. package/dist/models/DiskSizeTierSummary.js +2 -2
  38. package/dist/models/DiskTypeSummary.d.ts +2 -2
  39. package/dist/models/DiskTypeSummary.js +2 -2
  40. package/dist/models/Histogram.d.ts +2 -2
  41. package/dist/models/Histogram.js +2 -2
  42. package/dist/models/Host.d.ts +2 -2
  43. package/dist/models/Host.js +2 -2
  44. package/dist/models/Info.d.ts +2 -2
  45. package/dist/models/Info.js +2 -2
  46. package/dist/models/Infra.d.ts +5 -5
  47. package/dist/models/Infra.d.ts.map +1 -1
  48. package/dist/models/Infra.js +6 -6
  49. package/dist/models/Inventory.d.ts +3 -3
  50. package/dist/models/Inventory.d.ts.map +1 -1
  51. package/dist/models/Inventory.js +4 -4
  52. package/dist/models/InventoryData.d.ts +2 -2
  53. package/dist/models/InventoryData.js +2 -2
  54. package/dist/models/InventoryTotals.d.ts +45 -0
  55. package/dist/models/InventoryTotals.d.ts.map +1 -0
  56. package/dist/models/InventoryTotals.js +51 -0
  57. package/dist/models/Ipv4Config.d.ts +2 -2
  58. package/dist/models/Ipv4Config.js +2 -2
  59. package/dist/models/Job.d.ts +2 -2
  60. package/dist/models/Job.js +2 -2
  61. package/dist/models/JobStatus.d.ts +2 -2
  62. package/dist/models/JobStatus.js +2 -2
  63. package/dist/models/Label.d.ts +2 -2
  64. package/dist/models/Label.js +2 -2
  65. package/dist/models/MigrationIssue.d.ts +2 -2
  66. package/dist/models/MigrationIssue.js +2 -2
  67. package/dist/models/ModelError.d.ts +2 -2
  68. package/dist/models/ModelError.js +2 -2
  69. package/dist/models/Network.d.ts +2 -2
  70. package/dist/models/Network.js +2 -2
  71. package/dist/models/OsInfo.d.ts +2 -2
  72. package/dist/models/OsInfo.js +2 -2
  73. package/dist/models/PresignedUrl.d.ts +2 -2
  74. package/dist/models/PresignedUrl.js +2 -2
  75. package/dist/models/SizingOverCommitRatio.d.ts +39 -0
  76. package/dist/models/SizingOverCommitRatio.d.ts.map +1 -0
  77. package/dist/models/SizingOverCommitRatio.js +47 -0
  78. package/dist/models/SizingResourceConsumption.d.ts +53 -0
  79. package/dist/models/SizingResourceConsumption.d.ts.map +1 -0
  80. package/dist/models/SizingResourceConsumption.js +53 -0
  81. package/dist/models/SizingResourceLimits.d.ts +39 -0
  82. package/dist/models/SizingResourceLimits.d.ts.map +1 -0
  83. package/dist/models/SizingResourceLimits.js +47 -0
  84. package/dist/models/Snapshot.d.ts +2 -2
  85. package/dist/models/Snapshot.js +2 -2
  86. package/dist/models/Source.d.ts +2 -2
  87. package/dist/models/Source.js +2 -2
  88. package/dist/models/SourceCreate.d.ts +2 -2
  89. package/dist/models/SourceCreate.js +2 -2
  90. package/dist/models/SourceInfra.d.ts +2 -2
  91. package/dist/models/SourceInfra.js +2 -2
  92. package/dist/models/SourceUpdate.d.ts +2 -2
  93. package/dist/models/SourceUpdate.js +2 -2
  94. package/dist/models/Status.d.ts +2 -2
  95. package/dist/models/Status.js +2 -2
  96. package/dist/models/UpdateInventory.d.ts +2 -2
  97. package/dist/models/UpdateInventory.js +2 -2
  98. package/dist/models/VCenter.d.ts +2 -2
  99. package/dist/models/VCenter.js +2 -2
  100. package/dist/models/VMResourceBreakdown.d.ts +2 -2
  101. package/dist/models/VMResourceBreakdown.js +2 -2
  102. package/dist/models/VMs.d.ts +11 -5
  103. package/dist/models/VMs.d.ts.map +1 -1
  104. package/dist/models/VMs.js +8 -6
  105. package/dist/models/VmNetwork.d.ts +2 -2
  106. package/dist/models/VmNetwork.js +2 -2
  107. package/dist/models/index.d.ts +7 -0
  108. package/dist/models/index.d.ts.map +1 -1
  109. package/dist/models/index.js +7 -0
  110. package/dist/runtime.d.ts +2 -2
  111. package/dist/runtime.d.ts.map +1 -1
  112. package/dist/runtime.js +3 -3
  113. package/package.json +2 -5
@@ -0,0 +1,78 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Migration Planner API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: undefined
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const ClusterRequirementsRequestCpuOverCommitRatioEnum = {
18
+ CpuOneToOne: '1:1',
19
+ CpuOneToTwo: '1:2',
20
+ CpuOneToFour: '1:4',
21
+ CpuOneToSix: '1:6'
22
+ };
23
+ /**
24
+ * @export
25
+ */
26
+ export const ClusterRequirementsRequestMemoryOverCommitRatioEnum = {
27
+ MemoryOneToOne: '1:1',
28
+ MemoryOneToTwo: '1:2',
29
+ MemoryOneToFour: '1:4'
30
+ };
31
+ /**
32
+ * Check if a given object implements the ClusterRequirementsRequest interface.
33
+ */
34
+ export function instanceOfClusterRequirementsRequest(value) {
35
+ if (!('clusterId' in value) || value['clusterId'] === undefined)
36
+ return false;
37
+ if (!('cpuOverCommitRatio' in value) || value['cpuOverCommitRatio'] === undefined)
38
+ return false;
39
+ if (!('memoryOverCommitRatio' in value) || value['memoryOverCommitRatio'] === undefined)
40
+ return false;
41
+ if (!('workerNodeCPU' in value) || value['workerNodeCPU'] === undefined)
42
+ return false;
43
+ if (!('workerNodeMemory' in value) || value['workerNodeMemory'] === undefined)
44
+ return false;
45
+ return true;
46
+ }
47
+ export function ClusterRequirementsRequestFromJSON(json) {
48
+ return ClusterRequirementsRequestFromJSONTyped(json, false);
49
+ }
50
+ export function ClusterRequirementsRequestFromJSONTyped(json, ignoreDiscriminator) {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+ 'clusterId': json['clusterId'],
56
+ 'cpuOverCommitRatio': json['cpuOverCommitRatio'],
57
+ 'memoryOverCommitRatio': json['memoryOverCommitRatio'],
58
+ 'workerNodeCPU': json['workerNodeCPU'],
59
+ 'workerNodeMemory': json['workerNodeMemory'],
60
+ 'controlPlaneSchedulable': json['controlPlaneSchedulable'] == null ? undefined : json['controlPlaneSchedulable'],
61
+ };
62
+ }
63
+ export function ClusterRequirementsRequestToJSON(json) {
64
+ return ClusterRequirementsRequestToJSONTyped(json, false);
65
+ }
66
+ export function ClusterRequirementsRequestToJSONTyped(value, ignoreDiscriminator = false) {
67
+ if (value == null) {
68
+ return value;
69
+ }
70
+ return {
71
+ 'clusterId': value['clusterId'],
72
+ 'cpuOverCommitRatio': value['cpuOverCommitRatio'],
73
+ 'memoryOverCommitRatio': value['memoryOverCommitRatio'],
74
+ 'workerNodeCPU': value['workerNodeCPU'],
75
+ 'workerNodeMemory': value['workerNodeMemory'],
76
+ 'controlPlaneSchedulable': value['controlPlaneSchedulable'],
77
+ };
78
+ }
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Migration Planner 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 { SizingResourceConsumption } from './SizingResourceConsumption.js';
13
+ import type { InventoryTotals } from './InventoryTotals.js';
14
+ import type { ClusterSizing } from './ClusterSizing.js';
15
+ /**
16
+ * Cluster requirements calculation results
17
+ * @export
18
+ * @interface ClusterRequirementsResponse
19
+ */
20
+ export interface ClusterRequirementsResponse {
21
+ /**
22
+ *
23
+ * @type {ClusterSizing}
24
+ * @memberof ClusterRequirementsResponse
25
+ */
26
+ clusterSizing: ClusterSizing;
27
+ /**
28
+ *
29
+ * @type {SizingResourceConsumption}
30
+ * @memberof ClusterRequirementsResponse
31
+ */
32
+ resourceConsumption: SizingResourceConsumption;
33
+ /**
34
+ *
35
+ * @type {InventoryTotals}
36
+ * @memberof ClusterRequirementsResponse
37
+ */
38
+ inventoryTotals: InventoryTotals;
39
+ }
40
+ /**
41
+ * Check if a given object implements the ClusterRequirementsResponse interface.
42
+ */
43
+ export declare function instanceOfClusterRequirementsResponse(value: object): value is ClusterRequirementsResponse;
44
+ export declare function ClusterRequirementsResponseFromJSON(json: any): ClusterRequirementsResponse;
45
+ export declare function ClusterRequirementsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClusterRequirementsResponse;
46
+ export declare function ClusterRequirementsResponseToJSON(json: any): ClusterRequirementsResponse;
47
+ export declare function ClusterRequirementsResponseToJSONTyped(value?: ClusterRequirementsResponse | null, ignoreDiscriminator?: boolean): any;
48
+ //# sourceMappingURL=ClusterRequirementsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClusterRequirementsResponse.d.ts","sourceRoot":"","sources":["../../src/models/ClusterRequirementsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAOhF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAO5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAQxD;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,aAAa,EAAE,aAAa,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,EAAE,yBAAyB,CAAC;IAC/C;;;;OAIG;IACH,eAAe,EAAE,eAAe,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAKzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAU7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5I"}
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Migration Planner API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: undefined
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SizingResourceConsumptionFromJSON, SizingResourceConsumptionToJSON, } from './SizingResourceConsumption.js';
15
+ import { InventoryTotalsFromJSON, InventoryTotalsToJSON, } from './InventoryTotals.js';
16
+ import { ClusterSizingFromJSON, ClusterSizingToJSON, } from './ClusterSizing.js';
17
+ /**
18
+ * Check if a given object implements the ClusterRequirementsResponse interface.
19
+ */
20
+ export function instanceOfClusterRequirementsResponse(value) {
21
+ if (!('clusterSizing' in value) || value['clusterSizing'] === undefined)
22
+ return false;
23
+ if (!('resourceConsumption' in value) || value['resourceConsumption'] === undefined)
24
+ return false;
25
+ if (!('inventoryTotals' in value) || value['inventoryTotals'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ export function ClusterRequirementsResponseFromJSON(json) {
30
+ return ClusterRequirementsResponseFromJSONTyped(json, false);
31
+ }
32
+ export function ClusterRequirementsResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'clusterSizing': ClusterSizingFromJSON(json['clusterSizing']),
38
+ 'resourceConsumption': SizingResourceConsumptionFromJSON(json['resourceConsumption']),
39
+ 'inventoryTotals': InventoryTotalsFromJSON(json['inventoryTotals']),
40
+ };
41
+ }
42
+ export function ClusterRequirementsResponseToJSON(json) {
43
+ return ClusterRequirementsResponseToJSONTyped(json, false);
44
+ }
45
+ export function ClusterRequirementsResponseToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'clusterSizing': ClusterSizingToJSON(value['clusterSizing']),
51
+ 'resourceConsumption': SizingResourceConsumptionToJSON(value['resourceConsumption']),
52
+ 'inventoryTotals': InventoryTotalsToJSON(value['inventoryTotals']),
53
+ };
54
+ }
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Migration Planner 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
+ * Overall cluster sizing summary
14
+ * @export
15
+ * @interface ClusterSizing
16
+ */
17
+ export interface ClusterSizing {
18
+ /**
19
+ * Total number of nodes (worker + control plane)
20
+ * @type {number}
21
+ * @memberof ClusterSizing
22
+ */
23
+ totalNodes: number;
24
+ /**
25
+ * Number of worker nodes
26
+ * @type {number}
27
+ * @memberof ClusterSizing
28
+ */
29
+ workerNodes: number;
30
+ /**
31
+ * Number of control plane nodes
32
+ * @type {number}
33
+ * @memberof ClusterSizing
34
+ */
35
+ controlPlaneNodes: number;
36
+ /**
37
+ * Total CPU cores across all nodes
38
+ * @type {number}
39
+ * @memberof ClusterSizing
40
+ */
41
+ totalCPU: number;
42
+ /**
43
+ * Total memory (GB) across all nodes
44
+ * @type {number}
45
+ * @memberof ClusterSizing
46
+ */
47
+ totalMemory: number;
48
+ }
49
+ /**
50
+ * Check if a given object implements the ClusterSizing interface.
51
+ */
52
+ export declare function instanceOfClusterSizing(value: object): value is ClusterSizing;
53
+ export declare function ClusterSizingFromJSON(json: any): ClusterSizing;
54
+ export declare function ClusterSizingFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClusterSizing;
55
+ export declare function ClusterSizingToJSON(json: any): ClusterSizing;
56
+ export declare function ClusterSizingToJSONTyped(value?: ClusterSizing | null, ignoreDiscriminator?: boolean): any;
57
+ //# sourceMappingURL=ClusterSizing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClusterSizing.d.ts","sourceRoot":"","sources":["../../src/models/ClusterSizing.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAO7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAYjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAahH"}
@@ -0,0 +1,59 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Migration Planner API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: undefined
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ClusterSizing interface.
16
+ */
17
+ export function instanceOfClusterSizing(value) {
18
+ if (!('totalNodes' in value) || value['totalNodes'] === undefined)
19
+ return false;
20
+ if (!('workerNodes' in value) || value['workerNodes'] === undefined)
21
+ return false;
22
+ if (!('controlPlaneNodes' in value) || value['controlPlaneNodes'] === undefined)
23
+ return false;
24
+ if (!('totalCPU' in value) || value['totalCPU'] === undefined)
25
+ return false;
26
+ if (!('totalMemory' in value) || value['totalMemory'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function ClusterSizingFromJSON(json) {
31
+ return ClusterSizingFromJSONTyped(json, false);
32
+ }
33
+ export function ClusterSizingFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'totalNodes': json['totalNodes'],
39
+ 'workerNodes': json['workerNodes'],
40
+ 'controlPlaneNodes': json['controlPlaneNodes'],
41
+ 'totalCPU': json['totalCPU'],
42
+ 'totalMemory': json['totalMemory'],
43
+ };
44
+ }
45
+ export function ClusterSizingToJSON(json) {
46
+ return ClusterSizingToJSONTyped(json, false);
47
+ }
48
+ export function ClusterSizingToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'totalNodes': value['totalNodes'],
54
+ 'workerNodes': value['workerNodes'],
55
+ 'controlPlaneNodes': value['controlPlaneNodes'],
56
+ 'totalCPU': value['totalCPU'],
57
+ 'totalMemory': value['totalMemory'],
58
+ };
59
+ }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 0.4.0-bd435bf4
5
+ * The version of the OpenAPI document: undefined
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-bd435bf4
7
+ * The version of the OpenAPI document: undefined
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 0.4.0-bd435bf4
5
+ * The version of the OpenAPI document: undefined
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-bd435bf4
7
+ * The version of the OpenAPI document: undefined
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 0.4.0-bd435bf4
5
+ * The version of the OpenAPI document: undefined
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-bd435bf4
7
+ * The version of the OpenAPI document: undefined
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 0.4.0-bd435bf4
5
+ * The version of the OpenAPI document: undefined
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-bd435bf4
7
+ * The version of the OpenAPI document: undefined
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 0.4.0-bd435bf4
5
+ * The version of the OpenAPI document: undefined
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-bd435bf4
7
+ * The version of the OpenAPI document: undefined
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 0.4.0-bd435bf4
5
+ * The version of the OpenAPI document: undefined
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-bd435bf4
7
+ * The version of the OpenAPI document: undefined
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 0.4.0-bd435bf4
5
+ * The version of the OpenAPI document: undefined
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -82,19 +82,19 @@ export interface Infra {
82
82
  */
83
83
  hostPowerStates: {
84
84
  [key: string]: number;
85
- } | null;
85
+ };
86
86
  /**
87
87
  *
88
88
  * @type {Array<Network>}
89
89
  * @memberof Infra
90
90
  */
91
- networks: Array<Network> | null;
91
+ networks: Array<Network>;
92
92
  /**
93
93
  *
94
94
  * @type {Array<Datastore>}
95
95
  * @memberof Infra
96
96
  */
97
- datastores: Array<Datastore> | null;
97
+ datastores: Array<Datastore>;
98
98
  }
99
99
  /**
100
100
  * Check if a given object implements the Infra interface.
@@ -1 +1 @@
1
- {"version":3,"file":"Infra.d.ts","sourceRoot":"","sources":["../../src/models/Infra.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAOhD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAO5C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAQtC;;;;GAIG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACpB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;;;OAIG;IACH,eAAe,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,GAAG,IAAI,CAAC;IACnD;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,KAAK,CAM7D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE9C;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,KAAK,CAmBjF;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE5C;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAoBhG"}
1
+ {"version":3,"file":"Infra.d.ts","sourceRoot":"","sources":["../../src/models/Infra.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAOhD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAO5C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAQtC;;;;GAIG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACpB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;;;OAIG;IACH,eAAe,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC5C;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACzB;;;;OAIG;IACH,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,KAAK,CAM7D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE9C;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,KAAK,CAmBjF;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE5C;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAoBhG"}
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-bd435bf4
7
+ * The version of the OpenAPI document: undefined
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,8 +46,8 @@ export function InfraFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'hostsPerCluster': json['hostsPerCluster'] == null ? undefined : json['hostsPerCluster'],
47
47
  'vmsPerCluster': json['vmsPerCluster'] == null ? undefined : json['vmsPerCluster'],
48
48
  'hostPowerStates': json['hostPowerStates'],
49
- 'networks': (json['networks'] == null ? null : json['networks'].map(NetworkFromJSON)),
50
- 'datastores': (json['datastores'] == null ? null : json['datastores'].map(DatastoreFromJSON)),
49
+ 'networks': (json['networks'].map(NetworkFromJSON)),
50
+ 'datastores': (json['datastores'].map(DatastoreFromJSON)),
51
51
  };
52
52
  }
53
53
  export function InfraToJSON(json) {
@@ -68,7 +68,7 @@ export function InfraToJSONTyped(value, ignoreDiscriminator = false) {
68
68
  'hostsPerCluster': value['hostsPerCluster'],
69
69
  'vmsPerCluster': value['vmsPerCluster'],
70
70
  'hostPowerStates': value['hostPowerStates'],
71
- 'networks': (value['networks'] == null ? null : value['networks'].map(NetworkToJSON)),
72
- 'datastores': (value['datastores'] == null ? null : value['datastores'].map(DatastoreToJSON)),
71
+ 'networks': (value['networks'].map(NetworkToJSON)),
72
+ 'datastores': (value['datastores'].map(DatastoreToJSON)),
73
73
  };
74
74
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 0.4.0-bd435bf4
5
+ * The version of the OpenAPI document: undefined
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@ export interface Inventory {
29
29
  */
30
30
  clusters: {
31
31
  [key: string]: InventoryData;
32
- } | null;
32
+ };
33
33
  /**
34
34
  *
35
35
  * @type {InventoryData}
@@ -1 +1 @@
1
- {"version":3,"file":"Inventory.d.ts","sourceRoot":"","sources":["../../src/models/Inventory.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAQxD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;KAAE,GAAG,IAAI,CAAC;IACnD;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAIrE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAUzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEpD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxG"}
1
+ {"version":3,"file":"Inventory.d.ts","sourceRoot":"","sources":["../../src/models/Inventory.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAQxD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;KAAE,CAAC;IAC5C;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAIrE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAUzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEpD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxG"}
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-bd435bf4
7
+ * The version of the OpenAPI document: undefined
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,7 +32,7 @@ export function InventoryFromJSONTyped(json, ignoreDiscriminator) {
32
32
  }
33
33
  return {
34
34
  'vcenterId': json['vcenter_id'],
35
- 'clusters': (json['clusters'] == null ? null : mapValues(json['clusters'], InventoryDataFromJSON)),
35
+ 'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
36
36
  'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
37
37
  };
38
38
  }
@@ -45,7 +45,7 @@ export function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
45
45
  }
46
46
  return {
47
47
  'vcenter_id': value['vcenterId'],
48
- 'clusters': (value['clusters'] == null ? null : mapValues(value['clusters'], InventoryDataToJSON)),
48
+ 'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
49
49
  'vcenter': InventoryDataToJSON(value['vcenter']),
50
50
  };
51
51
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 0.4.0-bd435bf4
5
+ * The version of the OpenAPI document: undefined
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * Based on: https://github.com/kubev2v/migration-planner/blob/bd435bf4e63611a5d609f7c918e85dd57830fccf/api/v1alpha1/openapi.yaml
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 0.4.0-bd435bf4
7
+ * The version of the OpenAPI document: undefined
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).