Skip to content

Commit d9928c5

Browse files
committed
Add missing entity type
1 parent 46cdc27 commit d9928c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/src/main/java/org/apache/cloudstack/api/command/admin/vm/ImportVmCmd.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import org.apache.cloudstack.api.Parameter;
3131
import org.apache.cloudstack.api.ResponseObject;
3232
import org.apache.cloudstack.api.ServerApiException;
33+
import org.apache.cloudstack.api.response.GuestOSResponse;
3334
import org.apache.cloudstack.api.response.HostResponse;
3435
import org.apache.cloudstack.api.response.NetworkResponse;
3536
import org.apache.cloudstack.api.response.StoragePoolResponse;
@@ -173,6 +174,7 @@ public class ImportVmCmd extends ImportUnmanagedInstanceCmd {
173174

174175
@Parameter(name = ApiConstants.OS_ID,
175176
type = CommandType.UUID,
177+
entityType = GuestOSResponse.class,
176178
since = "4.22.1",
177179
description = "(only for importing VMs from VMware to KVM) optional - the ID of the guest OS for the imported VM.")
178180
private Long guestOsId;

0 commit comments

Comments
 (0)