Skip to content

Commit a440072

Browse files
author
Likitha Shetty
committed
CLOUDSTACK-4182. Id field is not set in the xml response for DeployVirtualMachine/CreateVolume/CreateNetwork API's.
1 parent 3e85f48 commit a440072

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

api/src/org/apache/cloudstack/api/response/CreateCmdResponse.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@
1616
// under the License.
1717
package org.apache.cloudstack.api.response;
1818

19+
import com.google.gson.annotations.SerializedName;
20+
21+
import org.apache.cloudstack.api.ApiConstants;
1922
import org.apache.cloudstack.api.BaseResponse;
2023

2124
public class CreateCmdResponse extends BaseResponse {
25+
26+
@SerializedName(ApiConstants.ID)
2227
private String id;
2328

2429
public String getId() {

0 commit comments

Comments
 (0)