@openshift-migration-advisor/agent-sdk 0.12.0 → 0.16.0-f224c4e8e35b

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 (343) hide show
  1. package/.openapi-generator/FILES +78 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +78 -10
  4. package/dist/apis/DefaultApi.d.ts +1179 -102
  5. package/dist/apis/DefaultApi.js +1373 -189
  6. package/dist/esm/apis/DefaultApi.d.ts +1179 -102
  7. package/dist/esm/apis/DefaultApi.js +1352 -168
  8. package/dist/esm/models/AgentStatus.d.ts +1 -1
  9. package/dist/esm/models/AgentStatus.js +3 -3
  10. package/dist/esm/models/ApplicationListResponse.d.ts +33 -0
  11. package/dist/esm/models/ApplicationListResponse.js +44 -0
  12. package/dist/esm/models/ApplicationOverview.d.ts +51 -0
  13. package/dist/esm/models/ApplicationOverview.js +56 -0
  14. package/dist/esm/models/ApplicationVM.d.ts +38 -0
  15. package/dist/esm/models/ApplicationVM.js +47 -0
  16. package/dist/esm/models/BenchmarkRun.d.ts +104 -0
  17. package/dist/esm/models/BenchmarkRun.js +85 -0
  18. package/dist/esm/models/CapabilityStatus.d.ts +33 -0
  19. package/dist/esm/models/CapabilityStatus.js +44 -0
  20. package/dist/esm/models/CapabilityStatusCapabilities.d.ts +45 -0
  21. package/dist/esm/models/CapabilityStatusCapabilities.js +52 -0
  22. package/dist/esm/models/ClusterFeatures.d.ts +54 -0
  23. package/dist/esm/models/ClusterFeatures.js +54 -0
  24. package/dist/esm/models/ClusterUtilization.d.ts +68 -0
  25. package/dist/esm/models/ClusterUtilization.js +67 -0
  26. package/dist/esm/models/CollectorStartRequest.d.ts +18 -6
  27. package/dist/esm/models/CollectorStartRequest.js +7 -9
  28. package/dist/esm/models/CreateGroupRequest.d.ts +0 -6
  29. package/dist/esm/models/CreateGroupRequest.js +0 -2
  30. package/dist/esm/models/CredentialStatus.d.ts +44 -0
  31. package/dist/esm/models/CredentialStatus.js +51 -0
  32. package/dist/esm/models/DatastoreDetail.d.ts +90 -0
  33. package/dist/esm/models/DatastoreDetail.js +74 -0
  34. package/dist/esm/models/DatastorePair.d.ts +50 -0
  35. package/dist/esm/models/DatastorePair.js +53 -0
  36. package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +38 -0
  37. package/dist/esm/models/DeleteLabelGloballyResponse.js +47 -0
  38. package/dist/esm/models/EstimateRange.d.ts +44 -0
  39. package/dist/esm/models/EstimateRange.js +45 -0
  40. package/dist/esm/models/ExportInventory400Response.d.ts +32 -0
  41. package/dist/esm/models/ExportInventory400Response.js +41 -0
  42. package/dist/esm/models/ExportInventory500Response.d.ts +32 -0
  43. package/dist/esm/models/ExportInventory500Response.js +41 -0
  44. package/dist/esm/models/ForecastStats.d.ts +87 -0
  45. package/dist/esm/models/ForecastStats.js +64 -0
  46. package/dist/esm/models/ForecasterDatastoresRequest.d.ts +33 -0
  47. package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
  48. package/dist/esm/models/ForecasterPairStatus.d.ts +98 -0
  49. package/dist/esm/models/ForecasterPairStatus.js +82 -0
  50. package/dist/esm/models/ForecasterStartRequest.d.ts +58 -0
  51. package/dist/esm/models/ForecasterStartRequest.js +53 -0
  52. package/dist/esm/models/ForecasterStatus.d.ts +47 -0
  53. package/dist/esm/models/ForecasterStatus.js +53 -0
  54. package/dist/esm/models/Group.d.ts +0 -6
  55. package/dist/esm/models/Group.js +0 -2
  56. package/dist/esm/models/GroupResponse.d.ts +7 -0
  57. package/dist/esm/models/GroupResponse.js +3 -0
  58. package/dist/esm/models/InspectorStatus.d.ts +0 -17
  59. package/dist/esm/models/InspectorStatus.js +1 -10
  60. package/dist/esm/models/Inventory.d.ts +7 -1
  61. package/dist/esm/models/Inventory.js +5 -3
  62. package/dist/esm/models/InventoryData.d.ts +14 -0
  63. package/dist/esm/models/InventoryData.js +6 -0
  64. package/dist/esm/models/OperationCapability.d.ts +38 -0
  65. package/dist/esm/models/OperationCapability.js +45 -0
  66. package/dist/esm/models/PairCapability.d.ts +60 -0
  67. package/dist/esm/models/PairCapability.js +64 -0
  68. package/dist/esm/models/PairCapabilityRequest.d.ts +40 -0
  69. package/dist/esm/models/PairCapabilityRequest.js +47 -0
  70. package/dist/esm/models/PutForecasterCredentials403Response.d.ts +38 -0
  71. package/dist/esm/models/PutForecasterCredentials403Response.js +43 -0
  72. package/dist/esm/models/RightsizingClusterListResponse.d.ts +39 -0
  73. package/dist/esm/models/RightsizingClusterListResponse.js +48 -0
  74. package/dist/esm/models/RightsizingClusterResponse.d.ts +39 -0
  75. package/dist/esm/models/RightsizingClusterResponse.js +48 -0
  76. package/dist/esm/models/RightsizingClusterUtilization.d.ts +112 -0
  77. package/dist/esm/models/RightsizingClusterUtilization.js +95 -0
  78. package/dist/esm/models/RightsizingCollectRequest.d.ts +70 -0
  79. package/dist/esm/models/RightsizingCollectRequest.js +56 -0
  80. package/dist/esm/models/RightsizingMetricStats.d.ts +62 -0
  81. package/dist/esm/models/RightsizingMetricStats.js +63 -0
  82. package/dist/esm/models/RightsizingReport.d.ts +81 -0
  83. package/dist/esm/models/RightsizingReport.js +76 -0
  84. package/dist/esm/models/RightsizingReportListResponse.d.ts +39 -0
  85. package/dist/esm/models/RightsizingReportListResponse.js +48 -0
  86. package/dist/esm/models/RightsizingReportSummary.d.ts +74 -0
  87. package/dist/esm/models/RightsizingReportSummary.js +71 -0
  88. package/dist/esm/models/RightsizingVMReport.d.ts +53 -0
  89. package/dist/esm/models/RightsizingVMReport.js +57 -0
  90. package/dist/esm/models/StartInspectionRequest.d.ts +8 -1
  91. package/dist/esm/models/StartInspectionRequest.js +3 -0
  92. package/dist/esm/models/StopForecasterPair202Response.d.ts +45 -0
  93. package/dist/esm/models/StopForecasterPair202Response.js +49 -0
  94. package/dist/esm/models/UpdateGroupRequest.d.ts +0 -6
  95. package/dist/esm/models/UpdateGroupRequest.js +0 -2
  96. package/dist/esm/models/UpdateLabelVMsRequest.d.ts +38 -0
  97. package/dist/esm/models/UpdateLabelVMsRequest.js +43 -0
  98. package/dist/esm/models/VMFilterOptionsResponse.d.ts +56 -0
  99. package/dist/esm/models/VMFilterOptionsResponse.js +59 -0
  100. package/dist/esm/models/VMLabelsResponse.d.ts +38 -0
  101. package/dist/esm/models/VMLabelsResponse.js +47 -0
  102. package/dist/esm/models/VMNIC.d.ts +12 -0
  103. package/dist/esm/models/VMNIC.js +4 -0
  104. package/dist/esm/models/VcenterCredentials.d.ts +12 -0
  105. package/dist/esm/models/VcenterCredentials.js +4 -0
  106. package/dist/esm/models/VirtualMachine.d.ts +50 -2
  107. package/dist/esm/models/VirtualMachine.js +18 -2
  108. package/dist/esm/models/VirtualMachineDetail.d.ts +19 -0
  109. package/dist/esm/models/VirtualMachineDetail.js +7 -0
  110. package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +38 -0
  111. package/dist/esm/models/VirtualMachineUpdateRequest.js +43 -0
  112. package/dist/esm/models/VmInspectionStatus.d.ts +6 -0
  113. package/dist/esm/models/VmInspectionStatus.js +4 -0
  114. package/dist/esm/models/VmUtilizationDetails.d.ts +116 -0
  115. package/dist/esm/models/VmUtilizationDetails.js +99 -0
  116. package/dist/esm/models/index.d.ts +39 -0
  117. package/dist/esm/models/index.js +39 -0
  118. package/dist/esm/runtime.js +2 -1
  119. package/dist/models/AgentStatus.d.ts +1 -1
  120. package/dist/models/AgentStatus.js +3 -3
  121. package/dist/models/ApplicationListResponse.d.ts +33 -0
  122. package/dist/models/ApplicationListResponse.js +51 -0
  123. package/dist/models/ApplicationOverview.d.ts +51 -0
  124. package/dist/models/ApplicationOverview.js +63 -0
  125. package/dist/models/ApplicationVM.d.ts +38 -0
  126. package/dist/models/ApplicationVM.js +54 -0
  127. package/dist/models/BenchmarkRun.d.ts +104 -0
  128. package/dist/models/BenchmarkRun.js +92 -0
  129. package/dist/models/CapabilityStatus.d.ts +33 -0
  130. package/dist/models/CapabilityStatus.js +51 -0
  131. package/dist/models/CapabilityStatusCapabilities.d.ts +45 -0
  132. package/dist/models/CapabilityStatusCapabilities.js +59 -0
  133. package/dist/models/ClusterFeatures.d.ts +54 -0
  134. package/dist/models/ClusterFeatures.js +62 -0
  135. package/dist/models/ClusterUtilization.d.ts +68 -0
  136. package/dist/models/ClusterUtilization.js +74 -0
  137. package/dist/models/CollectorStartRequest.d.ts +18 -6
  138. package/dist/models/CollectorStartRequest.js +7 -9
  139. package/dist/models/CreateGroupRequest.d.ts +0 -6
  140. package/dist/models/CreateGroupRequest.js +0 -2
  141. package/dist/models/CredentialStatus.d.ts +44 -0
  142. package/dist/models/CredentialStatus.js +58 -0
  143. package/dist/models/DatastoreDetail.d.ts +90 -0
  144. package/dist/models/DatastoreDetail.js +82 -0
  145. package/dist/models/DatastorePair.d.ts +50 -0
  146. package/dist/models/DatastorePair.js +60 -0
  147. package/dist/models/DeleteLabelGloballyResponse.d.ts +38 -0
  148. package/dist/models/DeleteLabelGloballyResponse.js +54 -0
  149. package/dist/models/EstimateRange.d.ts +44 -0
  150. package/dist/models/EstimateRange.js +52 -0
  151. package/dist/models/ExportInventory400Response.d.ts +32 -0
  152. package/dist/models/ExportInventory400Response.js +48 -0
  153. package/dist/models/ExportInventory500Response.d.ts +32 -0
  154. package/dist/models/ExportInventory500Response.js +48 -0
  155. package/dist/models/ForecastStats.d.ts +87 -0
  156. package/dist/models/ForecastStats.js +71 -0
  157. package/dist/models/ForecasterDatastoresRequest.d.ts +33 -0
  158. package/dist/models/ForecasterDatastoresRequest.js +49 -0
  159. package/dist/models/ForecasterPairStatus.d.ts +98 -0
  160. package/dist/models/ForecasterPairStatus.js +90 -0
  161. package/dist/models/ForecasterStartRequest.d.ts +58 -0
  162. package/dist/models/ForecasterStartRequest.js +60 -0
  163. package/dist/models/ForecasterStatus.d.ts +47 -0
  164. package/dist/models/ForecasterStatus.js +61 -0
  165. package/dist/models/Group.d.ts +0 -6
  166. package/dist/models/Group.js +0 -2
  167. package/dist/models/GroupResponse.d.ts +7 -0
  168. package/dist/models/GroupResponse.js +3 -0
  169. package/dist/models/InspectorStatus.d.ts +0 -17
  170. package/dist/models/InspectorStatus.js +1 -10
  171. package/dist/models/Inventory.d.ts +7 -1
  172. package/dist/models/Inventory.js +5 -3
  173. package/dist/models/InventoryData.d.ts +14 -0
  174. package/dist/models/InventoryData.js +6 -0
  175. package/dist/models/OperationCapability.d.ts +38 -0
  176. package/dist/models/OperationCapability.js +52 -0
  177. package/dist/models/PairCapability.d.ts +60 -0
  178. package/dist/models/PairCapability.js +72 -0
  179. package/dist/models/PairCapabilityRequest.d.ts +40 -0
  180. package/dist/models/PairCapabilityRequest.js +54 -0
  181. package/dist/models/PutForecasterCredentials403Response.d.ts +38 -0
  182. package/dist/models/PutForecasterCredentials403Response.js +50 -0
  183. package/dist/models/RightsizingClusterListResponse.d.ts +39 -0
  184. package/dist/models/RightsizingClusterListResponse.js +55 -0
  185. package/dist/models/RightsizingClusterResponse.d.ts +39 -0
  186. package/dist/models/RightsizingClusterResponse.js +55 -0
  187. package/dist/models/RightsizingClusterUtilization.d.ts +112 -0
  188. package/dist/models/RightsizingClusterUtilization.js +102 -0
  189. package/dist/models/RightsizingCollectRequest.d.ts +70 -0
  190. package/dist/models/RightsizingCollectRequest.js +63 -0
  191. package/dist/models/RightsizingMetricStats.d.ts +62 -0
  192. package/dist/models/RightsizingMetricStats.js +70 -0
  193. package/dist/models/RightsizingReport.d.ts +81 -0
  194. package/dist/models/RightsizingReport.js +83 -0
  195. package/dist/models/RightsizingReportListResponse.d.ts +39 -0
  196. package/dist/models/RightsizingReportListResponse.js +55 -0
  197. package/dist/models/RightsizingReportSummary.d.ts +74 -0
  198. package/dist/models/RightsizingReportSummary.js +78 -0
  199. package/dist/models/RightsizingVMReport.d.ts +53 -0
  200. package/dist/models/RightsizingVMReport.js +64 -0
  201. package/dist/models/StartInspectionRequest.d.ts +8 -1
  202. package/dist/models/StartInspectionRequest.js +3 -0
  203. package/dist/models/StopForecasterPair202Response.d.ts +45 -0
  204. package/dist/models/StopForecasterPair202Response.js +57 -0
  205. package/dist/models/UpdateGroupRequest.d.ts +0 -6
  206. package/dist/models/UpdateGroupRequest.js +0 -2
  207. package/dist/models/UpdateLabelVMsRequest.d.ts +38 -0
  208. package/dist/models/UpdateLabelVMsRequest.js +50 -0
  209. package/dist/models/VMFilterOptionsResponse.d.ts +56 -0
  210. package/dist/models/VMFilterOptionsResponse.js +66 -0
  211. package/dist/models/VMLabelsResponse.d.ts +38 -0
  212. package/dist/models/VMLabelsResponse.js +54 -0
  213. package/dist/models/VMNIC.d.ts +12 -0
  214. package/dist/models/VMNIC.js +4 -0
  215. package/dist/models/VcenterCredentials.d.ts +12 -0
  216. package/dist/models/VcenterCredentials.js +4 -0
  217. package/dist/models/VirtualMachine.d.ts +50 -2
  218. package/dist/models/VirtualMachine.js +18 -2
  219. package/dist/models/VirtualMachineDetail.d.ts +19 -0
  220. package/dist/models/VirtualMachineDetail.js +7 -0
  221. package/dist/models/VirtualMachineUpdateRequest.d.ts +38 -0
  222. package/dist/models/VirtualMachineUpdateRequest.js +50 -0
  223. package/dist/models/VmInspectionStatus.d.ts +6 -0
  224. package/dist/models/VmInspectionStatus.js +4 -0
  225. package/dist/models/VmUtilizationDetails.d.ts +116 -0
  226. package/dist/models/VmUtilizationDetails.js +106 -0
  227. package/dist/models/index.d.ts +39 -0
  228. package/dist/models/index.js +39 -0
  229. package/dist/runtime.js +2 -1
  230. package/docs/AgentStatus.md +2 -2
  231. package/docs/ApplicationListResponse.md +34 -0
  232. package/docs/ApplicationOverview.md +40 -0
  233. package/docs/ApplicationVM.md +36 -0
  234. package/docs/BenchmarkRun.md +58 -0
  235. package/docs/CapabilityStatus.md +34 -0
  236. package/docs/CapabilityStatusCapabilities.md +38 -0
  237. package/docs/ClusterFeatures.md +38 -0
  238. package/docs/ClusterUtilization.md +46 -0
  239. package/docs/CollectorStartRequest.md +5 -0
  240. package/docs/CreateGroupRequest.md +0 -2
  241. package/docs/CredentialStatus.md +38 -0
  242. package/docs/DatastoreDetail.md +50 -0
  243. package/docs/DatastorePair.md +40 -0
  244. package/docs/DefaultApi.md +2255 -319
  245. package/docs/DeleteLabelGloballyResponse.md +36 -0
  246. package/docs/EstimateRange.md +39 -0
  247. package/docs/ExportInventory400Response.md +34 -0
  248. package/docs/ExportInventory500Response.md +34 -0
  249. package/docs/ForecastStats.md +52 -0
  250. package/docs/ForecasterDatastoresRequest.md +34 -0
  251. package/docs/ForecasterPairStatus.md +52 -0
  252. package/docs/ForecasterStartRequest.md +42 -0
  253. package/docs/ForecasterStatus.md +36 -0
  254. package/docs/GetInventory200Response.md +4 -2
  255. package/docs/Group.md +0 -2
  256. package/docs/GroupResponse.md +2 -0
  257. package/docs/InspectorStatus.md +0 -4
  258. package/docs/Inventory.md +4 -2
  259. package/docs/InventoryData.md +4 -0
  260. package/docs/OperationCapability.md +36 -0
  261. package/docs/PairCapability.md +40 -0
  262. package/docs/PairCapabilityRequest.md +36 -0
  263. package/docs/PutForecasterCredentials403Response.md +36 -0
  264. package/docs/RightsizingClusterListResponse.md +36 -0
  265. package/docs/RightsizingClusterResponse.md +36 -0
  266. package/docs/RightsizingClusterUtilization.md +60 -0
  267. package/docs/RightsizingCollectRequest.md +46 -0
  268. package/docs/RightsizingMetricStats.md +44 -0
  269. package/docs/RightsizingReport.md +50 -0
  270. package/docs/RightsizingReportListResponse.md +36 -0
  271. package/docs/RightsizingReportSummary.md +49 -0
  272. package/docs/RightsizingVMReport.md +40 -0
  273. package/docs/StartInspectionRequest.md +3 -1
  274. package/docs/StopForecasterPair202Response.md +36 -0
  275. package/docs/UpdateGroupRequest.md +0 -2
  276. package/docs/UpdateLabelVMsRequest.md +36 -0
  277. package/docs/VMFilterOptionsResponse.md +42 -0
  278. package/docs/VMLabelsResponse.md +36 -0
  279. package/docs/VMNIC.md +4 -0
  280. package/docs/VcenterCredentials.md +4 -0
  281. package/docs/VirtualMachine.md +18 -2
  282. package/docs/VirtualMachineDetail.md +6 -0
  283. package/docs/VirtualMachineUpdateRequest.md +36 -0
  284. package/docs/VmInspectionStatus.md +2 -0
  285. package/docs/VmUtilizationDetails.md +62 -0
  286. package/package.json +1 -1
  287. package/src/apis/DefaultApi.ts +2657 -440
  288. package/src/models/AgentStatus.ts +4 -4
  289. package/src/models/ApplicationListResponse.ts +74 -0
  290. package/src/models/ApplicationOverview.ts +101 -0
  291. package/src/models/ApplicationVM.ts +75 -0
  292. package/src/models/BenchmarkRun.ts +171 -0
  293. package/src/models/CapabilityStatus.ts +74 -0
  294. package/src/models/CapabilityStatusCapabilities.ts +92 -0
  295. package/src/models/ClusterFeatures.ts +94 -0
  296. package/src/models/ClusterUtilization.ts +120 -0
  297. package/src/models/CollectorStartRequest.ts +25 -12
  298. package/src/models/CreateGroupRequest.ts +0 -8
  299. package/src/models/CredentialStatus.ts +84 -0
  300. package/src/models/DatastoreDetail.ts +146 -0
  301. package/src/models/DatastorePair.ts +92 -0
  302. package/src/models/DeleteLabelGloballyResponse.ts +75 -0
  303. package/src/models/EstimateRange.ts +81 -0
  304. package/src/models/ExportInventory400Response.ts +65 -0
  305. package/src/models/ExportInventory500Response.ts +65 -0
  306. package/src/models/ForecastStats.ts +147 -0
  307. package/src/models/ForecasterDatastoresRequest.ts +73 -0
  308. package/src/models/ForecasterPairStatus.ts +158 -0
  309. package/src/models/ForecasterStartRequest.ts +113 -0
  310. package/src/models/ForecasterStatus.ts +93 -0
  311. package/src/models/Group.ts +0 -8
  312. package/src/models/GroupResponse.ts +15 -0
  313. package/src/models/InspectorStatus.ts +1 -28
  314. package/src/models/Inventory.ts +12 -4
  315. package/src/models/InventoryData.ts +30 -0
  316. package/src/models/OperationCapability.ts +74 -0
  317. package/src/models/PairCapability.ts +106 -0
  318. package/src/models/PairCapabilityRequest.ts +89 -0
  319. package/src/models/PutForecasterCredentials403Response.ts +73 -0
  320. package/src/models/RightsizingClusterListResponse.ts +83 -0
  321. package/src/models/RightsizingClusterResponse.ts +83 -0
  322. package/src/models/RightsizingClusterUtilization.ts +185 -0
  323. package/src/models/RightsizingCollectRequest.ts +123 -0
  324. package/src/models/RightsizingMetricStats.ts +111 -0
  325. package/src/models/RightsizingReport.ts +146 -0
  326. package/src/models/RightsizingReportListResponse.ts +83 -0
  327. package/src/models/RightsizingReportSummary.ts +129 -0
  328. package/src/models/RightsizingVMReport.ts +101 -0
  329. package/src/models/StartInspectionRequest.ts +17 -1
  330. package/src/models/StopForecasterPair202Response.ts +83 -0
  331. package/src/models/UpdateGroupRequest.ts +0 -8
  332. package/src/models/UpdateLabelVMsRequest.ts +73 -0
  333. package/src/models/VMFilterOptionsResponse.ts +102 -0
  334. package/src/models/VMLabelsResponse.ts +75 -0
  335. package/src/models/VMNIC.ts +16 -0
  336. package/src/models/VcenterCredentials.ts +16 -0
  337. package/src/models/VirtualMachine.ts +68 -4
  338. package/src/models/VirtualMachineDetail.ts +31 -0
  339. package/src/models/VirtualMachineUpdateRequest.ts +73 -0
  340. package/src/models/VmInspectionStatus.ts +9 -0
  341. package/src/models/VmUtilizationDetails.ts +192 -0
  342. package/src/models/index.ts +39 -0
  343. package/src/runtime.ts +1 -2
@@ -42,7 +42,6 @@ function GroupFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'name': json['name'],
43
43
  'description': json['description'] == null ? undefined : json['description'],
44
44
  'filter': json['filter'],
45
- 'tags': json['tags'] == null ? undefined : json['tags'],
46
45
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
47
46
  'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
48
47
  };
@@ -59,7 +58,6 @@ function GroupToJSONTyped(value, ignoreDiscriminator = false) {
59
58
  'name': value['name'],
60
59
  'description': value['description'],
61
60
  'filter': value['filter'],
62
- 'tags': value['tags'],
63
61
  'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
64
62
  'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
65
63
  };
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Group } from './Group.js';
13
+ import type { Inventory } from './Inventory.js';
13
14
  import type { VirtualMachine } from './VirtualMachine.js';
14
15
  /**
15
16
  *
@@ -23,6 +24,12 @@ export interface GroupResponse {
23
24
  * @memberof GroupResponse
24
25
  */
25
26
  group: Group;
27
+ /**
28
+ *
29
+ * @type {Inventory}
30
+ * @memberof GroupResponse
31
+ */
32
+ inventory?: Inventory;
26
33
  /**
27
34
  *
28
35
  * @type {Array<VirtualMachine>}
@@ -19,6 +19,7 @@ exports.GroupResponseFromJSONTyped = GroupResponseFromJSONTyped;
19
19
  exports.GroupResponseToJSON = GroupResponseToJSON;
20
20
  exports.GroupResponseToJSONTyped = GroupResponseToJSONTyped;
21
21
  const Group_js_1 = require("./Group.js");
22
+ const Inventory_js_1 = require("./Inventory.js");
22
23
  const VirtualMachine_js_1 = require("./VirtualMachine.js");
23
24
  /**
24
25
  * Check if a given object implements the GroupResponse interface.
@@ -45,6 +46,7 @@ function GroupResponseFromJSONTyped(json, ignoreDiscriminator) {
45
46
  }
46
47
  return {
47
48
  'group': (0, Group_js_1.GroupFromJSON)(json['group']),
49
+ 'inventory': json['inventory'] == null ? undefined : (0, Inventory_js_1.InventoryFromJSON)(json['inventory']),
48
50
  'vms': (json['vms'].map(VirtualMachine_js_1.VirtualMachineFromJSON)),
49
51
  'total': json['total'],
50
52
  'page': json['page'],
@@ -60,6 +62,7 @@ function GroupResponseToJSONTyped(value, ignoreDiscriminator = false) {
60
62
  }
61
63
  return {
62
64
  'group': (0, Group_js_1.GroupToJSON)(value['group']),
65
+ 'inventory': (0, Inventory_js_1.InventoryToJSON)(value['inventory']),
63
66
  'vms': (value['vms'].map(VirtualMachine_js_1.VirtualMachineToJSON)),
64
67
  'total': value['total'],
65
68
  'page': value['page'],
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { VddkProperties } from './VddkProperties.js';
13
- import type { VcenterCredentials } from './VcenterCredentials.js';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -23,35 +22,19 @@ export interface InspectorStatus {
23
22
  * @memberof InspectorStatus
24
23
  */
25
24
  state: InspectorStatusStateEnum;
26
- /**
27
- *
28
- * @type {VcenterCredentials}
29
- * @memberof InspectorStatus
30
- */
31
- credentials?: VcenterCredentials;
32
25
  /**
33
26
  *
34
27
  * @type {VddkProperties}
35
28
  * @memberof InspectorStatus
36
29
  */
37
30
  vddk?: VddkProperties;
38
- /**
39
- * Error message when state is error
40
- * @type {string}
41
- * @memberof InspectorStatus
42
- */
43
- error?: string;
44
31
  }
45
32
  /**
46
33
  * @export
47
34
  */
48
35
  export declare const InspectorStatusStateEnum: {
49
36
  readonly InspectorStatusStateReady: "ready";
50
- readonly InspectorStatusStateInitiating: "Initiating";
51
37
  readonly InspectorStatusStateRunning: "running";
52
- readonly InspectorStatusStateCanceled: "canceled";
53
- readonly InspectorStatusStateCompleted: "completed";
54
- readonly InspectorStatusStateError: "error";
55
38
  };
56
39
  export type InspectorStatusStateEnum = typeof InspectorStatusStateEnum[keyof typeof InspectorStatusStateEnum];
57
40
  /**
@@ -20,17 +20,12 @@ exports.InspectorStatusFromJSONTyped = InspectorStatusFromJSONTyped;
20
20
  exports.InspectorStatusToJSON = InspectorStatusToJSON;
21
21
  exports.InspectorStatusToJSONTyped = InspectorStatusToJSONTyped;
22
22
  const VddkProperties_js_1 = require("./VddkProperties.js");
23
- const VcenterCredentials_js_1 = require("./VcenterCredentials.js");
24
23
  /**
25
24
  * @export
26
25
  */
27
26
  exports.InspectorStatusStateEnum = {
28
27
  InspectorStatusStateReady: 'ready',
29
- InspectorStatusStateInitiating: 'Initiating',
30
- InspectorStatusStateRunning: 'running',
31
- InspectorStatusStateCanceled: 'canceled',
32
- InspectorStatusStateCompleted: 'completed',
33
- InspectorStatusStateError: 'error'
28
+ InspectorStatusStateRunning: 'running'
34
29
  };
35
30
  /**
36
31
  * Check if a given object implements the InspectorStatus interface.
@@ -49,9 +44,7 @@ function InspectorStatusFromJSONTyped(json, ignoreDiscriminator) {
49
44
  }
50
45
  return {
51
46
  'state': json['state'],
52
- 'credentials': json['credentials'] == null ? undefined : (0, VcenterCredentials_js_1.VcenterCredentialsFromJSON)(json['credentials']),
53
47
  'vddk': json['vddk'] == null ? undefined : (0, VddkProperties_js_1.VddkPropertiesFromJSON)(json['vddk']),
54
- 'error': json['error'] == null ? undefined : json['error'],
55
48
  };
56
49
  }
57
50
  function InspectorStatusToJSON(json) {
@@ -63,8 +56,6 @@ function InspectorStatusToJSONTyped(value, ignoreDiscriminator = false) {
63
56
  }
64
57
  return {
65
58
  'state': value['state'],
66
- 'credentials': (0, VcenterCredentials_js_1.VcenterCredentialsToJSON)(value['credentials']),
67
59
  'vddk': (0, VddkProperties_js_1.VddkPropertiesToJSON)(value['vddk']),
68
- 'error': value['error'],
69
60
  };
70
61
  }
@@ -21,7 +21,13 @@ export interface Inventory {
21
21
  * @type {string}
22
22
  * @memberof Inventory
23
23
  */
24
- vcenterId: string;
24
+ vcenter_id: string;
25
+ /**
26
+ * Version of the vCenter api. For example "8.0.3.0"
27
+ * @type {string}
28
+ * @memberof Inventory
29
+ */
30
+ vcenter_version?: string;
25
31
  /**
26
32
  * Map of cluster names to their inventory data
27
33
  * @type {{ [key: string]: InventoryData; }}
@@ -24,7 +24,7 @@ const InventoryData_js_1 = require("./InventoryData.js");
24
24
  * Check if a given object implements the Inventory interface.
25
25
  */
26
26
  function instanceOfInventory(value) {
27
- if (!('vcenterId' in value) || value['vcenterId'] === undefined)
27
+ if (!('vcenter_id' in value) || value['vcenter_id'] === undefined)
28
28
  return false;
29
29
  if (!('clusters' in value) || value['clusters'] === undefined)
30
30
  return false;
@@ -38,7 +38,8 @@ function InventoryFromJSONTyped(json, ignoreDiscriminator) {
38
38
  return json;
39
39
  }
40
40
  return {
41
- 'vcenterId': json['vcenter_id'],
41
+ 'vcenter_id': json['vcenter_id'],
42
+ 'vcenter_version': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
42
43
  'clusters': ((0, runtime_js_1.mapValues)(json['clusters'], InventoryData_js_1.InventoryDataFromJSON)),
43
44
  'vcenter': json['vcenter'] == null ? undefined : (0, InventoryData_js_1.InventoryDataFromJSON)(json['vcenter']),
44
45
  };
@@ -51,7 +52,8 @@ function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
51
52
  return value;
52
53
  }
53
54
  return {
54
- 'vcenter_id': value['vcenterId'],
55
+ 'vcenter_id': value['vcenter_id'],
56
+ 'vcenter_version': value['vcenter_version'],
55
57
  'clusters': ((0, runtime_js_1.mapValues)(value['clusters'], InventoryData_js_1.InventoryDataToJSON)),
56
58
  'vcenter': (0, InventoryData_js_1.InventoryDataToJSON)(value['vcenter']),
57
59
  };
@@ -11,7 +11,9 @@
11
11
  */
12
12
  import type { VCenter } from './VCenter.js';
13
13
  import type { Infra } from './Infra.js';
14
+ import type { ClusterUtilization } from './ClusterUtilization.js';
14
15
  import type { VMs } from './VMs.js';
16
+ import type { ClusterFeatures } from './ClusterFeatures.js';
15
17
  /**
16
18
  *
17
19
  * @export
@@ -24,6 +26,18 @@ export interface InventoryData {
24
26
  * @memberof InventoryData
25
27
  */
26
28
  vcenter?: VCenter;
29
+ /**
30
+ *
31
+ * @type {ClusterFeatures}
32
+ * @memberof InventoryData
33
+ */
34
+ clusterFeatures?: ClusterFeatures;
35
+ /**
36
+ *
37
+ * @type {ClusterUtilization}
38
+ * @memberof InventoryData
39
+ */
40
+ clusterUtilization?: ClusterUtilization;
27
41
  /**
28
42
  *
29
43
  * @type {VMs}
@@ -20,7 +20,9 @@ exports.InventoryDataToJSON = InventoryDataToJSON;
20
20
  exports.InventoryDataToJSONTyped = InventoryDataToJSONTyped;
21
21
  const VCenter_js_1 = require("./VCenter.js");
22
22
  const Infra_js_1 = require("./Infra.js");
23
+ const ClusterUtilization_js_1 = require("./ClusterUtilization.js");
23
24
  const VMs_js_1 = require("./VMs.js");
25
+ const ClusterFeatures_js_1 = require("./ClusterFeatures.js");
24
26
  /**
25
27
  * Check if a given object implements the InventoryData interface.
26
28
  */
@@ -40,6 +42,8 @@ function InventoryDataFromJSONTyped(json, ignoreDiscriminator) {
40
42
  }
41
43
  return {
42
44
  'vcenter': json['vcenter'] == null ? undefined : (0, VCenter_js_1.VCenterFromJSON)(json['vcenter']),
45
+ 'clusterFeatures': json['clusterFeatures'] == null ? undefined : (0, ClusterFeatures_js_1.ClusterFeaturesFromJSON)(json['clusterFeatures']),
46
+ 'clusterUtilization': json['clusterUtilization'] == null ? undefined : (0, ClusterUtilization_js_1.ClusterUtilizationFromJSON)(json['clusterUtilization']),
43
47
  'vms': (0, VMs_js_1.VMsFromJSON)(json['vms']),
44
48
  'infra': (0, Infra_js_1.InfraFromJSON)(json['infra']),
45
49
  };
@@ -53,6 +57,8 @@ function InventoryDataToJSONTyped(value, ignoreDiscriminator = false) {
53
57
  }
54
58
  return {
55
59
  'vcenter': (0, VCenter_js_1.VCenterToJSON)(value['vcenter']),
60
+ 'clusterFeatures': (0, ClusterFeatures_js_1.ClusterFeaturesToJSON)(value['clusterFeatures']),
61
+ 'clusterUtilization': (0, ClusterUtilization_js_1.ClusterUtilizationToJSON)(value['clusterUtilization']),
56
62
  'vms': (0, VMs_js_1.VMsToJSON)(value['vms']),
57
63
  'infra': (0, Infra_js_1.InfraToJSON)(value['infra']),
58
64
  };
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 OperationCapability
16
+ */
17
+ export interface OperationCapability {
18
+ /**
19
+ * Whether stored credentials have sufficient privileges
20
+ * @type {boolean}
21
+ * @memberof OperationCapability
22
+ */
23
+ enabled: boolean;
24
+ /**
25
+ * Specific vSphere privileges that are missing
26
+ * @type {Array<string>}
27
+ * @memberof OperationCapability
28
+ */
29
+ missingPrivileges?: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the OperationCapability interface.
33
+ */
34
+ export declare function instanceOfOperationCapability(value: object): value is OperationCapability;
35
+ export declare function OperationCapabilityFromJSON(json: any): OperationCapability;
36
+ export declare function OperationCapabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): OperationCapability;
37
+ export declare function OperationCapabilityToJSON(json: any): OperationCapability;
38
+ export declare function OperationCapabilityToJSONTyped(value?: OperationCapability | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
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.instanceOfOperationCapability = instanceOfOperationCapability;
17
+ exports.OperationCapabilityFromJSON = OperationCapabilityFromJSON;
18
+ exports.OperationCapabilityFromJSONTyped = OperationCapabilityFromJSONTyped;
19
+ exports.OperationCapabilityToJSON = OperationCapabilityToJSON;
20
+ exports.OperationCapabilityToJSONTyped = OperationCapabilityToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the OperationCapability interface.
23
+ */
24
+ function instanceOfOperationCapability(value) {
25
+ if (!('enabled' in value) || value['enabled'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function OperationCapabilityFromJSON(json) {
30
+ return OperationCapabilityFromJSONTyped(json, false);
31
+ }
32
+ function OperationCapabilityFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'enabled': json['enabled'],
38
+ 'missingPrivileges': json['missingPrivileges'] == null ? undefined : json['missingPrivileges'],
39
+ };
40
+ }
41
+ function OperationCapabilityToJSON(json) {
42
+ return OperationCapabilityToJSONTyped(json, false);
43
+ }
44
+ function OperationCapabilityToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'enabled': value['enabled'],
50
+ 'missingPrivileges': value['missingPrivileges'],
51
+ };
52
+ }
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 PairCapability
16
+ */
17
+ export interface PairCapability {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PairCapability
22
+ */
23
+ pairName: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PairCapability
28
+ */
29
+ sourceDatastore: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PairCapability
34
+ */
35
+ targetDatastore: string;
36
+ /**
37
+ * Feasible offload methods for this source-target pair
38
+ * @type {Array<PairCapabilityCapabilitiesEnum>}
39
+ * @memberof PairCapability
40
+ */
41
+ capabilities: Array<PairCapabilityCapabilitiesEnum>;
42
+ }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const PairCapabilityCapabilitiesEnum: {
47
+ readonly CopyOffload: "copy-offload";
48
+ readonly Xcopy: "xcopy";
49
+ readonly Rdm: "rdm";
50
+ readonly Vvol: "vvol";
51
+ };
52
+ export type PairCapabilityCapabilitiesEnum = typeof PairCapabilityCapabilitiesEnum[keyof typeof PairCapabilityCapabilitiesEnum];
53
+ /**
54
+ * Check if a given object implements the PairCapability interface.
55
+ */
56
+ export declare function instanceOfPairCapability(value: object): value is PairCapability;
57
+ export declare function PairCapabilityFromJSON(json: any): PairCapability;
58
+ export declare function PairCapabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PairCapability;
59
+ export declare function PairCapabilityToJSON(json: any): PairCapability;
60
+ export declare function PairCapabilityToJSONTyped(value?: PairCapability | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
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.PairCapabilityCapabilitiesEnum = void 0;
17
+ exports.instanceOfPairCapability = instanceOfPairCapability;
18
+ exports.PairCapabilityFromJSON = PairCapabilityFromJSON;
19
+ exports.PairCapabilityFromJSONTyped = PairCapabilityFromJSONTyped;
20
+ exports.PairCapabilityToJSON = PairCapabilityToJSON;
21
+ exports.PairCapabilityToJSONTyped = PairCapabilityToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PairCapabilityCapabilitiesEnum = {
26
+ CopyOffload: 'copy-offload',
27
+ Xcopy: 'xcopy',
28
+ Rdm: 'rdm',
29
+ Vvol: 'vvol'
30
+ };
31
+ /**
32
+ * Check if a given object implements the PairCapability interface.
33
+ */
34
+ function instanceOfPairCapability(value) {
35
+ if (!('pairName' in value) || value['pairName'] === undefined)
36
+ return false;
37
+ if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined)
38
+ return false;
39
+ if (!('targetDatastore' in value) || value['targetDatastore'] === undefined)
40
+ return false;
41
+ if (!('capabilities' in value) || value['capabilities'] === undefined)
42
+ return false;
43
+ return true;
44
+ }
45
+ function PairCapabilityFromJSON(json) {
46
+ return PairCapabilityFromJSONTyped(json, false);
47
+ }
48
+ function PairCapabilityFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'pairName': json['pairName'],
54
+ 'sourceDatastore': json['sourceDatastore'],
55
+ 'targetDatastore': json['targetDatastore'],
56
+ 'capabilities': json['capabilities'],
57
+ };
58
+ }
59
+ function PairCapabilityToJSON(json) {
60
+ return PairCapabilityToJSONTyped(json, false);
61
+ }
62
+ function PairCapabilityToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'pairName': value['pairName'],
68
+ 'sourceDatastore': value['sourceDatastore'],
69
+ 'targetDatastore': value['targetDatastore'],
70
+ 'capabilities': value['capabilities'],
71
+ };
72
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { VcenterCredentials } from './VcenterCredentials.js';
13
+ import type { DatastorePair } from './DatastorePair.js';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PairCapabilityRequest
18
+ */
19
+ export interface PairCapabilityRequest {
20
+ /**
21
+ *
22
+ * @type {VcenterCredentials}
23
+ * @memberof PairCapabilityRequest
24
+ */
25
+ credentials?: VcenterCredentials;
26
+ /**
27
+ *
28
+ * @type {Array<DatastorePair>}
29
+ * @memberof PairCapabilityRequest
30
+ */
31
+ pairs: Array<DatastorePair>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PairCapabilityRequest interface.
35
+ */
36
+ export declare function instanceOfPairCapabilityRequest(value: object): value is PairCapabilityRequest;
37
+ export declare function PairCapabilityRequestFromJSON(json: any): PairCapabilityRequest;
38
+ export declare function PairCapabilityRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PairCapabilityRequest;
39
+ export declare function PairCapabilityRequestToJSON(json: any): PairCapabilityRequest;
40
+ export declare function PairCapabilityRequestToJSONTyped(value?: PairCapabilityRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
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.instanceOfPairCapabilityRequest = instanceOfPairCapabilityRequest;
17
+ exports.PairCapabilityRequestFromJSON = PairCapabilityRequestFromJSON;
18
+ exports.PairCapabilityRequestFromJSONTyped = PairCapabilityRequestFromJSONTyped;
19
+ exports.PairCapabilityRequestToJSON = PairCapabilityRequestToJSON;
20
+ exports.PairCapabilityRequestToJSONTyped = PairCapabilityRequestToJSONTyped;
21
+ const VcenterCredentials_js_1 = require("./VcenterCredentials.js");
22
+ const DatastorePair_js_1 = require("./DatastorePair.js");
23
+ /**
24
+ * Check if a given object implements the PairCapabilityRequest interface.
25
+ */
26
+ function instanceOfPairCapabilityRequest(value) {
27
+ if (!('pairs' in value) || value['pairs'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function PairCapabilityRequestFromJSON(json) {
32
+ return PairCapabilityRequestFromJSONTyped(json, false);
33
+ }
34
+ function PairCapabilityRequestFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'credentials': json['credentials'] == null ? undefined : (0, VcenterCredentials_js_1.VcenterCredentialsFromJSON)(json['credentials']),
40
+ 'pairs': (json['pairs'].map(DatastorePair_js_1.DatastorePairFromJSON)),
41
+ };
42
+ }
43
+ function PairCapabilityRequestToJSON(json) {
44
+ return PairCapabilityRequestToJSONTyped(json, false);
45
+ }
46
+ function PairCapabilityRequestToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'credentials': (0, VcenterCredentials_js_1.VcenterCredentialsToJSON)(value['credentials']),
52
+ 'pairs': (value['pairs'].map(DatastorePair_js_1.DatastorePairToJSON)),
53
+ };
54
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 PutForecasterCredentials403Response
16
+ */
17
+ export interface PutForecasterCredentials403Response {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PutForecasterCredentials403Response
22
+ */
23
+ error?: string;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof PutForecasterCredentials403Response
28
+ */
29
+ missingPrivileges?: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PutForecasterCredentials403Response interface.
33
+ */
34
+ export declare function instanceOfPutForecasterCredentials403Response(value: object): value is PutForecasterCredentials403Response;
35
+ export declare function PutForecasterCredentials403ResponseFromJSON(json: any): PutForecasterCredentials403Response;
36
+ export declare function PutForecasterCredentials403ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutForecasterCredentials403Response;
37
+ export declare function PutForecasterCredentials403ResponseToJSON(json: any): PutForecasterCredentials403Response;
38
+ export declare function PutForecasterCredentials403ResponseToJSONTyped(value?: PutForecasterCredentials403Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
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.instanceOfPutForecasterCredentials403Response = instanceOfPutForecasterCredentials403Response;
17
+ exports.PutForecasterCredentials403ResponseFromJSON = PutForecasterCredentials403ResponseFromJSON;
18
+ exports.PutForecasterCredentials403ResponseFromJSONTyped = PutForecasterCredentials403ResponseFromJSONTyped;
19
+ exports.PutForecasterCredentials403ResponseToJSON = PutForecasterCredentials403ResponseToJSON;
20
+ exports.PutForecasterCredentials403ResponseToJSONTyped = PutForecasterCredentials403ResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PutForecasterCredentials403Response interface.
23
+ */
24
+ function instanceOfPutForecasterCredentials403Response(value) {
25
+ return true;
26
+ }
27
+ function PutForecasterCredentials403ResponseFromJSON(json) {
28
+ return PutForecasterCredentials403ResponseFromJSONTyped(json, false);
29
+ }
30
+ function PutForecasterCredentials403ResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'error': json['error'] == null ? undefined : json['error'],
36
+ 'missingPrivileges': json['missingPrivileges'] == null ? undefined : json['missingPrivileges'],
37
+ };
38
+ }
39
+ function PutForecasterCredentials403ResponseToJSON(json) {
40
+ return PutForecasterCredentials403ResponseToJSONTyped(json, false);
41
+ }
42
+ function PutForecasterCredentials403ResponseToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'error': value['error'],
48
+ 'missingPrivileges': value['missingPrivileges'],
49
+ };
50
+ }