You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2018/07/20 11:38:25 UTC
[cloudstack] branch master updated: api: remove empty response
parameters (#2751)
This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/master by this push:
new a21ebb1 api: remove empty response parameters (#2751)
a21ebb1 is described below
commit a21ebb1ce85214c354263a28dfe7bcb802aebf71
Author: Marc-Aurèle Brothier <m...@brothier.org>
AuthorDate: Fri Jul 20 13:38:21 2018 +0200
api: remove empty response parameters (#2751)
---
.../org/apache/cloudstack/api/response/ExtractResponse.java | 11 -----------
.../org/apache/cloudstack/api/response/ZoneResponse.java | 12 ------------
2 files changed, 23 deletions(-)
diff --git a/api/src/main/java/org/apache/cloudstack/api/response/ExtractResponse.java b/api/src/main/java/org/apache/cloudstack/api/response/ExtractResponse.java
index fa7488f..3d22dfe 100644
--- a/api/src/main/java/org/apache/cloudstack/api/response/ExtractResponse.java
+++ b/api/src/main/java/org/apache/cloudstack/api/response/ExtractResponse.java
@@ -66,9 +66,6 @@ public class ExtractResponse extends BaseResponse {
@Param(description = "type of the storage")
private String storageType;
- @SerializedName("storage")
- private String storage;
-
@SerializedName(ApiConstants.ZONE_ID)
@Param(description = "zone ID the object was extracted from")
private String zoneId;
@@ -176,14 +173,6 @@ public class ExtractResponse extends BaseResponse {
this.storageType = storageType;
}
- public String getStorage() {
- return storage;
- }
-
- public void setStorage(String storage) {
- this.storage = storage;
- }
-
public String getZoneId() {
return zoneId;
}
diff --git a/api/src/main/java/org/apache/cloudstack/api/response/ZoneResponse.java b/api/src/main/java/org/apache/cloudstack/api/response/ZoneResponse.java
index 61bab02..efd3b79 100644
--- a/api/src/main/java/org/apache/cloudstack/api/response/ZoneResponse.java
+++ b/api/src/main/java/org/apache/cloudstack/api/response/ZoneResponse.java
@@ -73,10 +73,6 @@ public class ZoneResponse extends BaseResponse {
@Param(description = "the guest CIDR address for the Zone")
private String guestCidrAddress;
- //TODO - generate description
- @SerializedName("status")
- private String status;
-
@SerializedName(ApiConstants.DISPLAY_TEXT)
@Param(description = "the display text of the zone")
private String displayText;
@@ -165,10 +161,6 @@ public class ZoneResponse extends BaseResponse {
this.guestCidrAddress = guestCidrAddress;
}
- public void setStatus(String status) {
- this.status = status;
- }
-
public void setDisplayText(String displayText) {
this.displayText = displayText;
}
@@ -272,10 +264,6 @@ public class ZoneResponse extends BaseResponse {
return guestCidrAddress;
}
- public String getStatus() {
- return status;
- }
-
public String getDisplayText() {
return displayText;
}