mirror of https://github.com/apache/cloudstack.git
api: remove empty response parameters (#2751)
This commit is contained in:
parent
c3ff356c15
commit
a21ebb1ce8
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue