cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahu...@apache.org
Subject [26/51] [partial] Reformat all source code. Added checkstyle to check the source code
Date Wed, 20 Nov 2013 15:35:13 GMT
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/PhysicalNetworkResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/PhysicalNetworkResponse.java b/api/src/org/apache/cloudstack/api/response/PhysicalNetworkResponse.java
index 1f93b46..b8379ee 100644
--- a/api/src/org/apache/cloudstack/api/response/PhysicalNetworkResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/PhysicalNetworkResponse.java
@@ -26,41 +26,50 @@ import com.cloud.network.PhysicalNetwork;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=PhysicalNetwork.class)
+@EntityReference(value = PhysicalNetwork.class)
 @SuppressWarnings("unused")
 public class PhysicalNetworkResponse extends BaseResponse {
 
-    @SerializedName(ApiConstants.ID) @Param(description="the uuid of the physical network")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the uuid of the physical network")
     private String id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description="name of the physical network")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "name of the physical network")
     private String name;
 
-    @SerializedName(ApiConstants.BROADCAST_DOMAIN_RANGE) @Param(description="Broadcast domain range of the physical network")
+    @SerializedName(ApiConstants.BROADCAST_DOMAIN_RANGE)
+    @Param(description = "Broadcast domain range of the physical network")
     private String broadcastDomainRange;
 
-    @SerializedName(ApiConstants.ZONE_ID) @Param(description="zone id of the physical network")
+    @SerializedName(ApiConstants.ZONE_ID)
+    @Param(description = "zone id of the physical network")
     private String zoneId;
 
-    @SerializedName(ApiConstants.STATE) @Param(description="state of the physical network")
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "state of the physical network")
     private String state;
 
-    @SerializedName(ApiConstants.VLAN) @Param(description="the vlan of the physical network")
+    @SerializedName(ApiConstants.VLAN)
+    @Param(description = "the vlan of the physical network")
     private String vlan;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain id of the physical network owner")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain id of the physical network owner")
     private String domainId;
 
-    @SerializedName(ApiConstants.TAGS) @Param(description="comma separated tag")
+    @SerializedName(ApiConstants.TAGS)
+    @Param(description = "comma separated tag")
     private String tags;
 
-    @SerializedName(ApiConstants.ISOLATION_METHODS) @Param(description="isolation methods")
+    @SerializedName(ApiConstants.ISOLATION_METHODS)
+    @Param(description = "isolation methods")
     private String isolationMethods;
 
-    @SerializedName(ApiConstants.NETWORK_SPEED) @Param(description="the speed of the physical network")
+    @SerializedName(ApiConstants.NETWORK_SPEED)
+    @Param(description = "the speed of the physical network")
     private String networkSpeed;
 
-
     @Override
     public String getObjectId() {
         return this.id;
@@ -79,7 +88,6 @@ public class PhysicalNetworkResponse extends BaseResponse {
         this.state = state;
     }
 
-
     public void setDomainId(String domainId) {
         this.domainId = domainId;
     }
@@ -88,7 +96,6 @@ public class PhysicalNetworkResponse extends BaseResponse {
         this.vlan = vlan;
     }
 
-
     public void setTags(List<String> tags) {
         if (tags == null || tags.size() == 0) {
             return;
@@ -99,7 +106,7 @@ public class PhysicalNetworkResponse extends BaseResponse {
             buf.append(tag).append(",");
         }
 
-        this.tags = buf.delete(buf.length()-1, buf.length()).toString();
+        this.tags = buf.delete(buf.length() - 1, buf.length()).toString();
     }
 
     public void setBroadcastDomainRange(String broadcastDomainRange) {
@@ -120,7 +127,7 @@ public class PhysicalNetworkResponse extends BaseResponse {
             buf.append(isolationMethod).append(",");
         }
 
-        this.isolationMethods = buf.delete(buf.length()-1, buf.length()).toString();
+        this.isolationMethods = buf.delete(buf.length() - 1, buf.length()).toString();
     }
 
     public void setName(String name) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/PodResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/PodResponse.java b/api/src/org/apache/cloudstack/api/response/PodResponse.java
index f31c289..1d3015e 100644
--- a/api/src/org/apache/cloudstack/api/response/PodResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/PodResponse.java
@@ -28,34 +28,44 @@ import com.google.gson.annotations.SerializedName;
 
 @EntityReference(value = Pod.class)
 public class PodResponse extends BaseResponse {
-    @SerializedName("id") @Param(description="the ID of the Pod")
+    @SerializedName("id")
+    @Param(description = "the ID of the Pod")
     private String id;
 
-    @SerializedName("name") @Param(description="the name of the Pod")
+    @SerializedName("name")
+    @Param(description = "the name of the Pod")
     private String name;
 
-    @SerializedName("zoneid") @Param(description="the Zone ID of the Pod")
+    @SerializedName("zoneid")
+    @Param(description = "the Zone ID of the Pod")
     private String zoneId;
 
-    @SerializedName(ApiConstants.ZONE_NAME) @Param(description="the Zone name of the Pod")
+    @SerializedName(ApiConstants.ZONE_NAME)
+    @Param(description = "the Zone name of the Pod")
     private String zoneName;
 
-    @SerializedName("gateway") @Param(description="the gateway of the Pod")
+    @SerializedName("gateway")
+    @Param(description = "the gateway of the Pod")
     private String gateway;
 
-    @SerializedName("netmask") @Param(description="the netmask of the Pod")
+    @SerializedName("netmask")
+    @Param(description = "the netmask of the Pod")
     private String netmask;
 
-    @SerializedName("startip") @Param(description="the starting IP for the Pod")
+    @SerializedName("startip")
+    @Param(description = "the starting IP for the Pod")
     private String startIp;
 
-    @SerializedName("endip") @Param(description="the ending IP for the Pod")
+    @SerializedName("endip")
+    @Param(description = "the ending IP for the Pod")
     private String endIp;
 
-    @SerializedName("allocationstate") @Param(description="the allocation state of the Pod")
+    @SerializedName("allocationstate")
+    @Param(description = "the allocation state of the Pod")
     private String allocationState;
 
-    @SerializedName("capacity")  @Param(description="the capacity of the Pod", responseObject = CapacityResponse.class)
+    @SerializedName("capacity")
+    @Param(description = "the capacity of the Pod", responseObject = CapacityResponse.class)
     private List<CapacityResponse> capacitites;
 
     public String getId() {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/PortableIpRangeResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/PortableIpRangeResponse.java b/api/src/org/apache/cloudstack/api/response/PortableIpRangeResponse.java
index e7a15b8..a597ab0 100644
--- a/api/src/org/apache/cloudstack/api/response/PortableIpRangeResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/PortableIpRangeResponse.java
@@ -29,7 +29,7 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 import org.apache.cloudstack.region.PortableIpRange;
 
-@EntityReference(value=PortableIpRange.class)
+@EntityReference(value = PortableIpRange.class)
 public class PortableIpRangeResponse extends BaseResponse {
 
     @SerializedName(ApiConstants.ID)
@@ -40,23 +40,28 @@ public class PortableIpRangeResponse extends BaseResponse {
     @Param(description = "Region Id in which portable ip range is provisioned")
     private Integer regionId;
 
-    @SerializedName(ApiConstants.GATEWAY) @Param(description="the gateway of the VLAN IP range")
+    @SerializedName(ApiConstants.GATEWAY)
+    @Param(description = "the gateway of the VLAN IP range")
     private String gateway;
 
-    @SerializedName(ApiConstants.NETMASK) @Param(description="the netmask of the VLAN IP range")
+    @SerializedName(ApiConstants.NETMASK)
+    @Param(description = "the netmask of the VLAN IP range")
     private String netmask;
 
-    @SerializedName(ApiConstants.VLAN) @Param(description="the ID or VID of the VLAN.")
+    @SerializedName(ApiConstants.VLAN)
+    @Param(description = "the ID or VID of the VLAN.")
     private String vlan;
 
-    @SerializedName(ApiConstants.START_IP) @Param(description="the start ip of the portable IP range")
+    @SerializedName(ApiConstants.START_IP)
+    @Param(description = "the start ip of the portable IP range")
     private String startIp;
 
-    @SerializedName(ApiConstants.END_IP) @Param(description="the end ip of the portable IP range")
+    @SerializedName(ApiConstants.END_IP)
+    @Param(description = "the end ip of the portable IP range")
     private String endIp;
 
     @SerializedName(ApiConstants.PORTABLE_IP_ADDRESS)
-    @Param(description="List of portable IP and association with zone/network/vpc details that are part of GSLB rule", responseObject = PortableIpResponse.class)
+    @Param(description = "List of portable IP and association with zone/network/vpc details that are part of GSLB rule", responseObject = PortableIpResponse.class)
     private List<PortableIpResponse> portableIpResponses;
 
     public void setId(String id) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/PortableIpResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/PortableIpResponse.java b/api/src/org/apache/cloudstack/api/response/PortableIpResponse.java
index 0ccbcc3..b98c5dc 100644
--- a/api/src/org/apache/cloudstack/api/response/PortableIpResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/PortableIpResponse.java
@@ -30,38 +30,47 @@ import com.google.gson.annotations.SerializedName;
 import org.apache.cloudstack.region.PortableIp;
 import org.apache.cloudstack.region.PortableIpRange;
 
-@EntityReference(value=PortableIp.class)
+@EntityReference(value = PortableIp.class)
 public class PortableIpResponse extends BaseResponse {
 
     @SerializedName(ApiConstants.REGION_ID)
     @Param(description = "Region Id in which global load balancer is created")
     private Integer regionId;
 
-    @SerializedName(ApiConstants.IP_ADDRESS) @Param(description="public IP address")
+    @SerializedName(ApiConstants.IP_ADDRESS)
+    @Param(description = "public IP address")
     private String ipAddress;
 
-    @SerializedName(ApiConstants.ZONE_ID) @Param(description="the ID of the zone the public IP address belongs to")
+    @SerializedName(ApiConstants.ZONE_ID)
+    @Param(description = "the ID of the zone the public IP address belongs to")
     private String zoneId;
 
-    @SerializedName(ApiConstants.NETWORK_ID) @Param(description="the ID of the Network where ip belongs to")
+    @SerializedName(ApiConstants.NETWORK_ID)
+    @Param(description = "the ID of the Network where ip belongs to")
     private String networkId;
 
-    @SerializedName(ApiConstants.VPC_ID) @Param(description="VPC the ip belongs to")
+    @SerializedName(ApiConstants.VPC_ID)
+    @Param(description = "VPC the ip belongs to")
     private String vpcId;
 
-    @SerializedName(ApiConstants.PHYSICAL_NETWORK_ID) @Param(description="the physical network this belongs to")
+    @SerializedName(ApiConstants.PHYSICAL_NETWORK_ID)
+    @Param(description = "the physical network this belongs to")
     private String physicalNetworkId;
 
-    @SerializedName(ApiConstants.ACCOUNT_ID) @Param(description="the account ID the portable IP address is associated with")
+    @SerializedName(ApiConstants.ACCOUNT_ID)
+    @Param(description = "the account ID the portable IP address is associated with")
     private String accountId;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain ID the portable IP address is associated with")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain ID the portable IP address is associated with")
     private String domainId;
 
-    @SerializedName("allocated") @Param(description="date the portal IP address was acquired")
+    @SerializedName("allocated")
+    @Param(description = "date the portal IP address was acquired")
     private Date allocated;
 
-    @SerializedName(ApiConstants.STATE) @Param(description="State of the ip address. Can be: Allocatin, Allocated and Releasing")
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "State of the ip address. Can be: Allocatin, Allocated and Releasing")
     private String state;
 
     public void setRegionId(Integer regionId) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/PrivateGatewayResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/PrivateGatewayResponse.java b/api/src/org/apache/cloudstack/api/response/PrivateGatewayResponse.java
index 22b3213..1cba39d 100644
--- a/api/src/org/apache/cloudstack/api/response/PrivateGatewayResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/PrivateGatewayResponse.java
@@ -15,6 +15,7 @@
 // specific language governing permissions and limitations
 // under the License.
 package org.apache.cloudstack.api.response;
+
 import org.apache.cloudstack.api.ApiConstants;
 import org.apache.cloudstack.api.BaseResponse;
 import org.apache.cloudstack.api.EntityReference;
@@ -23,45 +24,56 @@ import com.cloud.network.vpc.VpcGateway;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=VpcGateway.class)
+@EntityReference(value = VpcGateway.class)
 @SuppressWarnings("unused")
-public class PrivateGatewayResponse extends BaseResponse implements ControlledEntityResponse{
+public class PrivateGatewayResponse extends BaseResponse implements ControlledEntityResponse {
 
-    @SerializedName(ApiConstants.ID) @Param(description="the id of the private gateway")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the id of the private gateway")
     private String id;
 
-    @SerializedName(ApiConstants.GATEWAY) @Param(description="the gateway")
+    @SerializedName(ApiConstants.GATEWAY)
+    @Param(description = "the gateway")
     private String gateway;
 
-    @SerializedName(ApiConstants.NETMASK) @Param(description="the private gateway's netmask")
+    @SerializedName(ApiConstants.NETMASK)
+    @Param(description = "the private gateway's netmask")
     private String netmask;
 
-    @SerializedName(ApiConstants.IP_ADDRESS) @Param(description="the private gateway's ip address")
+    @SerializedName(ApiConstants.IP_ADDRESS)
+    @Param(description = "the private gateway's ip address")
     private String address;
 
-    @SerializedName(ApiConstants.ZONE_ID) @Param(description="zone id of the private gateway")
+    @SerializedName(ApiConstants.ZONE_ID)
+    @Param(description = "zone id of the private gateway")
     private String zoneId;
 
-    @SerializedName(ApiConstants.ZONE_NAME) @Param(description="the name of the zone the private gateway belongs to")
+    @SerializedName(ApiConstants.ZONE_NAME)
+    @Param(description = "the name of the zone the private gateway belongs to")
     private String zoneName;
 
-    @SerializedName(ApiConstants.VLAN) @Param(description="the network implementation uri for the private gateway")
+    @SerializedName(ApiConstants.VLAN)
+    @Param(description = "the network implementation uri for the private gateway")
     private String broadcastUri;
 
-    @SerializedName(ApiConstants.VPC_ID) @Param(description="VPC the private gateaway belongs to")
+    @SerializedName(ApiConstants.VPC_ID)
+    @Param(description = "VPC the private gateaway belongs to")
     private String vpcId;
 
-    @SerializedName(ApiConstants.PHYSICAL_NETWORK_ID) @Param(description="the physical network id")
+    @SerializedName(ApiConstants.PHYSICAL_NETWORK_ID)
+    @Param(description = "the physical network id")
     private String physicalNetworkId;
 
     @SerializedName(ApiConstants.ACCOUNT)
     @Param(description = "the account associated with the private gateway")
     private String accountName;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id of the private gateway")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id of the private gateway")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name of the private gateway")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name of the private gateway")
     private String projectName;
 
     @SerializedName(ApiConstants.DOMAIN_ID)
@@ -72,18 +84,18 @@ public class PrivateGatewayResponse extends BaseResponse implements ControlledEn
     @Param(description = "the domain associated with the private gateway")
     private String domainName;
 
-    @SerializedName(ApiConstants.STATE) @Param(description="State of the gateway, can be Creating, Ready, Deleting")
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "State of the gateway, can be Creating, Ready, Deleting")
     private String state;
 
-
-    @SerializedName(ApiConstants.SOURCE_NAT_SUPPORTED) @Param(description = "Souce Nat enable status")
+    @SerializedName(ApiConstants.SOURCE_NAT_SUPPORTED)
+    @Param(description = "Souce Nat enable status")
     private Boolean sourceNat;
 
-
-    @SerializedName(ApiConstants.ACL_ID) @Param(description = "ACL Id set for private gateway")
+    @SerializedName(ApiConstants.ACL_ID)
+    @Param(description = "ACL Id set for private gateway")
     private String aclId;
 
-
     @Override
     public String getObjectId() {
         return this.id;
@@ -162,7 +174,4 @@ public class PrivateGatewayResponse extends BaseResponse implements ControlledEn
         this.aclId = aclId;
     }
 
-
-
 }
-

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ProjectAccountResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ProjectAccountResponse.java b/api/src/org/apache/cloudstack/api/response/ProjectAccountResponse.java
index cb69ee5..6bff121 100644
--- a/api/src/org/apache/cloudstack/api/response/ProjectAccountResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ProjectAccountResponse.java
@@ -26,7 +26,7 @@ import com.cloud.projects.ProjectAccount;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=ProjectAccount.class)
+@EntityReference(value = ProjectAccount.class)
 @SuppressWarnings("unused")
 public class ProjectAccountResponse extends BaseResponse implements ControlledViewEntityResponse {
     @SerializedName(ApiConstants.PROJECT_ID)

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ProjectInvitationResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ProjectInvitationResponse.java b/api/src/org/apache/cloudstack/api/response/ProjectInvitationResponse.java
index 1ece690..269319a 100644
--- a/api/src/org/apache/cloudstack/api/response/ProjectInvitationResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ProjectInvitationResponse.java
@@ -24,31 +24,39 @@ import com.cloud.projects.ProjectInvitation;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=ProjectInvitation.class)
+@EntityReference(value = ProjectInvitation.class)
 @SuppressWarnings("unused")
-public class ProjectInvitationResponse extends BaseResponse implements ControlledViewEntityResponse{
-    @SerializedName(ApiConstants.ID) @Param(description="the id of the invitation")
+public class ProjectInvitationResponse extends BaseResponse implements ControlledViewEntityResponse {
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the id of the invitation")
     private String id;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the id of the project")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the id of the project")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the name of the project")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the name of the project")
     private String projectName;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain id the project belongs to")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain id the project belongs to")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="the domain name where the project belongs to")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "the domain name where the project belongs to")
     private String domainName;
 
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="the account name of the project's owner")
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "the account name of the project's owner")
     private String accountName;
 
-    @SerializedName(ApiConstants.EMAIL) @Param(description="the email the invitation was sent to")
+    @SerializedName(ApiConstants.EMAIL)
+    @Param(description = "the email the invitation was sent to")
     private String email;
 
-    @SerializedName(ApiConstants.STATE) @Param(description="the invitation state")
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "the invitation state")
     private String invitationState;
 
     public void setId(String id) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ProjectResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ProjectResponse.java b/api/src/org/apache/cloudstack/api/response/ProjectResponse.java
index 81b51c8..ad29d2b 100644
--- a/api/src/org/apache/cloudstack/api/response/ProjectResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ProjectResponse.java
@@ -28,140 +28,182 @@ import org.apache.cloudstack.api.EntityReference;
 import com.cloud.projects.Project;
 import com.cloud.serializer.Param;
 
-@EntityReference(value=Project.class)
+@EntityReference(value = Project.class)
 @SuppressWarnings("unused")
-public class ProjectResponse extends BaseResponse implements ResourceLimitAndCountResponse{
+public class ProjectResponse extends BaseResponse implements ResourceLimitAndCountResponse {
 
-    @SerializedName(ApiConstants.ID) @Param(description="the id of the project")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the id of the project")
     private String id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the name of the project")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the name of the project")
     private String name;
 
-    @SerializedName(ApiConstants.DISPLAY_TEXT) @Param(description="the displaytext of the project")
+    @SerializedName(ApiConstants.DISPLAY_TEXT)
+    @Param(description = "the displaytext of the project")
     private String displaytext;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain id the project belongs to")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain id the project belongs to")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="the domain name where the project belongs to")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "the domain name where the project belongs to")
     private String domain;
 
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="the account name of the project's owner")
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "the account name of the project's owner")
     private String ownerName;
 
-    @SerializedName(ApiConstants.STATE) @Param(description="the state of the project")
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "the state of the project")
     private String state;
 
-    @SerializedName(ApiConstants.TAGS)  @Param(description="the list of resource tags associated with vm", responseObject = ResourceTagResponse.class)
+    @SerializedName(ApiConstants.TAGS)
+    @Param(description = "the list of resource tags associated with vm", responseObject = ResourceTagResponse.class)
     private List<ResourceTagResponse> tags = new ArrayList<ResourceTagResponse>();
-    
-    @SerializedName("networklimit") @Param(description="the total number of networks the project can own", since="4.2.0")
+
+    @SerializedName("networklimit")
+    @Param(description = "the total number of networks the project can own", since = "4.2.0")
     private String networkLimit;
 
-    @SerializedName("networktotal") @Param(description="the total number of networks owned by project", since="4.2.0")
+    @SerializedName("networktotal")
+    @Param(description = "the total number of networks owned by project", since = "4.2.0")
     private Long networkTotal;
 
-    @SerializedName("networkavailable") @Param(description="the total number of networks available to be created for this project", since="4.2.0")
+    @SerializedName("networkavailable")
+    @Param(description = "the total number of networks available to be created for this project", since = "4.2.0")
     private String networkAvailable;
 
-    @SerializedName("vpclimit") @Param(description="the total number of vpcs the project can own", since="4.2.0")
+    @SerializedName("vpclimit")
+    @Param(description = "the total number of vpcs the project can own", since = "4.2.0")
     private String vpcLimit;
 
-    @SerializedName("vpctotal") @Param(description="the total number of vpcs owned by project", since="4.2.0")
+    @SerializedName("vpctotal")
+    @Param(description = "the total number of vpcs owned by project", since = "4.2.0")
     private Long vpcTotal;
 
-    @SerializedName("vpcavailable") @Param(description="the total number of vpcs available to be created for this project", since="4.2.0")
+    @SerializedName("vpcavailable")
+    @Param(description = "the total number of vpcs available to be created for this project", since = "4.2.0")
     private String vpcAvailable;
 
-    @SerializedName("cpulimit") @Param(description="the total number of cpu cores the project can own", since="4.2.0")
+    @SerializedName("cpulimit")
+    @Param(description = "the total number of cpu cores the project can own", since = "4.2.0")
     private String cpuLimit;
 
-    @SerializedName("cputotal") @Param(description="the total number of cpu cores owned by project", since="4.2.0")
+    @SerializedName("cputotal")
+    @Param(description = "the total number of cpu cores owned by project", since = "4.2.0")
     private Long cpuTotal;
 
-    @SerializedName("cpuavailable") @Param(description="the total number of cpu cores available to be created for this project", since="4.2.0")
+    @SerializedName("cpuavailable")
+    @Param(description = "the total number of cpu cores available to be created for this project", since = "4.2.0")
     private String cpuAvailable;
 
-    @SerializedName("memorylimit") @Param(description="the total memory (in MB) the project can own", since="4.2.0")
+    @SerializedName("memorylimit")
+    @Param(description = "the total memory (in MB) the project can own", since = "4.2.0")
     private String memoryLimit;
 
-    @SerializedName("memorytotal") @Param(description="the total memory (in MB) owned by project", since="4.2.0")
+    @SerializedName("memorytotal")
+    @Param(description = "the total memory (in MB) owned by project", since = "4.2.0")
     private Long memoryTotal;
 
-    @SerializedName("memoryavailable") @Param(description="the total memory (in MB) available to be created for this project", since="4.2.0")
+    @SerializedName("memoryavailable")
+    @Param(description = "the total memory (in MB) available to be created for this project", since = "4.2.0")
     private String memoryAvailable;
 
-    @SerializedName("primarystoragelimit") @Param(description="the total primary storage space (in GiB) the project can own", since="4.2.0")
+    @SerializedName("primarystoragelimit")
+    @Param(description = "the total primary storage space (in GiB) the project can own", since = "4.2.0")
     private String primaryStorageLimit;
 
-    @SerializedName("primarystoragetotal") @Param(description="the total primary storage space (in GiB) owned by project", since="4.2.0")
+    @SerializedName("primarystoragetotal")
+    @Param(description = "the total primary storage space (in GiB) owned by project", since = "4.2.0")
     private Long primaryStorageTotal;
 
-    @SerializedName("primarystorageavailable") @Param(description="the total primary storage space (in GiB) available to be used for this project", since="4.2.0")
+    @SerializedName("primarystorageavailable")
+    @Param(description = "the total primary storage space (in GiB) available to be used for this project", since = "4.2.0")
     private String primaryStorageAvailable;
 
-    @SerializedName("secondarystoragelimit") @Param(description="the total secondary storage space (in GiB) the project can own", since="4.2.0")
+    @SerializedName("secondarystoragelimit")
+    @Param(description = "the total secondary storage space (in GiB) the project can own", since = "4.2.0")
     private String secondaryStorageLimit;
 
-    @SerializedName("secondarystoragetotal") @Param(description="the total secondary storage space (in GiB) owned by project", since="4.2.0")
+    @SerializedName("secondarystoragetotal")
+    @Param(description = "the total secondary storage space (in GiB) owned by project", since = "4.2.0")
     private Long secondaryStorageTotal;
 
-    @SerializedName("secondarystorageavailable") @Param(description="the total secondary storage space (in GiB) available to be used for this project", since="4.2.0")
+    @SerializedName("secondarystorageavailable")
+    @Param(description = "the total secondary storage space (in GiB) available to be used for this project", since = "4.2.0")
     private String secondaryStorageAvailable;
-    
-    @SerializedName(ApiConstants.VM_LIMIT) @Param(description="the total number of virtual machines that can be deployed by this project", since="4.2.0")
+
+    @SerializedName(ApiConstants.VM_LIMIT)
+    @Param(description = "the total number of virtual machines that can be deployed by this project", since = "4.2.0")
     private String vmLimit;
 
-    @SerializedName(ApiConstants.VM_TOTAL) @Param(description="the total number of virtual machines deployed by this project", since="4.2.0")
+    @SerializedName(ApiConstants.VM_TOTAL)
+    @Param(description = "the total number of virtual machines deployed by this project", since = "4.2.0")
     private Long vmTotal;
 
-    @SerializedName(ApiConstants.VM_AVAILABLE) @Param(description="the total number of virtual machines available for this project to acquire", since="4.2.0")
+    @SerializedName(ApiConstants.VM_AVAILABLE)
+    @Param(description = "the total number of virtual machines available for this project to acquire", since = "4.2.0")
     private String vmAvailable;
 
-    @SerializedName(ApiConstants.IP_LIMIT) @Param(description="the total number of public ip addresses this project can acquire", since="4.2.0")
+    @SerializedName(ApiConstants.IP_LIMIT)
+    @Param(description = "the total number of public ip addresses this project can acquire", since = "4.2.0")
     private String ipLimit;
 
-    @SerializedName(ApiConstants.IP_TOTAL) @Param(description="the total number of public ip addresses allocated for this project", since="4.2.0")
+    @SerializedName(ApiConstants.IP_TOTAL)
+    @Param(description = "the total number of public ip addresses allocated for this project", since = "4.2.0")
     private Long ipTotal;
 
-    @SerializedName(ApiConstants.IP_AVAILABLE) @Param(description="the total number of public ip addresses available for this project to acquire", since="4.2.0")
+    @SerializedName(ApiConstants.IP_AVAILABLE)
+    @Param(description = "the total number of public ip addresses available for this project to acquire", since = "4.2.0")
     private String ipAvailable;
 
-    @SerializedName("volumelimit") @Param(description="the total volume which can be used by this project", since="4.2.0")
+    @SerializedName("volumelimit")
+    @Param(description = "the total volume which can be used by this project", since = "4.2.0")
     private String volumeLimit;
 
-    @SerializedName("volumetotal") @Param(description="the total volume being used by this project", since="4.2.0")
+    @SerializedName("volumetotal")
+    @Param(description = "the total volume being used by this project", since = "4.2.0")
     private Long volumeTotal;
 
-    @SerializedName("volumeavailable") @Param(description="the total volume available for this project", since="4.2.0")
+    @SerializedName("volumeavailable")
+    @Param(description = "the total volume available for this project", since = "4.2.0")
     private String volumeAvailable;
 
-    @SerializedName("snapshotlimit") @Param(description="the total number of snapshots which can be stored by this project", since="4.2.0")
+    @SerializedName("snapshotlimit")
+    @Param(description = "the total number of snapshots which can be stored by this project", since = "4.2.0")
     private String snapshotLimit;
 
-    @SerializedName("snapshottotal") @Param(description="the total number of snapshots stored by this project", since="4.2.0")
+    @SerializedName("snapshottotal")
+    @Param(description = "the total number of snapshots stored by this project", since = "4.2.0")
     private Long snapshotTotal;
 
-    @SerializedName("snapshotavailable") @Param(description="the total number of snapshots available for this project", since="4.2.0")
+    @SerializedName("snapshotavailable")
+    @Param(description = "the total number of snapshots available for this project", since = "4.2.0")
     private String snapshotAvailable;
 
-    @SerializedName("templatelimit") @Param(description="the total number of templates which can be created by this project", since="4.2.0")
+    @SerializedName("templatelimit")
+    @Param(description = "the total number of templates which can be created by this project", since = "4.2.0")
     private String templateLimit;
 
-    @SerializedName("templatetotal") @Param(description="the total number of templates which have been created by this project", since="4.2.0")
+    @SerializedName("templatetotal")
+    @Param(description = "the total number of templates which have been created by this project", since = "4.2.0")
     private Long templateTotal;
 
-    @SerializedName("templateavailable") @Param(description="the total number of templates available to be created by this project", since="4.2.0")
+    @SerializedName("templateavailable")
+    @Param(description = "the total number of templates available to be created by this project", since = "4.2.0")
     private String templateAvailable;
 
-    @SerializedName("vmstopped") @Param(description="the total number of virtual machines stopped for this project", since="4.2.0")
+    @SerializedName("vmstopped")
+    @Param(description = "the total number of virtual machines stopped for this project", since = "4.2.0")
     private Integer vmStopped;
 
-    @SerializedName("vmrunning") @Param(description="the total number of virtual machines running for this project", since="4.2.0")
+    @SerializedName("vmrunning")
+    @Param(description = "the total number of virtual machines running for this project", since = "4.2.0")
     private Integer vmRunning;
 
-
     public void setId(String id) {
         this.id = id;
     }
@@ -194,10 +236,10 @@ public class ProjectResponse extends BaseResponse implements ResourceLimitAndCou
         this.tags = tags;
     }
 
-    public void addTag(ResourceTagResponse tag){
+    public void addTag(ResourceTagResponse tag) {
         tags.add(tag);
     }
-    
+
     @Override
     public void setVmLimit(String vmLimit) {
         this.vmLimit = vmLimit;
@@ -282,7 +324,7 @@ public class ProjectResponse extends BaseResponse implements ResourceLimitAndCou
     public void setVmRunning(Integer vmRunning) {
         this.vmRunning = vmRunning;
     }
-    
+
     @Override
     public void setNetworkLimit(String networkLimit) {
         this.networkLimit = networkLimit;
@@ -292,7 +334,7 @@ public class ProjectResponse extends BaseResponse implements ResourceLimitAndCou
     public void setNetworkTotal(Long networkTotal) {
         this.networkTotal = networkTotal;
     }
-    
+
     @Override
     public void setNetworkAvailable(String networkAvailable) {
         this.networkAvailable = networkAvailable;
@@ -307,7 +349,7 @@ public class ProjectResponse extends BaseResponse implements ResourceLimitAndCou
     public void setVpcTotal(Long vpcTotal) {
         this.vpcTotal = vpcTotal;
     }
-    
+
     @Override
     public void setVpcAvailable(String vpcAvailable) {
         this.vpcAvailable = vpcAvailable;
@@ -317,60 +359,60 @@ public class ProjectResponse extends BaseResponse implements ResourceLimitAndCou
     public void setCpuLimit(String cpuLimit) {
         this.cpuLimit = cpuLimit;
     }
-    
+
     @Override
     public void setCpuTotal(Long cpuTotal) {
         this.cpuTotal = cpuTotal;
     }
-    
+
     @Override
     public void setCpuAvailable(String cpuAvailable) {
         this.cpuAvailable = cpuAvailable;
     }
-    
+
     @Override
     public void setMemoryLimit(String memoryLimit) {
         this.memoryLimit = memoryLimit;
     }
-    
+
     @Override
     public void setMemoryTotal(Long memoryTotal) {
         this.memoryTotal = memoryTotal;
     }
-    
+
     @Override
     public void setMemoryAvailable(String memoryAvailable) {
         this.memoryAvailable = memoryAvailable;
     }
-    
+
     @Override
     public void setPrimaryStorageLimit(String primaryStorageLimit) {
         this.primaryStorageLimit = primaryStorageLimit;
     }
-    
+
     @Override
     public void setPrimaryStorageTotal(Long primaryStorageTotal) {
         this.primaryStorageTotal = primaryStorageTotal;
     }
-    
+
     @Override
     public void setPrimaryStorageAvailable(String primaryStorageAvailable) {
         this.primaryStorageAvailable = primaryStorageAvailable;
     }
-    
+
     @Override
     public void setSecondaryStorageLimit(String secondaryStorageLimit) {
         this.secondaryStorageLimit = secondaryStorageLimit;
     }
-    
+
     @Override
     public void setSecondaryStorageTotal(Long secondaryStorageTotal) {
         this.secondaryStorageTotal = secondaryStorageTotal;
     }
-    
+
     @Override
     public void setSecondaryStorageAvailable(String secondaryStorageAvailable) {
         this.secondaryStorageAvailable = secondaryStorageAvailable;
     }
-    
+
 }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ProviderResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ProviderResponse.java b/api/src/org/apache/cloudstack/api/response/ProviderResponse.java
index fd09949..4d41083 100644
--- a/api/src/org/apache/cloudstack/api/response/ProviderResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ProviderResponse.java
@@ -26,29 +26,36 @@ import com.cloud.network.PhysicalNetworkServiceProvider;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=PhysicalNetworkServiceProvider.class)
+@EntityReference(value = PhysicalNetworkServiceProvider.class)
 @SuppressWarnings("unused")
 public class ProviderResponse extends BaseResponse {
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the provider name")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the provider name")
     private String name;
 
-    @SerializedName(ApiConstants.PHYSICAL_NETWORK_ID) @Param(description="the physical network this belongs to")
+    @SerializedName(ApiConstants.PHYSICAL_NETWORK_ID)
+    @Param(description = "the physical network this belongs to")
     private String physicalNetworkId;
 
-    @SerializedName(ApiConstants.DEST_PHYSICAL_NETWORK_ID) @Param(description="the destination physical network")
+    @SerializedName(ApiConstants.DEST_PHYSICAL_NETWORK_ID)
+    @Param(description = "the destination physical network")
     private String destinationPhysicalNetworkId;
 
-    @SerializedName(ApiConstants.STATE) @Param(description="state of the network provider")
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "state of the network provider")
     private String state;
 
-    @SerializedName(ApiConstants.ID) @Param(description="uuid of the network provider")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "uuid of the network provider")
     private String id;
 
-    @SerializedName(ApiConstants.SERVICE_LIST) @Param(description="services for this provider")
+    @SerializedName(ApiConstants.SERVICE_LIST)
+    @Param(description = "services for this provider")
     private List<String> services;
 
-    @SerializedName(ApiConstants.CAN_ENABLE_INDIVIDUAL_SERVICE) @Param(description="true if individual services can be enabled/disabled")
+    @SerializedName(ApiConstants.CAN_ENABLE_INDIVIDUAL_SERVICE)
+    @Param(description = "true if individual services can be enabled/disabled")
     private Boolean canEnableIndividualServices;
 
     public void setName(String name) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/RegionResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/RegionResponse.java b/api/src/org/apache/cloudstack/api/response/RegionResponse.java
index acaa272..aa2f34d 100644
--- a/api/src/org/apache/cloudstack/api/response/RegionResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/RegionResponse.java
@@ -26,44 +26,49 @@ import com.google.gson.annotations.SerializedName;
 
 @EntityReference(value = Region.class)
 public class RegionResponse extends BaseResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="the ID of the region")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the ID of the region")
     private Integer id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the name of the region")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the name of the region")
     private String name;
 
-    @SerializedName(ApiConstants.END_POINT) @Param(description="the end point of the region")
+    @SerializedName(ApiConstants.END_POINT)
+    @Param(description = "the end point of the region")
     private String endPoint;
 
-    @SerializedName("gslbserviceenabled") @Param(description="true if GSLB service is enabled in the region, false otherwise")
+    @SerializedName("gslbserviceenabled")
+    @Param(description = "true if GSLB service is enabled in the region, false otherwise")
     private boolean gslbServiceEnabled;
 
-    @SerializedName("portableipserviceenabled") @Param(description="true if security groups support is enabled, false otherwise")
+    @SerializedName("portableipserviceenabled")
+    @Param(description = "true if security groups support is enabled, false otherwise")
     private boolean portableipServiceEnabled;
 
-	public Integer getId() {
-		return id;
-	}
+    public Integer getId() {
+        return id;
+    }
 
-	public void setId(Integer id) {
-		this.id = id;
-	}
+    public void setId(Integer id) {
+        this.id = id;
+    }
 
-	public String getName() {
-		return name;
-	}
+    public String getName() {
+        return name;
+    }
 
-	public void setName(String name) {
-		this.name = name;
-	}
+    public void setName(String name) {
+        this.name = name;
+    }
 
-	public String getEndPoint() {
-		return endPoint;
-	}
+    public String getEndPoint() {
+        return endPoint;
+    }
 
-	public void setEndPoint(String endPoint) {
-		this.endPoint = endPoint;
-	}
+    public void setEndPoint(String endPoint) {
+        this.endPoint = endPoint;
+    }
 
     public void setGslbServiceEnabled(boolean gslbServiceEnabled) {
         this.gslbServiceEnabled = gslbServiceEnabled;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/RegisterResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/RegisterResponse.java b/api/src/org/apache/cloudstack/api/response/RegisterResponse.java
index c2bd2b5..271357d5 100644
--- a/api/src/org/apache/cloudstack/api/response/RegisterResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/RegisterResponse.java
@@ -22,10 +22,12 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
 public class RegisterResponse extends BaseResponse {
-    @SerializedName("apikey") @Param(description="the api key of the registered user")
+    @SerializedName("apikey")
+    @Param(description = "the api key of the registered user")
     private String apiKey;
 
-    @SerializedName("secretkey") @Param(description="the secret key of the registered user")
+    @SerializedName("secretkey")
+    @Param(description = "the secret key of the registered user")
     private String secretKey;
 
     public String getApiKey() {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/RemoteAccessVpnResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/RemoteAccessVpnResponse.java b/api/src/org/apache/cloudstack/api/response/RemoteAccessVpnResponse.java
index 5e08bca..d548702 100644
--- a/api/src/org/apache/cloudstack/api/response/RemoteAccessVpnResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/RemoteAccessVpnResponse.java
@@ -24,41 +24,52 @@ import com.cloud.network.RemoteAccessVpn;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=RemoteAccessVpn.class)
+@EntityReference(value = RemoteAccessVpn.class)
 @SuppressWarnings("unused")
-public class RemoteAccessVpnResponse extends BaseResponse implements ControlledEntityResponse{
+public class RemoteAccessVpnResponse extends BaseResponse implements ControlledEntityResponse {
 
-    @SerializedName(ApiConstants.PUBLIC_IP_ID) @Param(description="the public ip address of the vpn server")
+    @SerializedName(ApiConstants.PUBLIC_IP_ID)
+    @Param(description = "the public ip address of the vpn server")
     private String publicIpId;
 
-    @SerializedName(ApiConstants.PUBLIC_IP) @Param(description="the public ip address of the vpn server")
+    @SerializedName(ApiConstants.PUBLIC_IP)
+    @Param(description = "the public ip address of the vpn server")
     private String publicIp;
 
-    @SerializedName("iprange") @Param(description="the range of ips to allocate to the clients")
+    @SerializedName("iprange")
+    @Param(description = "the range of ips to allocate to the clients")
     private String ipRange;
 
-    @SerializedName("presharedkey") @Param(description="the ipsec preshared key")
+    @SerializedName("presharedkey")
+    @Param(description = "the ipsec preshared key")
     private String presharedKey;
 
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="the account of the remote access vpn")
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "the account of the remote access vpn")
     private String accountName;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id of the vpn")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id of the vpn")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name of the vpn")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name of the vpn")
     private String projectName;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain id of the account of the remote access vpn")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain id of the account of the remote access vpn")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="the domain name of the account of the remote access vpn")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "the domain name of the account of the remote access vpn")
     private String domainName;
 
-    @SerializedName(ApiConstants.STATE) @Param(description="the state of the rule")
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "the state of the rule")
     private String state;
-    
-    @SerializedName(ApiConstants.ID) @Param(description="the id of the remote access vpn")
+
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the id of the remote access vpn")
     private String id;
 
     public void setPublicIp(String publicIp) {
@@ -103,7 +114,7 @@ public class RemoteAccessVpnResponse extends BaseResponse implements ControlledE
     public void setProjectName(String projectName) {
         this.projectName = projectName;
     }
-    
+
     public void setId(String id) {
         this.id = id;
     }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ResourceCountResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ResourceCountResponse.java b/api/src/org/apache/cloudstack/api/response/ResourceCountResponse.java
index 842eaa6..aff3770 100644
--- a/api/src/org/apache/cloudstack/api/response/ResourceCountResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ResourceCountResponse.java
@@ -23,27 +23,33 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
 @SuppressWarnings("unused")
-public class ResourceCountResponse extends BaseResponse implements ControlledEntityResponse{
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="the account for which resource count's are updated")
+public class ResourceCountResponse extends BaseResponse implements ControlledEntityResponse {
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "the account for which resource count's are updated")
     private String accountName;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id for which resource count's are updated")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id for which resource count's are updated")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name for which resource count's are updated")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name for which resource count's are updated")
     private String projectName;
 
-
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain ID for which resource count's are updated")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain ID for which resource count's are updated")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="the domain name for which resource count's are updated")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "the domain name for which resource count's are updated")
     private String domainName;
 
-    @SerializedName(ApiConstants.RESOURCE_TYPE) @Param(description="resource type. Values include 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11. See the resourceType parameter for more information on these values.")
+    @SerializedName(ApiConstants.RESOURCE_TYPE)
+    @Param(description = "resource type. Values include 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11. See the resourceType parameter for more information on these values.")
     private String resourceType;
 
-    @SerializedName("resourcecount") @Param(description="resource count")
+    @SerializedName("resourcecount")
+    @Param(description = "resource count")
     private long resourceCount;
 
     @Override

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ResourceDetailResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ResourceDetailResponse.java b/api/src/org/apache/cloudstack/api/response/ResourceDetailResponse.java
index 989a126..1eb88a7 100644
--- a/api/src/org/apache/cloudstack/api/response/ResourceDetailResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ResourceDetailResponse.java
@@ -23,7 +23,7 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
 @SuppressWarnings("unused")
-public class ResourceDetailResponse extends BaseResponse{
+public class ResourceDetailResponse extends BaseResponse {
     @SerializedName(ApiConstants.RESOURCE_ID)
     @Param(description = "ID of the resource")
     private String resourceId;
@@ -36,16 +36,14 @@ public class ResourceDetailResponse extends BaseResponse{
     @Param(description = "key of the resource detail")
     private String name;
 
-
     @SerializedName(ApiConstants.VALUE)
     @Param(description = "value of the resource detail")
     private String value;
 
-    
     @SerializedName(ApiConstants.FOR_DISPLAY)
-    @Param(description = "if detail is returned to the regular user", since="4.3")
+    @Param(description = "if detail is returned to the regular user", since = "4.3")
     private boolean forDisplay;
-    
+
     public String getResourceId() {
         return resourceId;
     }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ResourceLimitAndCountResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ResourceLimitAndCountResponse.java b/api/src/org/apache/cloudstack/api/response/ResourceLimitAndCountResponse.java
index 49bb4e0..ba97c2c 100644
--- a/api/src/org/apache/cloudstack/api/response/ResourceLimitAndCountResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ResourceLimitAndCountResponse.java
@@ -15,14 +15,13 @@
 // specific language governing permissions and limitations
 // under the License.
 
-
 /**This interface is implemented by AccountResponse and ProjectResponse as both of them
 have limits and resource count **/
 
 package org.apache.cloudstack.api.response;
 
 public interface ResourceLimitAndCountResponse {
-    
+
     public void setNetworkLimit(String networkLimit);
 
     public void setNetworkTotal(Long networkTotal);
@@ -51,14 +50,14 @@ public interface ResourceLimitAndCountResponse {
 
     public void setPrimaryStorageTotal(Long primaryStorageTotal);
 
-    public void setPrimaryStorageAvailable(String primaryStorageAvailable) ;
+    public void setPrimaryStorageAvailable(String primaryStorageAvailable);
 
     public void setSecondaryStorageLimit(String secondaryStorageLimit);
-    
+
     public void setSecondaryStorageTotal(Long secondaryStorageTotal);
 
     public void setSecondaryStorageAvailable(String secondaryStorageAvailable);
-    
+
     public void setVmLimit(String vmLimit);
 
     public void setVmTotal(Long vmTotal);

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ResourceLimitResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ResourceLimitResponse.java b/api/src/org/apache/cloudstack/api/response/ResourceLimitResponse.java
index e7735f5..b62ccc2 100644
--- a/api/src/org/apache/cloudstack/api/response/ResourceLimitResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ResourceLimitResponse.java
@@ -27,25 +27,32 @@ import com.google.gson.annotations.SerializedName;
 @EntityReference(value = ResourceLimit.class)
 @SuppressWarnings("unused")
 public class ResourceLimitResponse extends BaseResponse implements ControlledEntityResponse {
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="the account of the resource limit")
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "the account of the resource limit")
     private String accountName;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain ID of the resource limit")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain ID of the resource limit")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="the domain name of the resource limit")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "the domain name of the resource limit")
     private String domainName;
 
-    @SerializedName(ApiConstants.RESOURCE_TYPE) @Param(description="resource type. Values include 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11. See the resourceType parameter for more information on these values.")
+    @SerializedName(ApiConstants.RESOURCE_TYPE)
+    @Param(description = "resource type. Values include 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11. See the resourceType parameter for more information on these values.")
     private String resourceType;
 
-    @SerializedName("max") @Param(description="the maximum number of the resource. A -1 means the resource currently has no limit.")
+    @SerializedName("max")
+    @Param(description = "the maximum number of the resource. A -1 means the resource currently has no limit.")
     private Long max;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id of the resource limit")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id of the resource limit")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name of the resource limit")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name of the resource limit")
     private String projectName;
 
     @Override

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ResourceTagResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ResourceTagResponse.java b/api/src/org/apache/cloudstack/api/response/ResourceTagResponse.java
index 47b0625..4b05d29 100644
--- a/api/src/org/apache/cloudstack/api/response/ResourceTagResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ResourceTagResponse.java
@@ -23,27 +23,33 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
 @SuppressWarnings("unused")
-public class ResourceTagResponse extends BaseResponse implements ControlledViewEntityResponse{
-    @SerializedName(ApiConstants.KEY) @Param(description="tag key name")
+public class ResourceTagResponse extends BaseResponse implements ControlledViewEntityResponse {
+    @SerializedName(ApiConstants.KEY)
+    @Param(description = "tag key name")
     private String key;
 
-    @SerializedName(ApiConstants.VALUE) @Param(description="tag value")
+    @SerializedName(ApiConstants.VALUE)
+    @Param(description = "tag value")
     private String value;
 
-    @SerializedName(ApiConstants.RESOURCE_TYPE) @Param(description="resource type")
+    @SerializedName(ApiConstants.RESOURCE_TYPE)
+    @Param(description = "resource type")
     private String resourceType;
 
-    @SerializedName(ApiConstants.RESOURCE_ID) @Param(description="id of the resource")
+    @SerializedName(ApiConstants.RESOURCE_ID)
+    @Param(description = "id of the resource")
     private String resourceId;
 
     @SerializedName(ApiConstants.ACCOUNT)
     @Param(description = "the account associated with the tag")
     private String accountName;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id the tag belongs to")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id the tag belongs to")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name where tag belongs to")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name where tag belongs to")
     private String projectName;
 
     @SerializedName(ApiConstants.DOMAIN_ID)
@@ -54,7 +60,8 @@ public class ResourceTagResponse extends BaseResponse implements ControlledViewE
     @Param(description = "the domain associated with the tag")
     private String domainName;
 
-    @SerializedName(ApiConstants.CUSTOMER) @Param(description="customer associated with the tag")
+    @SerializedName(ApiConstants.CUSTOMER)
+    @Param(description = "customer associated with the tag")
     private String customer;
 
     public void setKey(String key) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/SSHKeyPairResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/SSHKeyPairResponse.java b/api/src/org/apache/cloudstack/api/response/SSHKeyPairResponse.java
index e102bab..2509a40 100644
--- a/api/src/org/apache/cloudstack/api/response/SSHKeyPairResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/SSHKeyPairResponse.java
@@ -24,13 +24,16 @@ import com.google.gson.annotations.SerializedName;
 
 public class SSHKeyPairResponse extends BaseResponse {
 
-    @SerializedName(ApiConstants.NAME) @Param(description="Name of the keypair")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "Name of the keypair")
     private String name;
 
-    @SerializedName("fingerprint") @Param(description="Fingerprint of the public key")
+    @SerializedName("fingerprint")
+    @Param(description = "Fingerprint of the public key")
     private String fingerprint;
 
-    public SSHKeyPairResponse() {}
+    public SSHKeyPairResponse() {
+    }
 
     public SSHKeyPairResponse(String name, String fingerprint) {
         this.name = name;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/SecurityGroupResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/SecurityGroupResponse.java b/api/src/org/apache/cloudstack/api/response/SecurityGroupResponse.java
index 96a8bc2..0eea191 100644
--- a/api/src/org/apache/cloudstack/api/response/SecurityGroupResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/SecurityGroupResponse.java
@@ -30,65 +30,71 @@ import com.google.gson.annotations.SerializedName;
 
 @SuppressWarnings("unused")
 @EntityReference(value = SecurityGroup.class)
-public class SecurityGroupResponse extends BaseResponse implements ControlledViewEntityResponse{
+public class SecurityGroupResponse extends BaseResponse implements ControlledViewEntityResponse {
 
-    @SerializedName(ApiConstants.ID) @Param(description="the ID of the security group")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the ID of the security group")
     private String id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the name of the security group")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the name of the security group")
     private String name;
 
-    @SerializedName(ApiConstants.DESCRIPTION) @Param(description="the description of the security group")
+    @SerializedName(ApiConstants.DESCRIPTION)
+    @Param(description = "the description of the security group")
     private String description;
 
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="the account owning the security group")
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "the account owning the security group")
     private String accountName;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id of the group")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id of the group")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name of the group")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name of the group")
     private String projectName;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain ID of the security group")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain ID of the security group")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="the domain name of the security group")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "the domain name of the security group")
     private String domainName;
 
-    @SerializedName("ingressrule")  @Param(description="the list of ingress rules associated with the security group", responseObject = SecurityGroupRuleResponse.class)
+    @SerializedName("ingressrule")
+    @Param(description = "the list of ingress rules associated with the security group", responseObject = SecurityGroupRuleResponse.class)
     private Set<SecurityGroupRuleResponse> ingressRules;
 
-    @SerializedName("egressrule")  @Param(description="the list of egress rules associated with the security group", responseObject = SecurityGroupRuleResponse.class)
+    @SerializedName("egressrule")
+    @Param(description = "the list of egress rules associated with the security group", responseObject = SecurityGroupRuleResponse.class)
     private Set<SecurityGroupRuleResponse> egressRules;
 
-    @SerializedName(ApiConstants.TAGS)  @Param(description="the list of resource tags associated with the rule", responseObject = ResourceTagResponse.class)
+    @SerializedName(ApiConstants.TAGS)
+    @Param(description = "the list of resource tags associated with the rule", responseObject = ResourceTagResponse.class)
     private Set<ResourceTagResponse> tags;
 
-    public SecurityGroupResponse(){
+    public SecurityGroupResponse() {
         this.ingressRules = new LinkedHashSet<SecurityGroupRuleResponse>();
         this.egressRules = new LinkedHashSet<SecurityGroupRuleResponse>();
         this.tags = new LinkedHashSet<ResourceTagResponse>();
     }
 
-
-
     @Override
     public String getObjectId() {
         return this.getId();
     }
 
-
-
     public String getId() {
         return id;
-     }
+    }
 
     public void setId(String id) {
         this.id = id;
     }
 
-
     public void setName(String name) {
         this.name = name;
     }
@@ -114,7 +120,7 @@ public class SecurityGroupResponse extends BaseResponse implements ControlledVie
         this.ingressRules = securityGroupRules;
     }
 
-    public void addSecurityGroupIngressRule(SecurityGroupRuleResponse rule){
+    public void addSecurityGroupIngressRule(SecurityGroupRuleResponse rule) {
         this.ingressRules.add(rule);
     }
 
@@ -122,7 +128,7 @@ public class SecurityGroupResponse extends BaseResponse implements ControlledVie
         this.egressRules = securityGroupRules;
     }
 
-    public void addSecurityGroupEgressRule(SecurityGroupRuleResponse rule){
+    public void addSecurityGroupEgressRule(SecurityGroupRuleResponse rule) {
         this.egressRules.add(rule);
     }
 
@@ -142,7 +148,7 @@ public class SecurityGroupResponse extends BaseResponse implements ControlledVie
             return false;
         if (getClass() != obj.getClass())
             return false;
-        SecurityGroupResponse other = (SecurityGroupResponse) obj;
+        SecurityGroupResponse other = (SecurityGroupResponse)obj;
         if (id == null) {
             if (other.id != null)
                 return false;
@@ -165,7 +171,7 @@ public class SecurityGroupResponse extends BaseResponse implements ControlledVie
         this.tags = tags;
     }
 
-    public void addTag(ResourceTagResponse tag){
+    public void addTag(ResourceTagResponse tag) {
         this.tags.add(tag);
     }
 }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/SecurityGroupRuleResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/SecurityGroupRuleResponse.java b/api/src/org/apache/cloudstack/api/response/SecurityGroupRuleResponse.java
index 798b123..1670cfc 100644
--- a/api/src/org/apache/cloudstack/api/response/SecurityGroupRuleResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/SecurityGroupRuleResponse.java
@@ -26,31 +26,40 @@ import com.google.gson.annotations.SerializedName;
 
 @EntityReference(value = SecurityRule.class)
 public class SecurityGroupRuleResponse extends BaseResponse {
-    @SerializedName("ruleid") @Param(description="the id of the security group rule")
+    @SerializedName("ruleid")
+    @Param(description = "the id of the security group rule")
     private String ruleId;
 
-    @SerializedName("protocol") @Param(description="the protocol of the security group rule")
+    @SerializedName("protocol")
+    @Param(description = "the protocol of the security group rule")
     private String protocol;
 
-    @SerializedName(ApiConstants.ICMP_TYPE) @Param(description="the type of the ICMP message response")
+    @SerializedName(ApiConstants.ICMP_TYPE)
+    @Param(description = "the type of the ICMP message response")
     private Integer icmpType;
 
-    @SerializedName(ApiConstants.ICMP_CODE) @Param(description="the code for the ICMP message response")
+    @SerializedName(ApiConstants.ICMP_CODE)
+    @Param(description = "the code for the ICMP message response")
     private Integer icmpCode;
 
-    @SerializedName(ApiConstants.START_PORT) @Param(description="the starting IP of the security group rule")
+    @SerializedName(ApiConstants.START_PORT)
+    @Param(description = "the starting IP of the security group rule")
     private Integer startPort;
 
-    @SerializedName(ApiConstants.END_PORT) @Param(description="the ending IP of the security group rule ")
+    @SerializedName(ApiConstants.END_PORT)
+    @Param(description = "the ending IP of the security group rule ")
     private Integer endPort;
 
-    @SerializedName(ApiConstants.SECURITY_GROUP_NAME) @Param(description="security group name")
+    @SerializedName(ApiConstants.SECURITY_GROUP_NAME)
+    @Param(description = "security group name")
     private String securityGroupName;
 
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="account owning the security group rule")
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "account owning the security group rule")
     private String accountName;
 
-    @SerializedName(ApiConstants.CIDR) @Param(description="the CIDR notation for the base IP address of the security group rule")
+    @SerializedName(ApiConstants.CIDR)
+    @Param(description = "the CIDR notation for the base IP address of the security group rule")
     private String cidr;
 
     public String getRuleId() {
@@ -130,7 +139,7 @@ public class SecurityGroupRuleResponse extends BaseResponse {
         final int prime = 31;
         int result = 1;
         String oid = this.getRuleId();
-        result = prime * result + ((oid== null) ? 0 : oid.hashCode());
+        result = prime * result + ((oid == null) ? 0 : oid.hashCode());
         return result;
     }
 
@@ -142,7 +151,7 @@ public class SecurityGroupRuleResponse extends BaseResponse {
             return false;
         if (getClass() != obj.getClass())
             return false;
-        SecurityGroupRuleResponse other = (SecurityGroupRuleResponse) obj;
+        SecurityGroupRuleResponse other = (SecurityGroupRuleResponse)obj;
         String oid = this.getRuleId();
         if (oid == null) {
             if (other.getRuleId() != null)

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java b/api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java
index e305ee9..90732bc 100644
--- a/api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java
@@ -29,84 +29,107 @@ import com.google.gson.annotations.SerializedName;
 
 @EntityReference(value = ServiceOffering.class)
 public class ServiceOfferingResponse extends BaseResponse {
-    @SerializedName("id") @Param(description="the id of the service offering")
+    @SerializedName("id")
+    @Param(description = "the id of the service offering")
     private String id;
 
-    @SerializedName("name") @Param(description="the name of the service offering")
+    @SerializedName("name")
+    @Param(description = "the name of the service offering")
     private String name;
 
-    @SerializedName("displaytext") @Param(description="an alternate display text of the service offering.")
+    @SerializedName("displaytext")
+    @Param(description = "an alternate display text of the service offering.")
     private String displayText;
 
-    @SerializedName("cpunumber") @Param(description="the number of CPU")
+    @SerializedName("cpunumber")
+    @Param(description = "the number of CPU")
     private int cpuNumber;
 
-    @SerializedName("cpuspeed") @Param(description="the clock rate CPU speed in Mhz")
+    @SerializedName("cpuspeed")
+    @Param(description = "the clock rate CPU speed in Mhz")
     private int cpuSpeed;
 
-    @SerializedName("memory") @Param(description="the memory in MB")
+    @SerializedName("memory")
+    @Param(description = "the memory in MB")
     private int memory;
 
-    @SerializedName("created") @Param(description="the date this service offering was created")
+    @SerializedName("created")
+    @Param(description = "the date this service offering was created")
     private Date created;
 
-    @SerializedName("storagetype") @Param(description="the storage type for this service offering")
+    @SerializedName("storagetype")
+    @Param(description = "the storage type for this service offering")
     private String storageType;
 
-    @SerializedName("offerha") @Param(description="the ha support in the service offering")
+    @SerializedName("offerha")
+    @Param(description = "the ha support in the service offering")
     private Boolean offerHa;
 
-    @SerializedName("limitcpuuse") @Param(description="restrict the CPU usage to committed service offering")
+    @SerializedName("limitcpuuse")
+    @Param(description = "restrict the CPU usage to committed service offering")
     private Boolean limitCpuUse;
 
-    @SerializedName("isvolatile") @Param(description="true if the vm needs to be volatile, i.e., on every reboot of vm from API root disk is discarded and creates a new root disk")
+    @SerializedName("isvolatile")
+    @Param(description = "true if the vm needs to be volatile, i.e., on every reboot of vm from API root disk is discarded and creates a new root disk")
     private Boolean isVolatile;
 
-    @SerializedName("tags") @Param(description="the tags for the service offering")
+    @SerializedName("tags")
+    @Param(description = "the tags for the service offering")
     private String tags;
 
-    @SerializedName("domainid") @Param(description="the domain id of the service offering")
+    @SerializedName("domainid")
+    @Param(description = "the domain id of the service offering")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="Domain name for the offering")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "Domain name for the offering")
     private String domain;
 
-    @SerializedName(ApiConstants.HOST_TAGS) @Param(description="the host tag for the service offering")
+    @SerializedName(ApiConstants.HOST_TAGS)
+    @Param(description = "the host tag for the service offering")
     private String hostTag;
 
-    @SerializedName(ApiConstants.IS_SYSTEM_OFFERING) @Param(description="is this a system vm offering")
+    @SerializedName(ApiConstants.IS_SYSTEM_OFFERING)
+    @Param(description = "is this a system vm offering")
     private Boolean isSystem;
 
-    @SerializedName(ApiConstants.IS_DEFAULT_USE) @Param(description="is this a  default system vm offering")
+    @SerializedName(ApiConstants.IS_DEFAULT_USE)
+    @Param(description = "is this a  default system vm offering")
     private Boolean defaultUse;
 
-    @SerializedName(ApiConstants.SYSTEM_VM_TYPE) @Param(description="is this a the systemvm type for system vm offering")
+    @SerializedName(ApiConstants.SYSTEM_VM_TYPE)
+    @Param(description = "is this a the systemvm type for system vm offering")
     private String vm_type;
 
-    @SerializedName(ApiConstants.NETWORKRATE) @Param(description="data transfer rate in megabits per second allowed.")
+    @SerializedName(ApiConstants.NETWORKRATE)
+    @Param(description = "data transfer rate in megabits per second allowed.")
     private Integer networkRate;
 
-    @SerializedName("diskBytesReadRate") @Param(description="bytes read rate of the service offering")
+    @SerializedName("diskBytesReadRate")
+    @Param(description = "bytes read rate of the service offering")
     private Long bytesReadRate;
 
-    @SerializedName("diskBytesWriteRate") @Param(description="bytes write rate of the service offering")
+    @SerializedName("diskBytesWriteRate")
+    @Param(description = "bytes write rate of the service offering")
     private Long bytesWriteRate;
 
-    @SerializedName("diskIopsReadRate") @Param(description="io requests read rate of the service offering")
+    @SerializedName("diskIopsReadRate")
+    @Param(description = "io requests read rate of the service offering")
     private Long iopsReadRate;
 
-    @SerializedName("diskIopsWriteRate") @Param(description="io requests write rate of the service offering")
+    @SerializedName("diskIopsWriteRate")
+    @Param(description = "io requests write rate of the service offering")
     private Long iopsWriteRate;
 
-    @SerializedName(ApiConstants.DEPLOYMENT_PLANNER) @Param(description="deployment strategy used to deploy VM.")
+    @SerializedName(ApiConstants.DEPLOYMENT_PLANNER)
+    @Param(description = "deployment strategy used to deploy VM.")
     private String deploymentPlanner;
 
     @SerializedName(ApiConstants.SERVICE_OFFERING_DETAILS)
     @Param(description = "additional key/value details tied with this service offering", since = "4.2.0")
     private Map<String, String> details;
-    
-    
-    public ServiceOfferingResponse(){
+
+    public ServiceOfferingResponse() {
     }
 
     public String getId() {
@@ -133,7 +156,6 @@ public class ServiceOfferingResponse extends BaseResponse {
         this.isSystem = isSystem;
     }
 
-
     public Boolean getDefaultUse() {
         return defaultUse;
     }
@@ -142,7 +164,6 @@ public class ServiceOfferingResponse extends BaseResponse {
         this.defaultUse = defaultUse;
     }
 
-
     public String getSystemVmType() {
         return vm_type;
     }
@@ -151,7 +172,6 @@ public class ServiceOfferingResponse extends BaseResponse {
         vm_type = vmtype;
     }
 
-
     public String getDisplayText() {
         return displayText;
     }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ServiceResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ServiceResponse.java b/api/src/org/apache/cloudstack/api/response/ServiceResponse.java
index c93c55e..99cbc1b 100644
--- a/api/src/org/apache/cloudstack/api/response/ServiceResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ServiceResponse.java
@@ -26,13 +26,16 @@ import java.util.List;
 @SuppressWarnings("unused")
 public class ServiceResponse extends BaseResponse {
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the service name")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the service name")
     private String name;
 
-    @SerializedName(ApiConstants.PROVIDER) @Param(description="the service provider name", responseObject = ProviderResponse.class)
+    @SerializedName(ApiConstants.PROVIDER)
+    @Param(description = "the service provider name", responseObject = ProviderResponse.class)
     private List<ProviderResponse> providers;
 
-    @SerializedName("capability") @Param(description="the list of capabilities", responseObject = CapabilityResponse.class)
+    @SerializedName("capability")
+    @Param(description = "the list of capabilities", responseObject = CapabilityResponse.class)
     private List<CapabilityResponse> capabilities;
 
     public void setName(String name) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/Site2SiteCustomerGatewayResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/Site2SiteCustomerGatewayResponse.java b/api/src/org/apache/cloudstack/api/response/Site2SiteCustomerGatewayResponse.java
index dbaa451..18eb64d 100644
--- a/api/src/org/apache/cloudstack/api/response/Site2SiteCustomerGatewayResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/Site2SiteCustomerGatewayResponse.java
@@ -26,58 +26,75 @@ import com.cloud.network.Site2SiteCustomerGateway;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=Site2SiteCustomerGateway.class)
+@EntityReference(value = Site2SiteCustomerGateway.class)
 @SuppressWarnings("unused")
 public class Site2SiteCustomerGatewayResponse extends BaseResponse implements ControlledEntityResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="the vpn gateway ID")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the vpn gateway ID")
     private String id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description="name of the customer gateway")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "name of the customer gateway")
     private String name;
 
-    @SerializedName(ApiConstants.GATEWAY) @Param(description="public ip address id of the customer gateway")
+    @SerializedName(ApiConstants.GATEWAY)
+    @Param(description = "public ip address id of the customer gateway")
     private String gatewayIp;
 
-    @SerializedName(ApiConstants.IP_ADDRESS) @Param(description="guest ip of the customer gateway")
+    @SerializedName(ApiConstants.IP_ADDRESS)
+    @Param(description = "guest ip of the customer gateway")
     private String guestIp;
 
-    @SerializedName(ApiConstants.CIDR_LIST) @Param(description="guest cidr list of the customer gateway")
+    @SerializedName(ApiConstants.CIDR_LIST)
+    @Param(description = "guest cidr list of the customer gateway")
     private String guestCidrList;
 
-    @SerializedName(ApiConstants.IPSEC_PSK) @Param(description="IPsec preshared-key of customer gateway")
+    @SerializedName(ApiConstants.IPSEC_PSK)
+    @Param(description = "IPsec preshared-key of customer gateway")
     private String ipsecPsk;
 
-    @SerializedName(ApiConstants.IKE_POLICY) @Param(description="IKE policy of customer gateway")
+    @SerializedName(ApiConstants.IKE_POLICY)
+    @Param(description = "IKE policy of customer gateway")
     private String ikePolicy;
 
-    @SerializedName(ApiConstants.ESP_POLICY) @Param(description="IPsec policy of customer gateway")
+    @SerializedName(ApiConstants.ESP_POLICY)
+    @Param(description = "IPsec policy of customer gateway")
     private String espPolicy;
 
-    @SerializedName(ApiConstants.IKE_LIFETIME) @Param(description="Lifetime of IKE SA of customer gateway")
+    @SerializedName(ApiConstants.IKE_LIFETIME)
+    @Param(description = "Lifetime of IKE SA of customer gateway")
     private Long ikeLifetime;
 
-    @SerializedName(ApiConstants.ESP_LIFETIME) @Param(description="Lifetime of ESP SA of customer gateway")
+    @SerializedName(ApiConstants.ESP_LIFETIME)
+    @Param(description = "Lifetime of ESP SA of customer gateway")
     private Long espLifetime;
 
-    @SerializedName(ApiConstants.DPD) @Param(description="if DPD is enabled for customer gateway")
+    @SerializedName(ApiConstants.DPD)
+    @Param(description = "if DPD is enabled for customer gateway")
     private Boolean dpd;
 
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="the owner")
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "the owner")
     private String accountName;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name")
     private String projectName;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain id of the owner")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain id of the owner")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="the domain name of the owner")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "the domain name of the owner")
     private String domain;
 
-    @SerializedName(ApiConstants.REMOVED) @Param(description="the date and time the host was removed")
+    @SerializedName(ApiConstants.REMOVED)
+    @Param(description = "the date and time the host was removed")
     private Date removed;
 
     public void setId(String id) {
@@ -121,7 +138,7 @@ public class Site2SiteCustomerGatewayResponse extends BaseResponse implements Co
     }
 
     public void setDpd(Boolean dpd) {
-        this.dpd= dpd;
+        this.dpd = dpd;
     }
 
     public void setRemoved(Date removed) {


Mime
View raw message