@openshift-migration-advisor/agent-sdk 0.20.0 → 0.20.1-1349fa2b4ad9
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 +64 -48
- package/README.md +82 -86
- package/dist/apis/AgentApi.d.ts +95 -0
- package/dist/apis/AgentApi.js +109 -0
- package/dist/apis/ApplicationsApi.d.ts +64 -0
- package/dist/apis/ApplicationsApi.js +72 -0
- package/dist/apis/CollectionsApi.d.ts +217 -0
- package/dist/apis/CollectionsApi.js +216 -0
- package/dist/apis/CollectorApi.d.ts +154 -0
- package/dist/apis/CollectorApi.js +196 -0
- package/dist/apis/CredentialsApi.d.ts +168 -0
- package/dist/apis/CredentialsApi.js +187 -0
- package/dist/apis/ForecasterApi.d.ts +375 -0
- package/dist/apis/ForecasterApi.js +397 -0
- package/dist/apis/GroupsApi.d.ts +374 -0
- package/dist/apis/GroupsApi.js +351 -0
- package/dist/apis/InspectorApi.d.ts +202 -0
- package/dist/apis/InspectorApi.js +240 -0
- package/dist/apis/InventoriesApi.d.ts +94 -0
- package/dist/apis/InventoriesApi.js +107 -0
- package/dist/apis/RightsizingApi.d.ts +109 -0
- package/dist/apis/RightsizingApi.js +116 -0
- package/dist/apis/VersionApi.d.ts +56 -0
- package/dist/apis/VersionApi.js +68 -0
- package/dist/apis/VirtualMachinesApi.d.ts +578 -0
- package/dist/apis/VirtualMachinesApi.js +576 -0
- package/dist/apis/index.d.ts +12 -1
- package/dist/apis/index.js +12 -1
- package/dist/esm/apis/AgentApi.d.ts +95 -0
- package/dist/esm/apis/AgentApi.js +105 -0
- package/dist/esm/apis/ApplicationsApi.d.ts +64 -0
- package/dist/esm/apis/ApplicationsApi.js +68 -0
- package/dist/esm/apis/CollectionsApi.d.ts +217 -0
- package/dist/esm/apis/CollectionsApi.js +212 -0
- package/dist/esm/apis/CollectorApi.d.ts +154 -0
- package/dist/esm/apis/CollectorApi.js +192 -0
- package/dist/esm/apis/CredentialsApi.d.ts +168 -0
- package/dist/esm/apis/CredentialsApi.js +183 -0
- package/dist/esm/apis/ForecasterApi.d.ts +375 -0
- package/dist/esm/apis/ForecasterApi.js +393 -0
- package/dist/esm/apis/GroupsApi.d.ts +374 -0
- package/dist/esm/apis/GroupsApi.js +347 -0
- package/dist/esm/apis/InspectorApi.d.ts +202 -0
- package/dist/esm/apis/InspectorApi.js +236 -0
- package/dist/esm/apis/InventoriesApi.d.ts +94 -0
- package/dist/esm/apis/InventoriesApi.js +103 -0
- package/dist/esm/apis/RightsizingApi.d.ts +109 -0
- package/dist/esm/apis/RightsizingApi.js +112 -0
- package/dist/esm/apis/VersionApi.d.ts +56 -0
- package/dist/esm/apis/VersionApi.js +64 -0
- package/dist/esm/apis/VirtualMachinesApi.d.ts +578 -0
- package/dist/esm/apis/VirtualMachinesApi.js +572 -0
- package/dist/esm/apis/index.d.ts +12 -1
- package/dist/esm/apis/index.js +12 -1
- package/dist/esm/models/AgentModeRequest.d.ts +1 -1
- package/dist/esm/models/AgentModeRequest.js +1 -1
- package/dist/esm/models/AgentStatus.d.ts +6 -13
- package/dist/esm/models/AgentStatus.js +7 -13
- package/dist/esm/models/AgentStatusConsoleConnection.d.ts +42 -0
- package/dist/esm/models/AgentStatusConsoleConnection.js +52 -0
- package/dist/esm/models/ApplicationListResponse.d.ts +1 -1
- package/dist/esm/models/ApplicationListResponse.js +1 -1
- package/dist/esm/models/ApplicationOverview.d.ts +4 -4
- package/dist/esm/models/ApplicationOverview.js +1 -1
- package/dist/esm/models/ApplicationVM.d.ts +3 -3
- package/dist/esm/models/ApplicationVM.js +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/esm/models/BenchmarkRun.d.ts +6 -6
- package/dist/esm/models/BenchmarkRun.js +7 -5
- package/dist/esm/models/CapabilityStatus.d.ts +1 -1
- package/dist/esm/models/CapabilityStatus.js +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/esm/models/ClusterFeatures.d.ts +1 -1
- package/dist/esm/models/ClusterFeatures.js +1 -1
- package/dist/esm/models/ClusterUtilization.d.ts +1 -1
- package/dist/esm/models/ClusterUtilization.js +1 -1
- package/dist/esm/models/Collection.d.ts +38 -0
- package/dist/esm/models/Collection.js +51 -0
- package/dist/esm/models/CollectionAggregate.d.ts +50 -0
- package/dist/esm/models/CollectionAggregate.js +63 -0
- package/dist/esm/models/CollectionComparisonDiff.d.ts +48 -0
- package/dist/esm/models/CollectionComparisonDiff.js +60 -0
- package/dist/esm/models/CollectionComparisonSummary.d.ts +36 -0
- package/dist/esm/models/CollectionComparisonSummary.js +49 -0
- package/dist/esm/models/CollectionComparisonSummaryDiff.d.ts +43 -0
- package/dist/esm/models/CollectionComparisonSummaryDiff.js +56 -0
- package/dist/esm/models/CollectionListResponse.d.ts +31 -0
- package/dist/esm/models/CollectionListResponse.js +44 -0
- package/dist/esm/models/CollectorStatus.d.ts +2 -1
- package/dist/esm/models/CollectorStatus.js +2 -1
- package/dist/esm/models/ComparisonDiffEntry.d.ts +38 -0
- package/dist/esm/models/ComparisonDiffEntry.js +47 -0
- package/dist/esm/models/ComparisonDiffPage.d.ts +42 -0
- package/dist/esm/models/ComparisonDiffPage.js +55 -0
- package/dist/esm/models/CreateGroupRequest.d.ts +4 -4
- package/dist/esm/models/CreateGroupRequest.js +1 -1
- package/dist/esm/models/CredentialStatus.d.ts +1 -1
- package/dist/esm/models/CredentialStatus.js +1 -1
- package/dist/esm/models/Datastore.d.ts +1 -1
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DatastoreDetail.d.ts +7 -17
- package/dist/esm/models/DatastoreDetail.js +1 -10
- package/dist/esm/models/DatastorePairRequest.d.ts +42 -0
- package/dist/esm/models/{DatastorePair.js → DatastorePairRequest.js} +9 -9
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +5 -5
- package/dist/esm/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/esm/models/DiskSizeTierSummary.js +1 -1
- package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
- package/dist/esm/models/DiskTypeSummary.js +1 -1
- package/dist/esm/models/EstimateRange.d.ts +8 -8
- package/dist/esm/models/EstimateRange.js +10 -4
- package/dist/esm/models/ForecastPairStatus.d.ts +78 -0
- package/dist/esm/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +22 -22
- package/dist/esm/models/ForecastStats.d.ts +11 -11
- package/dist/esm/models/ForecastStats.js +33 -17
- package/dist/esm/models/ForecasterStatus.d.ts +7 -7
- package/dist/esm/models/ForecasterStatus.js +8 -6
- package/dist/esm/models/Group.d.ts +4 -4
- package/dist/esm/models/Group.js +1 -1
- package/dist/esm/models/GroupListResponse.d.ts +4 -4
- package/dist/esm/models/GroupListResponse.js +1 -1
- package/dist/esm/models/GroupResponse.d.ts +6 -6
- package/dist/esm/models/GroupResponse.js +4 -4
- package/dist/esm/models/GuestNetwork.d.ts +6 -6
- package/dist/esm/models/GuestNetwork.js +1 -1
- package/dist/esm/models/Histogram.d.ts +1 -1
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +9 -1
- package/dist/esm/models/Host.js +5 -1
- package/dist/esm/models/Infra.d.ts +1 -1
- package/dist/esm/models/Infra.js +1 -1
- package/dist/esm/models/InspectionStatus.d.ts +45 -0
- package/dist/esm/models/InspectionStatus.js +55 -0
- package/dist/esm/models/InspectorStatus.d.ts +1 -1
- package/dist/esm/models/InspectorStatus.js +1 -1
- package/dist/esm/models/Inventory.d.ts +3 -17
- package/dist/esm/models/Inventory.js +5 -14
- package/dist/esm/models/Inventory1.d.ts +45 -0
- package/dist/esm/models/Inventory1.js +53 -0
- package/dist/esm/models/InventoryData.d.ts +1 -1
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/IssuesBreakdown.d.ts +1 -1
- package/dist/esm/models/IssuesBreakdown.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -1
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/Network.d.ts +1 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OperationCapability.d.ts +1 -1
- package/dist/esm/models/OperationCapability.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PairCapability.d.ts +3 -13
- package/dist/esm/models/PairCapability.js +1 -10
- package/dist/esm/models/PairCapabilityRequest.d.ts +3 -8
- package/dist/esm/models/PairCapabilityRequest.js +4 -7
- package/dist/esm/models/Process.d.ts +1 -1
- package/dist/esm/models/Process.js +1 -1
- package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -2
- package/dist/esm/models/RightsizingClusterResponse.js +1 -1
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +13 -15
- package/dist/esm/models/RightsizingClusterUtilization.js +1 -1
- package/dist/esm/models/StartForecasterRequest.d.ts +43 -0
- package/dist/esm/models/{ForecasterStartRequest.js → StartForecasterRequest.js} +12 -15
- package/dist/esm/models/StartInspectionRequest.d.ts +3 -8
- package/dist/esm/models/StartInspectionRequest.js +1 -4
- package/dist/esm/models/StopForecasterPair202Response.d.ts +1 -1
- package/dist/esm/models/StopForecasterPair202Response.js +1 -1
- package/dist/esm/models/StorageIoConfiguration.d.ts +1 -1
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- package/dist/esm/models/UpdateGroupRequest.d.ts +4 -4
- package/dist/esm/models/UpdateGroupRequest.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +3 -3
- package/dist/esm/models/UpdateInventory.js +4 -4
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +1 -1
- package/dist/esm/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -1
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
- package/dist/esm/models/VMLabelsResponse.d.ts +1 -1
- package/dist/esm/models/VMLabelsResponse.js +1 -1
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +1 -1
- package/dist/esm/models/VMs.js +1 -1
- package/dist/esm/models/VcenterCredentials.d.ts +1 -1
- package/dist/esm/models/VcenterCredentials.js +1 -1
- package/dist/esm/models/VddkProperties.d.ts +2 -2
- package/dist/esm/models/VddkProperties.js +1 -1
- package/dist/esm/models/VersionInfo.d.ts +4 -4
- package/dist/esm/models/VersionInfo.js +1 -1
- package/dist/esm/models/VirtualMachine.d.ts +15 -11
- package/dist/esm/models/VirtualMachine.js +10 -6
- package/dist/esm/models/VirtualMachineDetail.d.ts +42 -38
- package/dist/esm/models/VirtualMachineDetail.js +20 -16
- package/dist/esm/models/VirtualMachineDevice.d.ts +30 -0
- package/dist/esm/models/{VMDevice.js → VirtualMachineDevice.js} +9 -9
- package/dist/esm/models/VirtualMachineDisk.d.ts +54 -0
- package/dist/esm/models/{VMDisk.js → VirtualMachineDisk.js} +9 -9
- package/dist/esm/models/VirtualMachineInspectionConcern.d.ts +38 -0
- package/dist/esm/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +9 -9
- package/dist/esm/models/VirtualMachineInspectionResults.d.ts +31 -0
- package/dist/esm/models/VirtualMachineInspectionResults.js +42 -0
- package/dist/esm/models/VirtualMachineIssue.d.ts +50 -0
- package/dist/esm/models/{VMIssue.js → VirtualMachineIssue.js} +16 -16
- package/dist/esm/models/VirtualMachineListResponse.d.ts +3 -3
- package/dist/esm/models/VirtualMachineListResponse.js +4 -4
- package/dist/esm/models/VirtualMachineNIC.d.ts +38 -0
- package/dist/esm/models/{VMNIC.js → VirtualMachineNIC.js} +9 -13
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +1 -1
- package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/esm/models/VmUtilizationDetails.d.ts +8 -8
- package/dist/esm/models/VmUtilizationDetails.js +1 -1
- package/dist/esm/models/index.d.ts +20 -23
- package/dist/esm/models/index.js +20 -23
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +2 -2
- package/dist/models/AgentModeRequest.d.ts +1 -1
- package/dist/models/AgentModeRequest.js +1 -1
- package/dist/models/AgentStatus.d.ts +6 -13
- package/dist/models/AgentStatus.js +8 -14
- package/dist/models/AgentStatusConsoleConnection.d.ts +42 -0
- package/dist/models/AgentStatusConsoleConnection.js +60 -0
- package/dist/models/ApplicationListResponse.d.ts +1 -1
- package/dist/models/ApplicationListResponse.js +1 -1
- package/dist/models/ApplicationOverview.d.ts +4 -4
- package/dist/models/ApplicationOverview.js +1 -1
- package/dist/models/ApplicationVM.d.ts +3 -3
- package/dist/models/ApplicationVM.js +1 -1
- package/dist/models/BatchUpdateExclusionRequest.d.ts +1 -1
- package/dist/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/models/BenchmarkRun.d.ts +6 -6
- package/dist/models/BenchmarkRun.js +7 -5
- package/dist/models/CapabilityStatus.d.ts +1 -1
- package/dist/models/CapabilityStatus.js +1 -1
- package/dist/models/CapabilityStatusCapabilities.d.ts +1 -1
- package/dist/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/models/ClusterFeatures.d.ts +1 -1
- package/dist/models/ClusterFeatures.js +1 -1
- package/dist/models/ClusterUtilization.d.ts +1 -1
- package/dist/models/ClusterUtilization.js +1 -1
- package/dist/models/Collection.d.ts +38 -0
- package/dist/models/Collection.js +58 -0
- package/dist/models/CollectionAggregate.d.ts +50 -0
- package/dist/models/CollectionAggregate.js +70 -0
- package/dist/models/CollectionComparisonDiff.d.ts +48 -0
- package/dist/models/CollectionComparisonDiff.js +68 -0
- package/dist/models/CollectionComparisonSummary.d.ts +36 -0
- package/dist/models/CollectionComparisonSummary.js +56 -0
- package/dist/models/CollectionComparisonSummaryDiff.d.ts +43 -0
- package/dist/models/CollectionComparisonSummaryDiff.js +63 -0
- package/dist/models/CollectionListResponse.d.ts +31 -0
- package/dist/models/CollectionListResponse.js +51 -0
- package/dist/models/CollectorStatus.d.ts +2 -1
- package/dist/models/CollectorStatus.js +2 -1
- package/dist/models/ComparisonDiffEntry.d.ts +38 -0
- package/dist/models/ComparisonDiffEntry.js +54 -0
- package/dist/models/ComparisonDiffPage.d.ts +42 -0
- package/dist/models/ComparisonDiffPage.js +62 -0
- package/dist/models/CreateGroupRequest.d.ts +4 -4
- package/dist/models/CreateGroupRequest.js +1 -1
- package/dist/models/CredentialStatus.d.ts +1 -1
- package/dist/models/CredentialStatus.js +1 -1
- package/dist/models/Datastore.d.ts +1 -1
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DatastoreDetail.d.ts +7 -17
- package/dist/models/DatastoreDetail.js +1 -11
- package/dist/models/DatastorePairRequest.d.ts +42 -0
- package/dist/models/{DatastorePair.js → DatastorePairRequest.js} +14 -14
- package/dist/models/DeleteLabelGloballyResponse.d.ts +5 -5
- package/dist/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/models/DiskSizeTierSummary.js +1 -1
- package/dist/models/DiskTypeSummary.d.ts +1 -1
- package/dist/models/DiskTypeSummary.js +1 -1
- package/dist/models/EstimateRange.d.ts +8 -8
- package/dist/models/EstimateRange.js +10 -4
- package/dist/models/ForecastPairStatus.d.ts +78 -0
- package/dist/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +28 -28
- package/dist/models/ForecastStats.d.ts +11 -11
- package/dist/models/ForecastStats.js +33 -17
- package/dist/models/ForecasterStatus.d.ts +7 -7
- package/dist/models/ForecasterStatus.js +8 -6
- package/dist/models/Group.d.ts +4 -4
- package/dist/models/Group.js +1 -1
- package/dist/models/GroupListResponse.d.ts +4 -4
- package/dist/models/GroupListResponse.js +1 -1
- package/dist/models/GroupResponse.d.ts +6 -6
- package/dist/models/GroupResponse.js +4 -4
- package/dist/models/GuestNetwork.d.ts +6 -6
- package/dist/models/GuestNetwork.js +1 -1
- package/dist/models/Histogram.d.ts +1 -1
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +9 -1
- package/dist/models/Host.js +5 -1
- package/dist/models/Infra.d.ts +1 -1
- package/dist/models/Infra.js +1 -1
- package/dist/models/InspectionStatus.d.ts +45 -0
- package/dist/models/InspectionStatus.js +63 -0
- package/dist/models/InspectorStatus.d.ts +1 -1
- package/dist/models/InspectorStatus.js +1 -1
- package/dist/models/Inventory.d.ts +3 -17
- package/dist/models/Inventory.js +5 -14
- package/dist/models/Inventory1.d.ts +45 -0
- package/dist/models/Inventory1.js +60 -0
- package/dist/models/InventoryData.d.ts +1 -1
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/IssuesBreakdown.d.ts +1 -1
- package/dist/models/IssuesBreakdown.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -1
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/Network.d.ts +1 -1
- package/dist/models/Network.js +1 -1
- package/dist/models/OperationCapability.d.ts +1 -1
- package/dist/models/OperationCapability.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PairCapability.d.ts +3 -13
- package/dist/models/PairCapability.js +1 -11
- package/dist/models/PairCapabilityRequest.d.ts +3 -8
- package/dist/models/PairCapabilityRequest.js +4 -7
- package/dist/models/Process.d.ts +1 -1
- package/dist/models/Process.js +1 -1
- package/dist/models/RightsizingClusterResponse.d.ts +2 -2
- package/dist/models/RightsizingClusterResponse.js +1 -1
- package/dist/models/RightsizingClusterUtilization.d.ts +13 -15
- package/dist/models/RightsizingClusterUtilization.js +1 -1
- package/dist/models/StartForecasterRequest.d.ts +43 -0
- package/dist/models/StartForecasterRequest.js +57 -0
- package/dist/models/StartInspectionRequest.d.ts +3 -8
- package/dist/models/StartInspectionRequest.js +1 -4
- package/dist/models/StopForecasterPair202Response.d.ts +1 -1
- package/dist/models/StopForecasterPair202Response.js +1 -1
- package/dist/models/StorageIoConfiguration.d.ts +1 -1
- package/dist/models/StorageIoConfiguration.js +1 -1
- package/dist/models/UpdateGroupRequest.d.ts +4 -4
- package/dist/models/UpdateGroupRequest.js +1 -1
- package/dist/models/UpdateInventory.d.ts +3 -3
- package/dist/models/UpdateInventory.js +4 -4
- package/dist/models/UpdateLabelVMsRequest.d.ts +1 -1
- package/dist/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/models/VCenter.d.ts +1 -1
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMFilterOptionsResponse.d.ts +1 -1
- package/dist/models/VMFilterOptionsResponse.js +1 -1
- package/dist/models/VMLabelsResponse.d.ts +1 -1
- package/dist/models/VMLabelsResponse.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +1 -1
- package/dist/models/VMs.js +1 -1
- package/dist/models/VcenterCredentials.d.ts +1 -1
- package/dist/models/VcenterCredentials.js +1 -1
- package/dist/models/VddkProperties.d.ts +2 -2
- package/dist/models/VddkProperties.js +1 -1
- package/dist/models/VersionInfo.d.ts +4 -4
- package/dist/models/VersionInfo.js +1 -1
- package/dist/models/VirtualMachine.d.ts +15 -11
- package/dist/models/VirtualMachine.js +10 -6
- package/dist/models/VirtualMachineDetail.d.ts +42 -38
- package/dist/models/VirtualMachineDetail.js +20 -16
- package/dist/models/VirtualMachineDevice.d.ts +30 -0
- package/dist/models/VirtualMachineDevice.js +48 -0
- package/dist/models/VirtualMachineDisk.d.ts +54 -0
- package/dist/models/{VMDisk.js → VirtualMachineDisk.js} +14 -14
- package/dist/models/VirtualMachineInspectionConcern.d.ts +38 -0
- package/dist/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +14 -14
- package/dist/models/VirtualMachineInspectionResults.d.ts +31 -0
- package/dist/models/VirtualMachineInspectionResults.js +49 -0
- package/dist/models/VirtualMachineIssue.d.ts +50 -0
- package/dist/models/VirtualMachineIssue.js +70 -0
- package/dist/models/VirtualMachineListResponse.d.ts +3 -3
- package/dist/models/VirtualMachineListResponse.js +4 -4
- package/dist/models/VirtualMachineNIC.d.ts +38 -0
- package/dist/models/{VMNIC.js → VirtualMachineNIC.js} +14 -18
- package/dist/models/VirtualMachineUpdateRequest.d.ts +1 -1
- package/dist/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/models/VmUtilizationDetails.d.ts +8 -8
- package/dist/models/VmUtilizationDetails.js +1 -1
- package/dist/models/index.d.ts +20 -23
- package/dist/models/index.js +20 -23
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +2 -2
- package/docs/AgentApi.md +136 -0
- package/docs/AgentStatus.md +4 -4
- package/docs/{ExportInventory400Response.md → AgentStatusConsoleConnection.md} +7 -5
- package/docs/ApplicationsApi.md +76 -0
- package/docs/BenchmarkRun.md +2 -2
- package/docs/Collection.md +38 -0
- package/docs/{RightsizingClusterListResponse.md → CollectionAggregate.md} +15 -7
- package/docs/CollectionComparisonDiff.md +38 -0
- package/docs/{ForecasterDatastoresRequest.md → CollectionComparisonSummary.md} +8 -6
- package/docs/CollectionComparisonSummaryDiff.md +41 -0
- package/docs/CollectionListResponse.md +34 -0
- package/docs/CollectionsApi.md +291 -0
- package/docs/CollectorApi.md +257 -0
- package/docs/{VmInspectionResults.md → ComparisonDiffEntry.md} +10 -7
- package/docs/{RightsizingReportListResponse.md → ComparisonDiffPage.md} +10 -6
- package/docs/CredentialsApi.md +264 -0
- package/docs/{DatastorePair.md → DatastorePairRequest.md} +4 -4
- package/docs/DeleteLabelGloballyResponse.md +2 -2
- package/docs/EstimateRange.md +0 -1
- package/docs/{ForecasterPairStatus.md → ForecastPairStatus.md} +8 -8
- package/docs/ForecastStats.md +16 -16
- package/docs/ForecasterApi.md +612 -0
- package/docs/ForecasterStatus.md +1 -1
- package/docs/GroupResponse.md +1 -1
- package/docs/GroupsApi.md +527 -0
- package/docs/Host.md +4 -0
- package/docs/{ExportInventory500Response.md → InspectionStatus.md} +6 -4
- package/docs/InspectorApi.md +334 -0
- package/docs/InventoriesApi.md +136 -0
- package/docs/Inventory.md +2 -8
- package/docs/{GetInventory200Response.md → Inventory1.md} +4 -8
- package/docs/PairCapabilityRequest.md +1 -3
- package/docs/RightsizingApi.md +148 -0
- package/docs/{ForecasterStartRequest.md → StartForecasterRequest.md} +5 -7
- package/docs/StartInspectionRequest.md +0 -3
- package/docs/UpdateInventory.md +1 -1
- package/docs/VMLabelsResponse.md +2 -2
- package/docs/VersionApi.md +66 -0
- package/docs/VirtualMachine.md +5 -3
- package/docs/VirtualMachineDetail.md +7 -5
- package/docs/{VMDevice.md → VirtualMachineDevice.md} +4 -4
- package/docs/{VMDisk.md → VirtualMachineDisk.md} +4 -4
- package/docs/{VmInspectionConcern.md → VirtualMachineInspectionConcern.md} +4 -5
- package/docs/VirtualMachineInspectionResults.md +35 -0
- package/docs/{VMIssue.md → VirtualMachineIssue.md} +4 -4
- package/docs/VirtualMachineListResponse.md +2 -2
- package/docs/{VMNIC.md → VirtualMachineNIC.md} +4 -8
- package/docs/VirtualMachineUpdateRequest.md +2 -2
- package/docs/VirtualMachinesApi.md +914 -0
- package/package.json +1 -1
- package/src/apis/AgentApi.ts +176 -0
- package/src/apis/ApplicationsApi.ts +111 -0
- package/src/apis/CollectionsApi.ts +411 -0
- package/src/apis/CollectorApi.ts +306 -0
- package/src/apis/CredentialsApi.ts +308 -0
- package/src/apis/ForecasterApi.ts +721 -0
- package/src/apis/GroupsApi.ts +718 -0
- package/src/apis/InspectorApi.ts +405 -0
- package/src/apis/InventoriesApi.ts +169 -0
- package/src/apis/RightsizingApi.ts +205 -0
- package/src/apis/VersionApi.ts +94 -0
- package/src/apis/VirtualMachinesApi.ts +1142 -0
- package/src/apis/index.ts +12 -1
- package/src/models/AgentModeRequest.ts +1 -1
- package/src/models/AgentStatus.ts +18 -19
- package/src/models/AgentStatusConsoleConnection.ts +81 -0
- package/src/models/ApplicationListResponse.ts +1 -1
- package/src/models/ApplicationOverview.ts +4 -4
- package/src/models/ApplicationVM.ts +3 -3
- package/src/models/BatchUpdateExclusionRequest.ts +1 -1
- package/src/models/BenchmarkRun.ts +11 -10
- package/src/models/CapabilityStatus.ts +1 -1
- package/src/models/CapabilityStatusCapabilities.ts +1 -1
- package/src/models/ClusterFeatures.ts +1 -1
- package/src/models/ClusterUtilization.ts +1 -1
- package/src/models/Collection.ts +78 -0
- package/src/models/CollectionAggregate.ts +99 -0
- package/src/models/CollectionComparisonDiff.ts +98 -0
- package/src/models/CollectionComparisonSummary.ts +86 -0
- package/src/models/CollectionComparisonSummaryDiff.ts +93 -0
- package/src/models/CollectionListResponse.ts +72 -0
- package/src/models/CollectorStatus.ts +2 -1
- package/src/models/ComparisonDiffEntry.ts +76 -0
- package/src/models/ComparisonDiffPage.ts +85 -0
- package/src/models/CreateGroupRequest.ts +4 -4
- package/src/models/CredentialStatus.ts +1 -1
- package/src/models/Datastore.ts +1 -1
- package/src/models/DatastoreDetail.ts +7 -20
- package/src/models/{DatastorePair.ts → DatastorePairRequest.ts} +15 -15
- package/src/models/DeleteLabelGloballyResponse.ts +8 -8
- package/src/models/DiskSizeTierSummary.ts +1 -1
- package/src/models/DiskTypeSummary.ts +1 -1
- package/src/models/EstimateRange.ts +14 -11
- package/src/models/{ForecasterPairStatus.ts → ForecastPairStatus.ts} +37 -37
- package/src/models/ForecastStats.ts +35 -27
- package/src/models/ForecasterStatus.ts +15 -14
- package/src/models/Group.ts +4 -4
- package/src/models/GroupListResponse.ts +4 -4
- package/src/models/GroupResponse.ts +13 -13
- package/src/models/GuestNetwork.ts +6 -6
- package/src/models/Histogram.ts +1 -1
- package/src/models/Host.ts +13 -1
- package/src/models/Infra.ts +1 -1
- package/src/models/InspectionStatus.ts +84 -0
- package/src/models/InspectorStatus.ts +1 -1
- package/src/models/Inventory.ts +11 -30
- package/src/models/Inventory1.ts +91 -0
- package/src/models/InventoryData.ts +1 -1
- package/src/models/IssuesBreakdown.ts +1 -1
- package/src/models/MigrationIssue.ts +1 -1
- package/src/models/Network.ts +1 -1
- package/src/models/OperationCapability.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PairCapability.ts +3 -16
- package/src/models/PairCapabilityRequest.ts +10 -23
- package/src/models/Process.ts +1 -1
- package/src/models/RightsizingClusterResponse.ts +2 -2
- package/src/models/RightsizingClusterUtilization.ts +13 -15
- package/src/models/StartForecasterRequest.ts +90 -0
- package/src/models/StartInspectionRequest.ts +3 -17
- package/src/models/StopForecasterPair202Response.ts +1 -1
- package/src/models/StorageIoConfiguration.ts +1 -1
- package/src/models/UpdateGroupRequest.ts +4 -4
- package/src/models/UpdateInventory.ts +10 -10
- package/src/models/UpdateLabelVMsRequest.ts +1 -1
- package/src/models/VCenter.ts +1 -1
- package/src/models/VMFilterOptionsResponse.ts +1 -1
- package/src/models/VMLabelsResponse.ts +1 -1
- package/src/models/VMResourceBreakdown.ts +1 -1
- package/src/models/VMs.ts +1 -1
- package/src/models/VcenterCredentials.ts +1 -1
- package/src/models/VddkProperties.ts +2 -2
- package/src/models/VersionInfo.ts +4 -4
- package/src/models/VirtualMachine.ts +27 -20
- package/src/models/VirtualMachineDetail.ts +80 -73
- package/src/models/VirtualMachineDevice.ts +63 -0
- package/src/models/{VMDisk.ts → VirtualMachineDisk.ts} +17 -17
- package/src/models/{VmInspectionConcern.ts → VirtualMachineInspectionConcern.ts} +12 -12
- package/src/models/VirtualMachineInspectionResults.ts +71 -0
- package/src/models/VirtualMachineIssue.ts +93 -0
- package/src/models/VirtualMachineListResponse.ts +6 -6
- package/src/models/VirtualMachineNIC.ts +75 -0
- package/src/models/VirtualMachineUpdateRequest.ts +1 -1
- package/src/models/VmUtilizationDetails.ts +8 -8
- package/src/models/index.ts +20 -23
- package/src/runtime.ts +2 -2
- package/dist/apis/DefaultApi.d.ts +0 -1988
- package/dist/apis/DefaultApi.js +0 -2066
- package/dist/esm/apis/DefaultApi.d.ts +0 -1988
- package/dist/esm/apis/DefaultApi.js +0 -2062
- package/dist/esm/models/CollectorStartRequest.d.ts +0 -46
- package/dist/esm/models/CollectorStartRequest.js +0 -49
- package/dist/esm/models/DatastorePair.d.ts +0 -42
- package/dist/esm/models/ExportInventory400Response.d.ts +0 -30
- package/dist/esm/models/ExportInventory400Response.js +0 -41
- package/dist/esm/models/ExportInventory500Response.d.ts +0 -30
- package/dist/esm/models/ExportInventory500Response.js +0 -41
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -31
- package/dist/esm/models/ForecasterDatastoresRequest.js +0 -42
- package/dist/esm/models/ForecasterPairStatus.d.ts +0 -78
- package/dist/esm/models/ForecasterStartRequest.d.ts +0 -48
- package/dist/esm/models/GetInventory200Response.d.ts +0 -23
- package/dist/esm/models/GetInventory200Response.js +0 -51
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +0 -34
- package/dist/esm/models/PutForecasterCredentials403Response.js +0 -43
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -35
- package/dist/esm/models/RightsizingClusterListResponse.js +0 -48
- package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -56
- package/dist/esm/models/RightsizingCollectRequest.js +0 -56
- package/dist/esm/models/RightsizingMetricStats.d.ts +0 -50
- package/dist/esm/models/RightsizingMetricStats.js +0 -63
- package/dist/esm/models/RightsizingReport.d.ts +0 -63
- package/dist/esm/models/RightsizingReport.js +0 -76
- package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -35
- package/dist/esm/models/RightsizingReportListResponse.js +0 -48
- package/dist/esm/models/RightsizingReportSummary.d.ts +0 -58
- package/dist/esm/models/RightsizingReportSummary.js +0 -71
- package/dist/esm/models/RightsizingVMReport.d.ts +0 -45
- package/dist/esm/models/RightsizingVMReport.js +0 -57
- package/dist/esm/models/VMDevice.d.ts +0 -30
- package/dist/esm/models/VMDisk.d.ts +0 -54
- package/dist/esm/models/VMIssue.d.ts +0 -50
- package/dist/esm/models/VMNIC.d.ts +0 -46
- package/dist/esm/models/VmInspectionConcern.d.ts +0 -38
- package/dist/esm/models/VmInspectionResults.d.ts +0 -31
- package/dist/esm/models/VmInspectionResults.js +0 -42
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -53
- package/dist/esm/models/VmInspectionStatus.js +0 -61
- package/dist/models/CollectorStartRequest.d.ts +0 -46
- package/dist/models/CollectorStartRequest.js +0 -56
- package/dist/models/DatastorePair.d.ts +0 -42
- package/dist/models/ExportInventory400Response.d.ts +0 -30
- package/dist/models/ExportInventory400Response.js +0 -48
- package/dist/models/ExportInventory500Response.d.ts +0 -30
- package/dist/models/ExportInventory500Response.js +0 -48
- package/dist/models/ForecasterDatastoresRequest.d.ts +0 -31
- package/dist/models/ForecasterDatastoresRequest.js +0 -49
- package/dist/models/ForecasterPairStatus.d.ts +0 -78
- package/dist/models/ForecasterStartRequest.d.ts +0 -48
- package/dist/models/ForecasterStartRequest.js +0 -60
- package/dist/models/GetInventory200Response.d.ts +0 -23
- package/dist/models/GetInventory200Response.js +0 -57
- package/dist/models/PutForecasterCredentials403Response.d.ts +0 -34
- package/dist/models/PutForecasterCredentials403Response.js +0 -50
- package/dist/models/RightsizingClusterListResponse.d.ts +0 -35
- package/dist/models/RightsizingClusterListResponse.js +0 -55
- package/dist/models/RightsizingCollectRequest.d.ts +0 -56
- package/dist/models/RightsizingCollectRequest.js +0 -63
- package/dist/models/RightsizingMetricStats.d.ts +0 -50
- package/dist/models/RightsizingMetricStats.js +0 -70
- package/dist/models/RightsizingReport.d.ts +0 -63
- package/dist/models/RightsizingReport.js +0 -83
- package/dist/models/RightsizingReportListResponse.d.ts +0 -35
- package/dist/models/RightsizingReportListResponse.js +0 -55
- package/dist/models/RightsizingReportSummary.d.ts +0 -58
- package/dist/models/RightsizingReportSummary.js +0 -78
- package/dist/models/RightsizingVMReport.d.ts +0 -45
- package/dist/models/RightsizingVMReport.js +0 -64
- package/dist/models/VMDevice.d.ts +0 -30
- package/dist/models/VMDevice.js +0 -48
- package/dist/models/VMDisk.d.ts +0 -54
- package/dist/models/VMIssue.d.ts +0 -50
- package/dist/models/VMIssue.js +0 -70
- package/dist/models/VMNIC.d.ts +0 -46
- package/dist/models/VmInspectionConcern.d.ts +0 -38
- package/dist/models/VmInspectionResults.d.ts +0 -31
- package/dist/models/VmInspectionResults.js +0 -49
- package/dist/models/VmInspectionStatus.d.ts +0 -53
- package/dist/models/VmInspectionStatus.js +0 -69
- package/docs/CollectorStartRequest.md +0 -43
- package/docs/DefaultApi.md +0 -3361
- package/docs/PutForecasterCredentials403Response.md +0 -36
- package/docs/RightsizingCollectRequest.md +0 -46
- package/docs/RightsizingMetricStats.md +0 -44
- package/docs/RightsizingReport.md +0 -50
- package/docs/RightsizingReportSummary.md +0 -49
- package/docs/RightsizingVMReport.md +0 -40
- package/docs/VmInspectionStatus.md +0 -40
- package/src/apis/DefaultApi.ts +0 -3986
- package/src/models/CollectorStartRequest.ts +0 -87
- package/src/models/ExportInventory400Response.ts +0 -63
- package/src/models/ExportInventory500Response.ts +0 -63
- package/src/models/ForecasterDatastoresRequest.ts +0 -71
- package/src/models/ForecasterStartRequest.ts +0 -103
- package/src/models/GetInventory200Response.ts +0 -76
- package/src/models/PutForecasterCredentials403Response.ts +0 -69
- package/src/models/RightsizingClusterListResponse.ts +0 -79
- package/src/models/RightsizingCollectRequest.ts +0 -109
- package/src/models/RightsizingMetricStats.ts +0 -99
- package/src/models/RightsizingReport.ts +0 -128
- package/src/models/RightsizingReportListResponse.ts +0 -79
- package/src/models/RightsizingReportSummary.ts +0 -113
- package/src/models/RightsizingVMReport.ts +0 -93
- package/src/models/VMDevice.ts +0 -63
- package/src/models/VMIssue.ts +0 -93
- package/src/models/VMNIC.ts +0 -87
- package/src/models/VmInspectionResults.ts +0 -71
- package/src/models/VmInspectionStatus.ts +0 -97
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfDatastorePairRequest = instanceOfDatastorePairRequest;
|
|
17
|
+
exports.DatastorePairRequestFromJSON = DatastorePairRequestFromJSON;
|
|
18
|
+
exports.DatastorePairRequestFromJSONTyped = DatastorePairRequestFromJSONTyped;
|
|
19
|
+
exports.DatastorePairRequestToJSON = DatastorePairRequestToJSON;
|
|
20
|
+
exports.DatastorePairRequestToJSONTyped = DatastorePairRequestToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the DatastorePairRequest interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfDatastorePairRequest(value) {
|
|
25
25
|
if (!('name' in value) || value['name'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined)
|
|
@@ -30,10 +30,10 @@ function instanceOfDatastorePair(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function DatastorePairRequestFromJSON(json) {
|
|
34
|
+
return DatastorePairRequestFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function DatastorePairRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -44,10 +44,10 @@ function DatastorePairFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'host': json['host'] == null ? undefined : json['host'],
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return
|
|
47
|
+
function DatastorePairRequestToJSON(json) {
|
|
48
|
+
return DatastorePairRequestToJSONTyped(json, false);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function DatastorePairRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
51
|
if (value == null) {
|
|
52
52
|
return value;
|
|
53
53
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
* @interface DeleteLabelGloballyResponse
|
|
16
16
|
*/
|
|
17
17
|
export interface DeleteLabelGloballyResponse {
|
|
18
|
-
/**
|
|
19
|
-
* Number of VMs that had the label removed
|
|
20
|
-
*/
|
|
21
|
-
affected: number;
|
|
22
18
|
/**
|
|
23
19
|
* The label that was removed
|
|
24
20
|
*/
|
|
25
21
|
label: string;
|
|
22
|
+
/**
|
|
23
|
+
* Number of VMs that had the label removed
|
|
24
|
+
*/
|
|
25
|
+
affected: number;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Check if a given object implements the DeleteLabelGloballyResponse interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,10 +22,10 @@ exports.DeleteLabelGloballyResponseToJSONTyped = DeleteLabelGloballyResponseToJS
|
|
|
22
22
|
* Check if a given object implements the DeleteLabelGloballyResponse interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfDeleteLabelGloballyResponse(value) {
|
|
25
|
-
if (!('affected' in value) || value['affected'] === undefined)
|
|
26
|
-
return false;
|
|
27
25
|
if (!('label' in value) || value['label'] === undefined)
|
|
28
26
|
return false;
|
|
27
|
+
if (!('affected' in value) || value['affected'] === undefined)
|
|
28
|
+
return false;
|
|
29
29
|
return true;
|
|
30
30
|
}
|
|
31
31
|
function DeleteLabelGloballyResponseFromJSON(json) {
|
|
@@ -36,8 +36,8 @@ function DeleteLabelGloballyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'affected': json['affected'],
|
|
40
39
|
'label': json['label'],
|
|
40
|
+
'affected': json['affected'],
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
function DeleteLabelGloballyResponseToJSON(json) {
|
|
@@ -48,7 +48,7 @@ function DeleteLabelGloballyResponseToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
48
48
|
return value;
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
|
-
'affected': value['affected'],
|
|
52
51
|
'label': value['label'],
|
|
52
|
+
'affected': value['affected'],
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,23 +10,23 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
*
|
|
14
14
|
* @export
|
|
15
15
|
* @interface EstimateRange
|
|
16
16
|
*/
|
|
17
17
|
export interface EstimateRange {
|
|
18
18
|
/**
|
|
19
|
-
* Duration string (e.g
|
|
19
|
+
* Duration string (e.g. "1h30m")
|
|
20
20
|
*/
|
|
21
|
-
bestCase
|
|
21
|
+
bestCase: string;
|
|
22
22
|
/**
|
|
23
|
-
* Duration string (e.g
|
|
23
|
+
* Duration string (e.g. "2h15m")
|
|
24
24
|
*/
|
|
25
|
-
expected
|
|
25
|
+
expected: string;
|
|
26
26
|
/**
|
|
27
|
-
* Duration string (e.g
|
|
27
|
+
* Duration string (e.g. "3h45m")
|
|
28
28
|
*/
|
|
29
|
-
worstCase
|
|
29
|
+
worstCase: string;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the EstimateRange interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,6 +22,12 @@ exports.EstimateRangeToJSONTyped = EstimateRangeToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the EstimateRange interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfEstimateRange(value) {
|
|
25
|
+
if (!('bestCase' in value) || value['bestCase'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('expected' in value) || value['expected'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('worstCase' in value) || value['worstCase'] === undefined)
|
|
30
|
+
return false;
|
|
25
31
|
return true;
|
|
26
32
|
}
|
|
27
33
|
function EstimateRangeFromJSON(json) {
|
|
@@ -32,9 +38,9 @@ function EstimateRangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
38
|
return json;
|
|
33
39
|
}
|
|
34
40
|
return {
|
|
35
|
-
'bestCase': json['bestCase']
|
|
36
|
-
'expected': json['expected']
|
|
37
|
-
'worstCase': json['worstCase']
|
|
41
|
+
'bestCase': json['bestCase'],
|
|
42
|
+
'expected': json['expected'],
|
|
43
|
+
'worstCase': json['worstCase'],
|
|
38
44
|
};
|
|
39
45
|
}
|
|
40
46
|
function EstimateRangeToJSON(json) {
|
|
@@ -0,0 +1,78 @@
|
|
|
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: v2
|
|
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 ForecastPairStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface ForecastPairStatus {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
state: ForecastPairStatusStateEnum;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
error?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
pairName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
sourceDatastore: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
targetDatastore: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
host?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
completedRuns: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
totalRuns: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
prepBytesTotal?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
prepBytesUploaded?: number;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @export
|
|
61
|
+
*/
|
|
62
|
+
export declare const ForecastPairStatusStateEnum: {
|
|
63
|
+
readonly Pending: "pending";
|
|
64
|
+
readonly Preparing: "preparing";
|
|
65
|
+
readonly Running: "running";
|
|
66
|
+
readonly Completed: "completed";
|
|
67
|
+
readonly Canceled: "canceled";
|
|
68
|
+
readonly Error: "error";
|
|
69
|
+
};
|
|
70
|
+
export type ForecastPairStatusStateEnum = typeof ForecastPairStatusStateEnum[keyof typeof ForecastPairStatusStateEnum];
|
|
71
|
+
/**
|
|
72
|
+
* Check if a given object implements the ForecastPairStatus interface.
|
|
73
|
+
*/
|
|
74
|
+
export declare function instanceOfForecastPairStatus(value: object): value is ForecastPairStatus;
|
|
75
|
+
export declare function ForecastPairStatusFromJSON(json: any): ForecastPairStatus;
|
|
76
|
+
export declare function ForecastPairStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecastPairStatus;
|
|
77
|
+
export declare function ForecastPairStatusToJSON(json: any): ForecastPairStatus;
|
|
78
|
+
export declare function ForecastPairStatusToJSONTyped(value?: ForecastPairStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,75 +13,75 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.ForecastPairStatusStateEnum = void 0;
|
|
17
|
+
exports.instanceOfForecastPairStatus = instanceOfForecastPairStatus;
|
|
18
|
+
exports.ForecastPairStatusFromJSON = ForecastPairStatusFromJSON;
|
|
19
|
+
exports.ForecastPairStatusFromJSONTyped = ForecastPairStatusFromJSONTyped;
|
|
20
|
+
exports.ForecastPairStatusToJSON = ForecastPairStatusToJSON;
|
|
21
|
+
exports.ForecastPairStatusToJSONTyped = ForecastPairStatusToJSONTyped;
|
|
22
22
|
/**
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
exports.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
exports.ForecastPairStatusStateEnum = {
|
|
26
|
+
Pending: 'pending',
|
|
27
|
+
Preparing: 'preparing',
|
|
28
|
+
Running: 'running',
|
|
29
|
+
Completed: 'completed',
|
|
30
|
+
Canceled: 'canceled',
|
|
31
|
+
Error: 'error'
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
|
-
* Check if a given object implements the
|
|
34
|
+
* Check if a given object implements the ForecastPairStatus interface.
|
|
35
35
|
*/
|
|
36
|
-
function
|
|
36
|
+
function instanceOfForecastPairStatus(value) {
|
|
37
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
38
|
+
return false;
|
|
37
39
|
if (!('pairName' in value) || value['pairName'] === undefined)
|
|
38
40
|
return false;
|
|
39
41
|
if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined)
|
|
40
42
|
return false;
|
|
41
43
|
if (!('targetDatastore' in value) || value['targetDatastore'] === undefined)
|
|
42
44
|
return false;
|
|
43
|
-
if (!('state' in value) || value['state'] === undefined)
|
|
44
|
-
return false;
|
|
45
45
|
if (!('completedRuns' in value) || value['completedRuns'] === undefined)
|
|
46
46
|
return false;
|
|
47
47
|
if (!('totalRuns' in value) || value['totalRuns'] === undefined)
|
|
48
48
|
return false;
|
|
49
49
|
return true;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return
|
|
51
|
+
function ForecastPairStatusFromJSON(json) {
|
|
52
|
+
return ForecastPairStatusFromJSONTyped(json, false);
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function ForecastPairStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
55
|
if (json == null) {
|
|
56
56
|
return json;
|
|
57
57
|
}
|
|
58
58
|
return {
|
|
59
|
+
'state': json['state'],
|
|
60
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
59
61
|
'pairName': json['pairName'],
|
|
60
62
|
'sourceDatastore': json['sourceDatastore'],
|
|
61
63
|
'targetDatastore': json['targetDatastore'],
|
|
62
64
|
'host': json['host'] == null ? undefined : json['host'],
|
|
63
|
-
'state': json['state'],
|
|
64
|
-
'error': json['error'] == null ? undefined : json['error'],
|
|
65
65
|
'completedRuns': json['completedRuns'],
|
|
66
66
|
'totalRuns': json['totalRuns'],
|
|
67
67
|
'prepBytesTotal': json['prepBytesTotal'] == null ? undefined : json['prepBytesTotal'],
|
|
68
68
|
'prepBytesUploaded': json['prepBytesUploaded'] == null ? undefined : json['prepBytesUploaded'],
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
return
|
|
71
|
+
function ForecastPairStatusToJSON(json) {
|
|
72
|
+
return ForecastPairStatusToJSONTyped(json, false);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function ForecastPairStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
75
75
|
if (value == null) {
|
|
76
76
|
return value;
|
|
77
77
|
}
|
|
78
78
|
return {
|
|
79
|
+
'state': value['state'],
|
|
80
|
+
'error': value['error'],
|
|
79
81
|
'pairName': value['pairName'],
|
|
80
82
|
'sourceDatastore': value['sourceDatastore'],
|
|
81
83
|
'targetDatastore': value['targetDatastore'],
|
|
82
84
|
'host': value['host'],
|
|
83
|
-
'state': value['state'],
|
|
84
|
-
'error': value['error'],
|
|
85
85
|
'completedRuns': value['completedRuns'],
|
|
86
86
|
'totalRuns': value['totalRuns'],
|
|
87
87
|
'prepBytesTotal': value['prepBytesTotal'],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,35 +27,35 @@ export interface ForecastStats {
|
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
meanMBps: number;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
medianMBps: number;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
minMBps: number;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
maxMBps: number;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
stdDevMBps: number;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
*
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
ci95Lower: number;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
*
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
ci95Upper: number;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
estPer1TB: EstimateRange;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* Check if a given object implements the ForecastStats interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,6 +27,22 @@ function instanceOfForecastStats(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('sampleCount' in value) || value['sampleCount'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('meanMBps' in value) || value['meanMBps'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('medianMBps' in value) || value['medianMBps'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('minMBps' in value) || value['minMBps'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('maxMBps' in value) || value['maxMBps'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('stdDevMBps' in value) || value['stdDevMBps'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('ci95Lower' in value) || value['ci95Lower'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('ci95Upper' in value) || value['ci95Upper'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('estPer1TB' in value) || value['estPer1TB'] === undefined)
|
|
45
|
+
return false;
|
|
30
46
|
return true;
|
|
31
47
|
}
|
|
32
48
|
function ForecastStatsFromJSON(json) {
|
|
@@ -39,14 +55,14 @@ function ForecastStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
55
|
return {
|
|
40
56
|
'pairName': json['pairName'],
|
|
41
57
|
'sampleCount': json['sampleCount'],
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'
|
|
48
|
-
'
|
|
49
|
-
'
|
|
58
|
+
'meanMBps': json['meanMBps'],
|
|
59
|
+
'medianMBps': json['medianMBps'],
|
|
60
|
+
'minMBps': json['minMBps'],
|
|
61
|
+
'maxMBps': json['maxMBps'],
|
|
62
|
+
'stdDevMBps': json['stdDevMBps'],
|
|
63
|
+
'ci95Lower': json['ci95Lower'],
|
|
64
|
+
'ci95Upper': json['ci95Upper'],
|
|
65
|
+
'estPer1TB': (0, EstimateRange_js_1.EstimateRangeFromJSON)(json['estPer1TB']),
|
|
50
66
|
};
|
|
51
67
|
}
|
|
52
68
|
function ForecastStatsToJSON(json) {
|
|
@@ -59,13 +75,13 @@ function ForecastStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
59
75
|
return {
|
|
60
76
|
'pairName': value['pairName'],
|
|
61
77
|
'sampleCount': value['sampleCount'],
|
|
62
|
-
'
|
|
63
|
-
'
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
78
|
+
'meanMBps': value['meanMBps'],
|
|
79
|
+
'medianMBps': value['medianMBps'],
|
|
80
|
+
'minMBps': value['minMBps'],
|
|
81
|
+
'maxMBps': value['maxMBps'],
|
|
82
|
+
'stdDevMBps': value['stdDevMBps'],
|
|
83
|
+
'ci95Lower': value['ci95Lower'],
|
|
84
|
+
'ci95Upper': value['ci95Upper'],
|
|
85
|
+
'estPer1TB': (0, EstimateRange_js_1.EstimateRangeToJSON)(value['estPer1TB']),
|
|
70
86
|
};
|
|
71
87
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* Assisted Migration Agent API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { ForecastPairStatus } from './ForecastPairStatus.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -17,20 +17,20 @@ import type { ForecasterPairStatus } from './ForecasterPairStatus.js';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ForecasterStatus {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
*
|
|
21
21
|
*/
|
|
22
22
|
state: ForecasterStatusStateEnum;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
*
|
|
25
25
|
*/
|
|
26
|
-
pairs
|
|
26
|
+
pairs: Array<ForecastPairStatus>;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
31
|
export declare const ForecasterStatusStateEnum: {
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
32
|
+
readonly Ready: "ready";
|
|
33
|
+
readonly Running: "running";
|
|
34
34
|
};
|
|
35
35
|
export type ForecasterStatusStateEnum = typeof ForecasterStatusStateEnum[keyof typeof ForecasterStatusStateEnum];
|
|
36
36
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Assisted Migration Agent API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,13 +19,13 @@ exports.ForecasterStatusFromJSON = ForecasterStatusFromJSON;
|
|
|
19
19
|
exports.ForecasterStatusFromJSONTyped = ForecasterStatusFromJSONTyped;
|
|
20
20
|
exports.ForecasterStatusToJSON = ForecasterStatusToJSON;
|
|
21
21
|
exports.ForecasterStatusToJSONTyped = ForecasterStatusToJSONTyped;
|
|
22
|
-
const
|
|
22
|
+
const ForecastPairStatus_js_1 = require("./ForecastPairStatus.js");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
26
26
|
exports.ForecasterStatusStateEnum = {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
Ready: 'ready',
|
|
28
|
+
Running: 'running'
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* Check if a given object implements the ForecasterStatus interface.
|
|
@@ -33,6 +33,8 @@ exports.ForecasterStatusStateEnum = {
|
|
|
33
33
|
function instanceOfForecasterStatus(value) {
|
|
34
34
|
if (!('state' in value) || value['state'] === undefined)
|
|
35
35
|
return false;
|
|
36
|
+
if (!('pairs' in value) || value['pairs'] === undefined)
|
|
37
|
+
return false;
|
|
36
38
|
return true;
|
|
37
39
|
}
|
|
38
40
|
function ForecasterStatusFromJSON(json) {
|
|
@@ -44,7 +46,7 @@ function ForecasterStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
46
|
}
|
|
45
47
|
return {
|
|
46
48
|
'state': json['state'],
|
|
47
|
-
'pairs':
|
|
49
|
+
'pairs': (json['pairs'].map(ForecastPairStatus_js_1.ForecastPairStatusFromJSON)),
|
|
48
50
|
};
|
|
49
51
|
}
|
|
50
52
|
function ForecasterStatusToJSON(json) {
|
|
@@ -56,6 +58,6 @@ function ForecasterStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
56
58
|
}
|
|
57
59
|
return {
|
|
58
60
|
'state': value['state'],
|
|
59
|
-
'pairs':
|
|
61
|
+
'pairs': (value['pairs'].map(ForecastPairStatus_js_1.ForecastPairStatusToJSON)),
|
|
60
62
|
};
|
|
61
63
|
}
|