From 4d626c11bc4f029788ddc0e12340d8e880521f8b Mon Sep 17 00:00:00 2001 From: Ashwin Swaroop Date: Fri, 11 Sep 2015 18:27:31 -0400 Subject: [PATCH] This is the fix for the JIRA issue CLOUDSTACK-8817. The return values for endpoint and startpoint are now Integer instead of String. --- .../org/apache/cloudstack/api/response/FirewallResponse.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/org/apache/cloudstack/api/response/FirewallResponse.java b/api/src/org/apache/cloudstack/api/response/FirewallResponse.java index 4c1342a7ecb..368f732b197 100644 --- a/api/src/org/apache/cloudstack/api/response/FirewallResponse.java +++ b/api/src/org/apache/cloudstack/api/response/FirewallResponse.java @@ -37,11 +37,11 @@ public class FirewallResponse extends BaseResponse { @SerializedName(ApiConstants.START_PORT) @Param(description = "the starting port of firewall rule's port range") - private String startPort; + private Integer startPort; @SerializedName(ApiConstants.END_PORT) @Param(description = "the ending port of firewall rule's port range") - private String endPort; + private Integer endPort; @SerializedName(ApiConstants.IP_ADDRESS_ID) @Param(description = "the public ip address id for the firewall rule")