@openshift-migration-advisor/agent-sdk 0.19.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 -3
- package/dist/esm/models/AgentModeRequest.js +1 -1
- package/dist/esm/models/AgentStatus.d.ts +6 -19
- 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 -3
- package/dist/esm/models/ApplicationListResponse.js +1 -1
- package/dist/esm/models/ApplicationOverview.d.ts +4 -12
- package/dist/esm/models/ApplicationOverview.js +1 -1
- package/dist/esm/models/ApplicationVM.d.ts +3 -7
- package/dist/esm/models/ApplicationVM.js +1 -1
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +1 -5
- package/dist/esm/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/esm/models/BenchmarkRun.d.ts +6 -32
- package/dist/esm/models/BenchmarkRun.js +7 -5
- package/dist/esm/models/CapabilityStatus.d.ts +1 -3
- package/dist/esm/models/CapabilityStatus.js +1 -1
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +1 -7
- package/dist/esm/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/esm/models/ClusterFeatures.d.ts +1 -7
- package/dist/esm/models/ClusterFeatures.js +1 -1
- package/dist/esm/models/ClusterUtilization.d.ts +1 -15
- 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 -5
- 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 -10
- package/dist/esm/models/CreateGroupRequest.js +1 -1
- package/dist/esm/models/CredentialStatus.d.ts +1 -7
- package/dist/esm/models/CredentialStatus.js +1 -1
- package/dist/esm/models/Datastore.d.ts +1 -21
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DatastoreDetail.d.ts +7 -35
- 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 -9
- package/dist/esm/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -5
- package/dist/esm/models/DiskSizeTierSummary.js +1 -1
- package/dist/esm/models/DiskTypeSummary.d.ts +1 -5
- package/dist/esm/models/DiskTypeSummary.js +1 -1
- package/dist/esm/models/EstimateRange.d.ts +8 -14
- 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 -31
- package/dist/esm/models/ForecastStats.js +33 -17
- package/dist/esm/models/ForecasterStatus.d.ts +7 -11
- package/dist/esm/models/ForecasterStatus.js +8 -6
- package/dist/esm/models/Group.d.ts +4 -16
- package/dist/esm/models/Group.js +1 -1
- package/dist/esm/models/GroupListResponse.d.ts +4 -12
- package/dist/esm/models/GroupListResponse.js +1 -1
- package/dist/esm/models/GroupResponse.d.ts +6 -18
- package/dist/esm/models/GroupResponse.js +4 -4
- package/dist/esm/models/GuestNetwork.d.ts +6 -16
- package/dist/esm/models/GuestNetwork.js +1 -1
- package/dist/esm/models/Histogram.d.ts +1 -7
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +9 -13
- package/dist/esm/models/Host.js +5 -1
- package/dist/esm/models/Infra.d.ts +1 -25
- 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 -5
- package/dist/esm/models/InspectorStatus.js +1 -1
- package/dist/esm/models/Inventory.d.ts +3 -25
- 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 -11
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/IssuesBreakdown.d.ts +1 -11
- package/dist/esm/models/IssuesBreakdown.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -9
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/Network.d.ts +1 -11
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OperationCapability.d.ts +1 -5
- package/dist/esm/models/OperationCapability.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -9
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PairCapability.d.ts +3 -21
- package/dist/esm/models/PairCapability.js +1 -10
- package/dist/esm/models/PairCapabilityRequest.d.ts +3 -12
- package/dist/esm/models/PairCapabilityRequest.js +4 -7
- package/dist/esm/models/Process.d.ts +1 -5
- package/dist/esm/models/Process.js +1 -1
- package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -6
- package/dist/esm/models/RightsizingClusterResponse.js +1 -1
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +13 -43
- 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 -12
- package/dist/esm/models/StartInspectionRequest.js +1 -4
- package/dist/esm/models/StopForecasterPair202Response.d.ts +1 -5
- package/dist/esm/models/StopForecasterPair202Response.js +1 -1
- package/dist/esm/models/StorageIoConfiguration.d.ts +1 -9
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- package/dist/esm/models/UpdateGroupRequest.d.ts +4 -10
- package/dist/esm/models/UpdateGroupRequest.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +3 -7
- package/dist/esm/models/UpdateInventory.js +4 -4
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +1 -5
- package/dist/esm/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -3
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +1 -11
- package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
- package/dist/esm/models/VMLabelsResponse.d.ts +1 -5
- package/dist/esm/models/VMLabelsResponse.js +1 -1
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -11
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +1 -47
- package/dist/esm/models/VMs.js +1 -1
- package/dist/esm/models/VcenterCredentials.d.ts +1 -11
- package/dist/esm/models/VcenterCredentials.js +1 -1
- package/dist/esm/models/VddkProperties.d.ts +2 -8
- package/dist/esm/models/VddkProperties.js +1 -1
- package/dist/esm/models/VersionInfo.d.ts +4 -10
- package/dist/esm/models/VersionInfo.js +1 -1
- package/dist/esm/models/VirtualMachine.d.ts +15 -53
- package/dist/esm/models/VirtualMachine.js +10 -6
- package/dist/esm/models/VirtualMachineDetail.d.ts +42 -108
- 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 -11
- 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 -5
- package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/esm/models/VmUtilizationDetails.d.ts +8 -38
- 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 -3
- package/dist/models/AgentModeRequest.js +1 -1
- package/dist/models/AgentStatus.d.ts +6 -19
- 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 -3
- package/dist/models/ApplicationListResponse.js +1 -1
- package/dist/models/ApplicationOverview.d.ts +4 -12
- package/dist/models/ApplicationOverview.js +1 -1
- package/dist/models/ApplicationVM.d.ts +3 -7
- package/dist/models/ApplicationVM.js +1 -1
- package/dist/models/BatchUpdateExclusionRequest.d.ts +1 -5
- package/dist/models/BatchUpdateExclusionRequest.js +1 -1
- package/dist/models/BenchmarkRun.d.ts +6 -32
- package/dist/models/BenchmarkRun.js +7 -5
- package/dist/models/CapabilityStatus.d.ts +1 -3
- package/dist/models/CapabilityStatus.js +1 -1
- package/dist/models/CapabilityStatusCapabilities.d.ts +1 -7
- package/dist/models/CapabilityStatusCapabilities.js +1 -1
- package/dist/models/ClusterFeatures.d.ts +1 -7
- package/dist/models/ClusterFeatures.js +1 -1
- package/dist/models/ClusterUtilization.d.ts +1 -15
- 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 -5
- 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 -10
- package/dist/models/CreateGroupRequest.js +1 -1
- package/dist/models/CredentialStatus.d.ts +1 -7
- package/dist/models/CredentialStatus.js +1 -1
- package/dist/models/Datastore.d.ts +1 -21
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DatastoreDetail.d.ts +7 -35
- 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 -9
- package/dist/models/DeleteLabelGloballyResponse.js +5 -5
- package/dist/models/DiskSizeTierSummary.d.ts +1 -5
- package/dist/models/DiskSizeTierSummary.js +1 -1
- package/dist/models/DiskTypeSummary.d.ts +1 -5
- package/dist/models/DiskTypeSummary.js +1 -1
- package/dist/models/EstimateRange.d.ts +8 -14
- 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 -31
- package/dist/models/ForecastStats.js +33 -17
- package/dist/models/ForecasterStatus.d.ts +7 -11
- package/dist/models/ForecasterStatus.js +8 -6
- package/dist/models/Group.d.ts +4 -16
- package/dist/models/Group.js +1 -1
- package/dist/models/GroupListResponse.d.ts +4 -12
- package/dist/models/GroupListResponse.js +1 -1
- package/dist/models/GroupResponse.d.ts +6 -18
- package/dist/models/GroupResponse.js +4 -4
- package/dist/models/GuestNetwork.d.ts +6 -16
- package/dist/models/GuestNetwork.js +1 -1
- package/dist/models/Histogram.d.ts +1 -7
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +9 -13
- package/dist/models/Host.js +5 -1
- package/dist/models/Infra.d.ts +1 -25
- 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 -5
- package/dist/models/InspectorStatus.js +1 -1
- package/dist/models/Inventory.d.ts +3 -25
- 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 -11
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/IssuesBreakdown.d.ts +1 -11
- package/dist/models/IssuesBreakdown.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -9
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/Network.d.ts +1 -11
- package/dist/models/Network.js +1 -1
- package/dist/models/OperationCapability.d.ts +1 -5
- package/dist/models/OperationCapability.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -9
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PairCapability.d.ts +3 -21
- package/dist/models/PairCapability.js +1 -11
- package/dist/models/PairCapabilityRequest.d.ts +3 -12
- package/dist/models/PairCapabilityRequest.js +4 -7
- package/dist/models/Process.d.ts +1 -5
- package/dist/models/Process.js +1 -1
- package/dist/models/RightsizingClusterResponse.d.ts +2 -6
- package/dist/models/RightsizingClusterResponse.js +1 -1
- package/dist/models/RightsizingClusterUtilization.d.ts +13 -43
- 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 -12
- package/dist/models/StartInspectionRequest.js +1 -4
- package/dist/models/StopForecasterPair202Response.d.ts +1 -5
- package/dist/models/StopForecasterPair202Response.js +1 -1
- package/dist/models/StorageIoConfiguration.d.ts +1 -9
- package/dist/models/StorageIoConfiguration.js +1 -1
- package/dist/models/UpdateGroupRequest.d.ts +4 -10
- package/dist/models/UpdateGroupRequest.js +1 -1
- package/dist/models/UpdateInventory.d.ts +3 -7
- package/dist/models/UpdateInventory.js +4 -4
- package/dist/models/UpdateLabelVMsRequest.d.ts +1 -5
- package/dist/models/UpdateLabelVMsRequest.js +1 -1
- package/dist/models/VCenter.d.ts +1 -3
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMFilterOptionsResponse.d.ts +1 -11
- package/dist/models/VMFilterOptionsResponse.js +1 -1
- package/dist/models/VMLabelsResponse.d.ts +1 -5
- package/dist/models/VMLabelsResponse.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -11
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +1 -47
- package/dist/models/VMs.js +1 -1
- package/dist/models/VcenterCredentials.d.ts +1 -11
- package/dist/models/VcenterCredentials.js +1 -1
- package/dist/models/VddkProperties.d.ts +2 -8
- package/dist/models/VddkProperties.js +1 -1
- package/dist/models/VersionInfo.d.ts +4 -10
- package/dist/models/VersionInfo.js +1 -1
- package/dist/models/VirtualMachine.d.ts +15 -53
- package/dist/models/VirtualMachine.js +10 -6
- package/dist/models/VirtualMachineDetail.d.ts +42 -108
- 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 -11
- 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 -5
- package/dist/models/VirtualMachineUpdateRequest.js +1 -1
- package/dist/models/VmUtilizationDetails.d.ts +8 -38
- 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 -3
- package/src/models/AgentStatus.ts +18 -25
- package/src/models/AgentStatusConsoleConnection.ts +81 -0
- package/src/models/ApplicationListResponse.ts +1 -3
- package/src/models/ApplicationOverview.ts +4 -12
- package/src/models/ApplicationVM.ts +3 -7
- package/src/models/BatchUpdateExclusionRequest.ts +1 -5
- package/src/models/BenchmarkRun.ts +11 -36
- package/src/models/CapabilityStatus.ts +1 -3
- package/src/models/CapabilityStatusCapabilities.ts +1 -7
- package/src/models/ClusterFeatures.ts +1 -7
- package/src/models/ClusterUtilization.ts +1 -15
- 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 -5
- package/src/models/ComparisonDiffEntry.ts +76 -0
- package/src/models/ComparisonDiffPage.ts +85 -0
- package/src/models/CreateGroupRequest.ts +4 -10
- package/src/models/CredentialStatus.ts +1 -7
- package/src/models/Datastore.ts +1 -21
- package/src/models/DatastoreDetail.ts +7 -38
- package/src/models/{DatastorePair.ts → DatastorePairRequest.ts} +15 -23
- package/src/models/DeleteLabelGloballyResponse.ts +8 -12
- package/src/models/DiskSizeTierSummary.ts +1 -5
- package/src/models/DiskTypeSummary.ts +1 -5
- package/src/models/EstimateRange.ts +14 -17
- package/src/models/{ForecasterPairStatus.ts → ForecastPairStatus.ts} +37 -57
- package/src/models/ForecastStats.ts +35 -47
- package/src/models/ForecasterStatus.ts +15 -18
- package/src/models/Group.ts +4 -16
- package/src/models/GroupListResponse.ts +4 -12
- package/src/models/GroupResponse.ts +13 -25
- package/src/models/GuestNetwork.ts +6 -16
- package/src/models/Histogram.ts +1 -7
- package/src/models/Host.ts +13 -13
- package/src/models/Infra.ts +1 -25
- package/src/models/InspectionStatus.ts +84 -0
- package/src/models/InspectorStatus.ts +1 -5
- package/src/models/Inventory.ts +11 -38
- package/src/models/Inventory1.ts +91 -0
- package/src/models/InventoryData.ts +1 -11
- package/src/models/IssuesBreakdown.ts +1 -11
- package/src/models/MigrationIssue.ts +1 -9
- package/src/models/Network.ts +1 -11
- package/src/models/OperationCapability.ts +1 -5
- package/src/models/OsInfo.ts +1 -9
- package/src/models/PairCapability.ts +3 -24
- package/src/models/PairCapabilityRequest.ts +10 -27
- package/src/models/Process.ts +1 -5
- package/src/models/RightsizingClusterResponse.ts +2 -6
- package/src/models/RightsizingClusterUtilization.ts +13 -43
- package/src/models/StartForecasterRequest.ts +90 -0
- package/src/models/StartInspectionRequest.ts +3 -21
- package/src/models/StopForecasterPair202Response.ts +1 -5
- package/src/models/StorageIoConfiguration.ts +1 -9
- package/src/models/UpdateGroupRequest.ts +4 -10
- package/src/models/UpdateInventory.ts +10 -14
- package/src/models/UpdateLabelVMsRequest.ts +1 -5
- package/src/models/VCenter.ts +1 -3
- package/src/models/VMFilterOptionsResponse.ts +1 -11
- package/src/models/VMLabelsResponse.ts +1 -5
- package/src/models/VMResourceBreakdown.ts +1 -11
- package/src/models/VMs.ts +1 -47
- package/src/models/VcenterCredentials.ts +1 -11
- package/src/models/VddkProperties.ts +2 -8
- package/src/models/VersionInfo.ts +4 -10
- package/src/models/VirtualMachine.ts +27 -62
- package/src/models/VirtualMachineDetail.ts +80 -143
- package/src/models/VirtualMachineDevice.ts +63 -0
- package/src/models/{VMDisk.ts → VirtualMachineDisk.ts} +17 -31
- package/src/models/{VmInspectionConcern.ts → VirtualMachineInspectionConcern.ts} +12 -18
- package/src/models/VirtualMachineInspectionResults.ts +71 -0
- package/src/models/VirtualMachineIssue.ts +93 -0
- package/src/models/VirtualMachineListResponse.ts +6 -14
- package/src/models/VirtualMachineNIC.ts +75 -0
- package/src/models/VirtualMachineUpdateRequest.ts +1 -5
- package/src/models/VmUtilizationDetails.ts +8 -38
- package/src/models/index.ts +20 -23
- package/src/runtime.ts +2 -2
- package/dist/apis/DefaultApi.d.ts +0 -1827
- package/dist/apis/DefaultApi.js +0 -2056
- package/dist/esm/apis/DefaultApi.d.ts +0 -1827
- package/dist/esm/apis/DefaultApi.js +0 -2052
- package/dist/esm/models/CollectorStartRequest.d.ts +0 -56
- package/dist/esm/models/CollectorStartRequest.js +0 -49
- package/dist/esm/models/DatastorePair.d.ts +0 -50
- package/dist/esm/models/ExportInventory400Response.d.ts +0 -32
- package/dist/esm/models/ExportInventory400Response.js +0 -41
- package/dist/esm/models/ExportInventory500Response.d.ts +0 -32
- package/dist/esm/models/ExportInventory500Response.js +0 -41
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -33
- package/dist/esm/models/ForecasterDatastoresRequest.js +0 -42
- package/dist/esm/models/ForecasterPairStatus.d.ts +0 -98
- package/dist/esm/models/ForecasterStartRequest.d.ts +0 -58
- 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 -38
- package/dist/esm/models/PutForecasterCredentials403Response.js +0 -43
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -39
- package/dist/esm/models/RightsizingClusterListResponse.js +0 -48
- package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -70
- package/dist/esm/models/RightsizingCollectRequest.js +0 -56
- package/dist/esm/models/RightsizingMetricStats.d.ts +0 -62
- package/dist/esm/models/RightsizingMetricStats.js +0 -63
- package/dist/esm/models/RightsizingReport.d.ts +0 -81
- package/dist/esm/models/RightsizingReport.js +0 -76
- package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -39
- package/dist/esm/models/RightsizingReportListResponse.js +0 -48
- package/dist/esm/models/RightsizingReportSummary.d.ts +0 -74
- package/dist/esm/models/RightsizingReportSummary.js +0 -71
- package/dist/esm/models/RightsizingVMReport.d.ts +0 -53
- package/dist/esm/models/RightsizingVMReport.js +0 -57
- package/dist/esm/models/VMDevice.d.ts +0 -32
- package/dist/esm/models/VMDisk.d.ts +0 -68
- package/dist/esm/models/VMIssue.d.ts +0 -56
- package/dist/esm/models/VMNIC.d.ts +0 -56
- package/dist/esm/models/VmInspectionConcern.d.ts +0 -44
- package/dist/esm/models/VmInspectionResults.d.ts +0 -33
- package/dist/esm/models/VmInspectionResults.js +0 -42
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -61
- package/dist/esm/models/VmInspectionStatus.js +0 -61
- package/dist/models/CollectorStartRequest.d.ts +0 -56
- package/dist/models/CollectorStartRequest.js +0 -56
- package/dist/models/DatastorePair.d.ts +0 -50
- package/dist/models/ExportInventory400Response.d.ts +0 -32
- package/dist/models/ExportInventory400Response.js +0 -48
- package/dist/models/ExportInventory500Response.d.ts +0 -32
- package/dist/models/ExportInventory500Response.js +0 -48
- package/dist/models/ForecasterDatastoresRequest.d.ts +0 -33
- package/dist/models/ForecasterDatastoresRequest.js +0 -49
- package/dist/models/ForecasterPairStatus.d.ts +0 -98
- package/dist/models/ForecasterStartRequest.d.ts +0 -58
- 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 -38
- package/dist/models/PutForecasterCredentials403Response.js +0 -50
- package/dist/models/RightsizingClusterListResponse.d.ts +0 -39
- package/dist/models/RightsizingClusterListResponse.js +0 -55
- package/dist/models/RightsizingCollectRequest.d.ts +0 -70
- package/dist/models/RightsizingCollectRequest.js +0 -63
- package/dist/models/RightsizingMetricStats.d.ts +0 -62
- package/dist/models/RightsizingMetricStats.js +0 -70
- package/dist/models/RightsizingReport.d.ts +0 -81
- package/dist/models/RightsizingReport.js +0 -83
- package/dist/models/RightsizingReportListResponse.d.ts +0 -39
- package/dist/models/RightsizingReportListResponse.js +0 -55
- package/dist/models/RightsizingReportSummary.d.ts +0 -74
- package/dist/models/RightsizingReportSummary.js +0 -78
- package/dist/models/RightsizingVMReport.d.ts +0 -53
- package/dist/models/RightsizingVMReport.js +0 -64
- package/dist/models/VMDevice.d.ts +0 -32
- package/dist/models/VMDevice.js +0 -48
- package/dist/models/VMDisk.d.ts +0 -68
- package/dist/models/VMIssue.d.ts +0 -56
- package/dist/models/VMIssue.js +0 -70
- package/dist/models/VMNIC.d.ts +0 -56
- package/dist/models/VmInspectionConcern.d.ts +0 -44
- package/dist/models/VmInspectionResults.d.ts +0 -33
- package/dist/models/VmInspectionResults.js +0 -49
- package/dist/models/VmInspectionStatus.d.ts +0 -61
- package/dist/models/VmInspectionStatus.js +0 -69
- package/docs/CollectorStartRequest.md +0 -43
- package/docs/DefaultApi.md +0 -3358
- 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 -3820
- package/src/models/CollectorStartRequest.ts +0 -97
- package/src/models/ExportInventory400Response.ts +0 -65
- package/src/models/ExportInventory500Response.ts +0 -65
- package/src/models/ForecasterDatastoresRequest.ts +0 -73
- package/src/models/ForecasterStartRequest.ts +0 -113
- package/src/models/GetInventory200Response.ts +0 -76
- package/src/models/PutForecasterCredentials403Response.ts +0 -73
- package/src/models/RightsizingClusterListResponse.ts +0 -83
- package/src/models/RightsizingCollectRequest.ts +0 -123
- package/src/models/RightsizingMetricStats.ts +0 -111
- package/src/models/RightsizingReport.ts +0 -146
- package/src/models/RightsizingReportListResponse.ts +0 -83
- package/src/models/RightsizingReportSummary.ts +0 -129
- package/src/models/RightsizingVMReport.ts +0 -101
- package/src/models/VMDevice.ts +0 -65
- package/src/models/VMIssue.ts +0 -99
- package/src/models/VMNIC.ts +0 -97
- package/src/models/VmInspectionResults.ts +0 -73
- package/src/models/VmInspectionStatus.ts +0 -105
package/src/apis/index.ts
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export * from './
|
|
3
|
+
export * from './AgentApi.js';
|
|
4
|
+
export * from './ApplicationsApi.js';
|
|
5
|
+
export * from './CollectionsApi.js';
|
|
6
|
+
export * from './CollectorApi.js';
|
|
7
|
+
export * from './CredentialsApi.js';
|
|
8
|
+
export * from './ForecasterApi.js';
|
|
9
|
+
export * from './GroupsApi.js';
|
|
10
|
+
export * from './InspectorApi.js';
|
|
11
|
+
export * from './InventoriesApi.js';
|
|
12
|
+
export * from './RightsizingApi.js';
|
|
13
|
+
export * from './VersionApi.js';
|
|
14
|
+
export * from './VirtualMachinesApi.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,8 +21,6 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface AgentModeRequest {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {AgentModeRequestModeEnum}
|
|
25
|
-
* @memberof AgentModeRequest
|
|
26
24
|
*/
|
|
27
25
|
mode: AgentModeRequestModeEnum;
|
|
28
26
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { AgentStatusConsoleConnection } from './AgentStatusConsoleConnection.js';
|
|
17
|
+
import {
|
|
18
|
+
AgentStatusConsoleConnectionFromJSON,
|
|
19
|
+
AgentStatusConsoleConnectionFromJSONTyped,
|
|
20
|
+
AgentStatusConsoleConnectionToJSON,
|
|
21
|
+
AgentStatusConsoleConnectionToJSONTyped,
|
|
22
|
+
} from './AgentStatusConsoleConnection.js';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -21,22 +29,16 @@ import { mapValues } from '../runtime.js';
|
|
|
21
29
|
export interface AgentStatus {
|
|
22
30
|
/**
|
|
23
31
|
* Target mode for the agent
|
|
24
|
-
* @type {AgentStatusModeEnum}
|
|
25
|
-
* @memberof AgentStatus
|
|
26
32
|
*/
|
|
27
33
|
mode: AgentStatusModeEnum;
|
|
28
34
|
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {AgentStatusConsoleConnectionEnum}
|
|
31
|
-
* @memberof AgentStatus
|
|
35
|
+
*
|
|
32
36
|
*/
|
|
33
|
-
|
|
37
|
+
consoleConnection: AgentStatusConsoleConnection;
|
|
34
38
|
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AgentStatus
|
|
39
|
+
* RVTool mode enabled
|
|
38
40
|
*/
|
|
39
|
-
|
|
41
|
+
rvtoolsModeEnabled?: boolean;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
|
|
@@ -49,22 +51,13 @@ export const AgentStatusModeEnum = {
|
|
|
49
51
|
} as const;
|
|
50
52
|
export type AgentStatusModeEnum = typeof AgentStatusModeEnum[keyof typeof AgentStatusModeEnum];
|
|
51
53
|
|
|
52
|
-
/**
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
|
-
export const AgentStatusConsoleConnectionEnum = {
|
|
56
|
-
Disconnected: 'disconnected',
|
|
57
|
-
Connected: 'connected'
|
|
58
|
-
} as const;
|
|
59
|
-
export type AgentStatusConsoleConnectionEnum = typeof AgentStatusConsoleConnectionEnum[keyof typeof AgentStatusConsoleConnectionEnum];
|
|
60
|
-
|
|
61
54
|
|
|
62
55
|
/**
|
|
63
56
|
* Check if a given object implements the AgentStatus interface.
|
|
64
57
|
*/
|
|
65
58
|
export function instanceOfAgentStatus(value: object): value is AgentStatus {
|
|
66
59
|
if (!('mode' in value) || value['mode'] === undefined) return false;
|
|
67
|
-
if (!('
|
|
60
|
+
if (!('consoleConnection' in value) || value['consoleConnection'] === undefined) return false;
|
|
68
61
|
return true;
|
|
69
62
|
}
|
|
70
63
|
|
|
@@ -79,8 +72,8 @@ export function AgentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
79
72
|
return {
|
|
80
73
|
|
|
81
74
|
'mode': json['mode'],
|
|
82
|
-
'
|
|
83
|
-
'
|
|
75
|
+
'consoleConnection': AgentStatusConsoleConnectionFromJSON(json['consoleConnection']),
|
|
76
|
+
'rvtoolsModeEnabled': json['rvtoolsModeEnabled'] == null ? undefined : json['rvtoolsModeEnabled'],
|
|
84
77
|
};
|
|
85
78
|
}
|
|
86
79
|
|
|
@@ -96,8 +89,8 @@ export function AgentStatusToJSONTyped(value?: AgentStatus | null, ignoreDiscrim
|
|
|
96
89
|
return {
|
|
97
90
|
|
|
98
91
|
'mode': value['mode'],
|
|
99
|
-
'
|
|
100
|
-
'
|
|
92
|
+
'consoleConnection': AgentStatusConsoleConnectionToJSON(value['consoleConnection']),
|
|
93
|
+
'rvtoolsModeEnabled': value['rvtoolsModeEnabled'],
|
|
101
94
|
};
|
|
102
95
|
}
|
|
103
96
|
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AgentStatusConsoleConnection
|
|
20
|
+
*/
|
|
21
|
+
export interface AgentStatusConsoleConnection {
|
|
22
|
+
/**
|
|
23
|
+
* Current console connection status
|
|
24
|
+
*/
|
|
25
|
+
status: AgentStatusConsoleConnectionStatusEnum;
|
|
26
|
+
/**
|
|
27
|
+
* Connection error description
|
|
28
|
+
*/
|
|
29
|
+
error?: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export const AgentStatusConsoleConnectionStatusEnum = {
|
|
37
|
+
ConsoleConnectionStatusConnected: 'connected',
|
|
38
|
+
ConsoleConnectionStatusDisconnected: 'disconnected'
|
|
39
|
+
} as const;
|
|
40
|
+
export type AgentStatusConsoleConnectionStatusEnum = typeof AgentStatusConsoleConnectionStatusEnum[keyof typeof AgentStatusConsoleConnectionStatusEnum];
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AgentStatusConsoleConnection interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfAgentStatusConsoleConnection(value: object): value is AgentStatusConsoleConnection {
|
|
47
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function AgentStatusConsoleConnectionFromJSON(json: any): AgentStatusConsoleConnection {
|
|
52
|
+
return AgentStatusConsoleConnectionFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function AgentStatusConsoleConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentStatusConsoleConnection {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'status': json['status'],
|
|
62
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function AgentStatusConsoleConnectionToJSON(json: any): AgentStatusConsoleConnection {
|
|
67
|
+
return AgentStatusConsoleConnectionToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function AgentStatusConsoleConnectionToJSONTyped(value?: AgentStatusConsoleConnection | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'status': value['status'],
|
|
78
|
+
'error': value['error'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,8 +29,6 @@ import {
|
|
|
29
29
|
export interface ApplicationListResponse {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {Array<ApplicationOverview>}
|
|
33
|
-
* @memberof ApplicationListResponse
|
|
34
32
|
*/
|
|
35
33
|
applications: Array<ApplicationOverview>;
|
|
36
34
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,27 +28,19 @@ import {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface ApplicationOverview {
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ApplicationOverview
|
|
31
|
+
* Application name
|
|
34
32
|
*/
|
|
35
33
|
name: string;
|
|
36
34
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ApplicationOverview
|
|
35
|
+
* Application description
|
|
40
36
|
*/
|
|
41
37
|
description: string;
|
|
42
38
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof ApplicationOverview
|
|
39
|
+
* Number of VMs running this application
|
|
46
40
|
*/
|
|
47
41
|
vmCount: number;
|
|
48
42
|
/**
|
|
49
43
|
*
|
|
50
|
-
* @type {Array<ApplicationVM>}
|
|
51
|
-
* @memberof ApplicationOverview
|
|
52
44
|
*/
|
|
53
45
|
vms: Array<ApplicationVM>;
|
|
54
46
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,15 +20,11 @@ import { mapValues } from '../runtime.js';
|
|
|
20
20
|
*/
|
|
21
21
|
export interface ApplicationVM {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApplicationVM
|
|
23
|
+
* VM ID
|
|
26
24
|
*/
|
|
27
25
|
id: string;
|
|
28
26
|
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ApplicationVM
|
|
27
|
+
* VM name
|
|
32
28
|
*/
|
|
33
29
|
name: string;
|
|
34
30
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface BatchUpdateExclusionRequest {
|
|
22
22
|
/**
|
|
23
23
|
* VM IDs to update
|
|
24
|
-
* @type {Array<string>}
|
|
25
|
-
* @memberof BatchUpdateExclusionRequest
|
|
26
24
|
*/
|
|
27
25
|
vmIds: Array<string>;
|
|
28
26
|
/**
|
|
29
27
|
* Exclusion state to set for all VMs
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
* @memberof BatchUpdateExclusionRequest
|
|
32
28
|
*/
|
|
33
29
|
migrationExcluded: boolean;
|
|
34
30
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,80 +21,54 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface BenchmarkRun {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof BenchmarkRun
|
|
26
24
|
*/
|
|
27
25
|
id: number;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof BenchmarkRun
|
|
32
28
|
*/
|
|
33
29
|
sessionId: number;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof BenchmarkRun
|
|
38
32
|
*/
|
|
39
33
|
pairName: string;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof BenchmarkRun
|
|
44
36
|
*/
|
|
45
37
|
sourceDatastore: string;
|
|
46
38
|
/**
|
|
47
39
|
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof BenchmarkRun
|
|
50
40
|
*/
|
|
51
41
|
targetDatastore: string;
|
|
52
42
|
/**
|
|
53
43
|
*
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @memberof BenchmarkRun
|
|
56
44
|
*/
|
|
57
45
|
iteration: number;
|
|
58
46
|
/**
|
|
59
47
|
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof BenchmarkRun
|
|
62
48
|
*/
|
|
63
49
|
diskSizeGb: number;
|
|
64
50
|
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {number}
|
|
67
|
-
* @memberof BenchmarkRun
|
|
51
|
+
*
|
|
68
52
|
*/
|
|
69
53
|
prepDurationSec?: number;
|
|
70
54
|
/**
|
|
71
55
|
*
|
|
72
|
-
* @type {number}
|
|
73
|
-
* @memberof BenchmarkRun
|
|
74
56
|
*/
|
|
75
57
|
durationSec: number;
|
|
76
58
|
/**
|
|
77
59
|
*
|
|
78
|
-
* @type {number}
|
|
79
|
-
* @memberof BenchmarkRun
|
|
80
60
|
*/
|
|
81
|
-
|
|
61
|
+
throughputMBps: number;
|
|
82
62
|
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof BenchmarkRun
|
|
63
|
+
*
|
|
86
64
|
*/
|
|
87
|
-
method
|
|
65
|
+
method: string;
|
|
88
66
|
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {string}
|
|
91
|
-
* @memberof BenchmarkRun
|
|
67
|
+
*
|
|
92
68
|
*/
|
|
93
69
|
error?: string;
|
|
94
70
|
/**
|
|
95
71
|
*
|
|
96
|
-
* @type {Date}
|
|
97
|
-
* @memberof BenchmarkRun
|
|
98
72
|
*/
|
|
99
73
|
createdAt: Date;
|
|
100
74
|
}
|
|
@@ -111,7 +85,8 @@ export function instanceOfBenchmarkRun(value: object): value is BenchmarkRun {
|
|
|
111
85
|
if (!('iteration' in value) || value['iteration'] === undefined) return false;
|
|
112
86
|
if (!('diskSizeGb' in value) || value['diskSizeGb'] === undefined) return false;
|
|
113
87
|
if (!('durationSec' in value) || value['durationSec'] === undefined) return false;
|
|
114
|
-
if (!('
|
|
88
|
+
if (!('throughputMBps' in value) || value['throughputMBps'] === undefined) return false;
|
|
89
|
+
if (!('method' in value) || value['method'] === undefined) return false;
|
|
115
90
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
116
91
|
return true;
|
|
117
92
|
}
|
|
@@ -135,8 +110,8 @@ export function BenchmarkRunFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
135
110
|
'diskSizeGb': json['diskSizeGb'],
|
|
136
111
|
'prepDurationSec': json['prepDurationSec'] == null ? undefined : json['prepDurationSec'],
|
|
137
112
|
'durationSec': json['durationSec'],
|
|
138
|
-
'
|
|
139
|
-
'method': json['method']
|
|
113
|
+
'throughputMBps': json['throughputMBps'],
|
|
114
|
+
'method': json['method'],
|
|
140
115
|
'error': json['error'] == null ? undefined : json['error'],
|
|
141
116
|
'createdAt': (new Date(json['createdAt'])),
|
|
142
117
|
};
|
|
@@ -162,7 +137,7 @@ export function BenchmarkRunToJSONTyped(value?: BenchmarkRun | null, ignoreDiscr
|
|
|
162
137
|
'diskSizeGb': value['diskSizeGb'],
|
|
163
138
|
'prepDurationSec': value['prepDurationSec'],
|
|
164
139
|
'durationSec': value['durationSec'],
|
|
165
|
-
'
|
|
140
|
+
'throughputMBps': value['throughputMBps'],
|
|
166
141
|
'method': value['method'],
|
|
167
142
|
'error': value['error'],
|
|
168
143
|
'createdAt': value['createdAt'].toISOString(),
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,8 +29,6 @@ import {
|
|
|
29
29
|
export interface CapabilityStatus {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {CapabilityStatusCapabilities}
|
|
33
|
-
* @memberof CapabilityStatus
|
|
34
32
|
*/
|
|
35
33
|
capabilities: CapabilityStatusCapabilities;
|
|
36
34
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,20 +29,14 @@ import {
|
|
|
29
29
|
export interface CapabilityStatusCapabilities {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {OperationCapability}
|
|
33
|
-
* @memberof CapabilityStatusCapabilities
|
|
34
32
|
*/
|
|
35
33
|
collector: OperationCapability;
|
|
36
34
|
/**
|
|
37
35
|
*
|
|
38
|
-
* @type {OperationCapability}
|
|
39
|
-
* @memberof CapabilityStatusCapabilities
|
|
40
36
|
*/
|
|
41
37
|
inspector: OperationCapability;
|
|
42
38
|
/**
|
|
43
39
|
*
|
|
44
|
-
* @type {OperationCapability}
|
|
45
|
-
* @memberof CapabilityStatusCapabilities
|
|
46
40
|
*/
|
|
47
41
|
forecaster: OperationCapability;
|
|
48
42
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface ClusterFeatures {
|
|
22
22
|
/**
|
|
23
23
|
* Whether DRS (Distributed Resource Scheduler) is enabled for this cluster
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
* @memberof ClusterFeatures
|
|
26
24
|
*/
|
|
27
25
|
drsEnabled?: boolean;
|
|
28
26
|
/**
|
|
29
27
|
* DRS automation mode for the cluster
|
|
30
|
-
* @type {ClusterFeaturesDrsModeEnum}
|
|
31
|
-
* @memberof ClusterFeatures
|
|
32
28
|
*/
|
|
33
29
|
drsMode?: ClusterFeaturesDrsModeEnum;
|
|
34
30
|
/**
|
|
35
31
|
* Whether Storage DRS is enabled for this cluster
|
|
36
|
-
* @type {boolean}
|
|
37
|
-
* @memberof ClusterFeatures
|
|
38
32
|
*/
|
|
39
33
|
storageDrsEnabled?: boolean;
|
|
40
34
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Assisted Migration Agent API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,44 +21,30 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface ClusterUtilization {
|
|
22
22
|
/**
|
|
23
23
|
* Average CPU utilization percentage (0-100)
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof ClusterUtilization
|
|
26
24
|
*/
|
|
27
25
|
cpu_avg: number;
|
|
28
26
|
/**
|
|
29
27
|
* 95th percentile CPU utilization percentage (0-100)
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof ClusterUtilization
|
|
32
28
|
*/
|
|
33
29
|
cpu_p95: number;
|
|
34
30
|
/**
|
|
35
31
|
* Maximum CPU utilization percentage (0-100)
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof ClusterUtilization
|
|
38
32
|
*/
|
|
39
33
|
cpu_max: number;
|
|
40
34
|
/**
|
|
41
35
|
* Average memory utilization percentage (0-100)
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof ClusterUtilization
|
|
44
36
|
*/
|
|
45
37
|
mem_avg: number;
|
|
46
38
|
/**
|
|
47
39
|
* 95th percentile memory utilization percentage (0-100)
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof ClusterUtilization
|
|
50
40
|
*/
|
|
51
41
|
mem_p95: number;
|
|
52
42
|
/**
|
|
53
43
|
* Maximum memory utilization percentage (0-100)
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @memberof ClusterUtilization
|
|
56
44
|
*/
|
|
57
45
|
mem_max: number;
|
|
58
46
|
/**
|
|
59
47
|
* Data coverage confidence percentage (0-100), calculated as vCPU-weighted coverage
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof ClusterUtilization
|
|
62
48
|
*/
|
|
63
49
|
confidence: number;
|
|
64
50
|
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface Collection
|
|
20
|
+
*/
|
|
21
|
+
export interface Collection {
|
|
22
|
+
/**
|
|
23
|
+
* Collection identifier
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Collection name
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* When the collection was created
|
|
32
|
+
*/
|
|
33
|
+
createdAt: Date;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the Collection interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfCollection(value: object): value is Collection {
|
|
40
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
41
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
42
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function CollectionFromJSON(json: any): Collection {
|
|
47
|
+
return CollectionFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function CollectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Collection {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'id': json['id'],
|
|
57
|
+
'name': json['name'],
|
|
58
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function CollectionToJSON(json: any): Collection {
|
|
63
|
+
return CollectionToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function CollectionToJSONTyped(value?: Collection | null, ignoreDiscriminator: boolean = false): any {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'id': value['id'],
|
|
74
|
+
'name': value['name'],
|
|
75
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|