You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/07/20 11:38:23 UTC

[GitHub] DaanHoogland closed pull request #2751: api: remove empty response parameters

DaanHoogland closed pull request #2751: api: remove empty response parameters
URL: https://github.com/apache/cloudstack/pull/2751
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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 fa7488f15bf..3d22dfe092c 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 @@
     @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 void setStorageType(String storageType) {
         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 61bab02d321..efd3b79ed0a 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 @@
     @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 void setGuestCidrAddress(String guestCidrAddress) {
         this.guestCidrAddress = guestCidrAddress;
     }
 
-    public void setStatus(String status) {
-        this.status = status;
-    }
-
     public void setDisplayText(String displayText) {
         this.displayText = displayText;
     }
@@ -272,10 +264,6 @@ public String getGuestCidrAddress() {
         return guestCidrAddress;
     }
 
-    public String getStatus() {
-        return status;
-    }
-
     public String getDisplayText() {
         return displayText;
     }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services