api: remove empty response parameters (#2751)

This commit is contained in:
Marc-Aurèle Brothier 2018-07-20 13:38:21 +02:00 committed by dahn
parent c3ff356c15
commit a21ebb1ce8
2 changed files with 0 additions and 23 deletions

View File

@ -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;
}

View File

@ -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;
}