You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ki...@apache.org on 2013/01/28 13:22:51 UTC

[33/50] [abbrv] git commit: api: Fix annotations on iso related cmd

api: Fix annotations on iso related cmd

Signed-off-by: Rohit Yadav <bh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/531c2f03
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/531c2f03
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/531c2f03

Branch: refs/heads/regions
Commit: 531c2f030c883a9c9a81b20ce1d85380e5a61739
Parents: f1aee2c
Author: Rohit Yadav <bh...@apache.org>
Authored: Thu Jan 24 10:32:35 2013 -0800
Committer: Rohit Yadav <bh...@apache.org>
Committed: Thu Jan 24 10:33:04 2013 -0800

----------------------------------------------------------------------
 .../api/command/user/iso/AttachIsoCmd.java         |    2 +-
 .../api/command/user/iso/DetachIsoCmd.java         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/531c2f03/api/src/org/apache/cloudstack/api/command/user/iso/AttachIsoCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/iso/AttachIsoCmd.java b/api/src/org/apache/cloudstack/api/command/user/iso/AttachIsoCmd.java
index 2a0b2c6..89e7292 100644
--- a/api/src/org/apache/cloudstack/api/command/user/iso/AttachIsoCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/iso/AttachIsoCmd.java
@@ -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;
 

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/531c2f03/api/src/org/apache/cloudstack/api/command/user/iso/DetachIsoCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/iso/DetachIsoCmd.java b/api/src/org/apache/cloudstack/api/command/user/iso/DetachIsoCmd.java
index c8a87cb..2a6ecf4 100644
--- a/api/src/org/apache/cloudstack/api/command/user/iso/DetachIsoCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/iso/DetachIsoCmd.java
@@ -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;