The serialized names for the old VIRTUAL_MACHINE_* constants weren't quite right. Fix these up. This is a good example for why there needs to be a pass through the API commands and responses and constants should be used in the annotations rather than the current strings that are in place.

This commit is contained in:
Kris McQueen 2010-10-18 14:10:00 -07:00
parent ab46791903
commit 603874605d
1 changed files with 3 additions and 3 deletions

View File

@ -50,13 +50,13 @@ public class VolumeResponse extends BaseResponse {
@SerializedName("virtualmachineid") @Param(description="id of the virtual machine")
private Long virtualMachineId;
@SerializedName("virtualmachinename") @Param(description="name of the virtual machine")
@SerializedName("vmname") @Param(description="name of the virtual machine")
private String virtualMachineName;
@SerializedName("virtualmachinedisplayname") @Param(description="display name of the virtual machine")
@SerializedName("vmdisplayname") @Param(description="display name of the virtual machine")
private String virtualMachineDisplayName;
@SerializedName("virtualmachinestate") @Param(description="state of the virtual machine")
@SerializedName("vmstate") @Param(description="state of the virtual machine")
private String virtualMachineState;
@SerializedName("size") @Param(description="size of the disk volume")