mirror of https://github.com/apache/cloudstack.git
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:
parent
ab46791903
commit
603874605d
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue