mirror of https://github.com/apache/cloudstack.git
api: Fix annotations on iso related cmd
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
f1aee2cc50
commit
531c2f030c
|
|
@ -47,7 +47,7 @@ public class AttachIsoCmd extends BaseAsyncCmd {
|
|||
required=true, description="the ID of the ISO file")
|
||||
private Long id;
|
||||
|
||||
@Parameter(name=ApiConstants.VIRTUAL_MACHINE_ID, type=CommandType.UUID, entityType = TemplateResponse.class,
|
||||
@Parameter(name=ApiConstants.VIRTUAL_MACHINE_ID, type=CommandType.UUID, entityType = UserVmResponse.class,
|
||||
required=true, description="the ID of the virtual machine")
|
||||
private Long virtualMachineId;
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public class DetachIsoCmd extends BaseAsyncCmd {
|
|||
//////////////// API parameters /////////////////////
|
||||
/////////////////////////////////////////////////////
|
||||
|
||||
@Parameter(name=ApiConstants.VIRTUAL_MACHINE_ID, type=CommandType.UUID, entityType = TemplateResponse.class,
|
||||
@Parameter(name=ApiConstants.VIRTUAL_MACHINE_ID, type=CommandType.UUID, entityType = UserVmResponse.class,
|
||||
required=true, description="The ID of the virtual machine")
|
||||
private Long virtualMachineId;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue