cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahu...@apache.org
Subject [27/51] [partial] Reformat all source code. Added checkstyle to check the source code
Date Wed, 20 Nov 2013 15:35:14 GMT
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/HostResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/HostResponse.java b/api/src/org/apache/cloudstack/api/response/HostResponse.java
index 7b6b534..87884e9 100644
--- a/api/src/org/apache/cloudstack/api/response/HostResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/HostResponse.java
@@ -28,141 +28,184 @@ import com.cloud.hypervisor.Hypervisor.HypervisorType;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=Host.class)
+@EntityReference(value = Host.class)
 public class HostResponse extends BaseResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="the ID of the host")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the ID of the host")
     private String id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the name of the host")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the name of the host")
     private String name;
 
-    @SerializedName(ApiConstants.STATE) @Param(description="the state of the host")
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "the state of the host")
     private Status state;
 
-    @SerializedName("disconnected") @Param(description="true if the host is disconnected. False otherwise.")
+    @SerializedName("disconnected")
+    @Param(description = "true if the host is disconnected. False otherwise.")
     private Date disconnectedOn;
 
-    @SerializedName(ApiConstants.TYPE) @Param(description="the host type")
+    @SerializedName(ApiConstants.TYPE)
+    @Param(description = "the host type")
     private Host.Type hostType;
 
-    @SerializedName("oscategoryid") @Param(description="the OS category ID of the host")
+    @SerializedName("oscategoryid")
+    @Param(description = "the OS category ID of the host")
     private String osCategoryId;
 
-    @SerializedName("oscategoryname") @Param(description="the OS category name of the host")
+    @SerializedName("oscategoryname")
+    @Param(description = "the OS category name of the host")
     private String osCategoryName;
 
-    @SerializedName(ApiConstants.IP_ADDRESS) @Param(description="the IP address of the host")
+    @SerializedName(ApiConstants.IP_ADDRESS)
+    @Param(description = "the IP address of the host")
     private String ipAddress;
 
-    @SerializedName(ApiConstants.ZONE_ID) @Param(description="the Zone ID of the host")
+    @SerializedName(ApiConstants.ZONE_ID)
+    @Param(description = "the Zone ID of the host")
     private String zoneId;
 
-    @SerializedName(ApiConstants.ZONE_NAME) @Param(description="the Zone name of the host")
+    @SerializedName(ApiConstants.ZONE_NAME)
+    @Param(description = "the Zone name of the host")
     private String zoneName;
 
-    @SerializedName(ApiConstants.POD_ID) @Param(description="the Pod ID of the host")
+    @SerializedName(ApiConstants.POD_ID)
+    @Param(description = "the Pod ID of the host")
     private String podId;
 
-    @SerializedName("podname") @Param(description="the Pod name of the host")
+    @SerializedName("podname")
+    @Param(description = "the Pod name of the host")
     private String podName;
 
-    @SerializedName("version") @Param(description="the host version")
+    @SerializedName("version")
+    @Param(description = "the host version")
     private String version;
 
-    @SerializedName(ApiConstants.HYPERVISOR) @Param(description="the host hypervisor")
+    @SerializedName(ApiConstants.HYPERVISOR)
+    @Param(description = "the host hypervisor")
     private HypervisorType hypervisor;
 
-    @SerializedName("cpusockets") @Param(description="the number of CPU sockets on the host")
+    @SerializedName("cpusockets")
+    @Param(description = "the number of CPU sockets on the host")
     private Integer cpuSockets;
 
-    @SerializedName("cpunumber") @Param(description="the CPU number of the host")
+    @SerializedName("cpunumber")
+    @Param(description = "the CPU number of the host")
     private Integer cpuNumber;
 
-    @SerializedName("cpuspeed") @Param(description="the CPU speed of the host")
+    @SerializedName("cpuspeed")
+    @Param(description = "the CPU speed of the host")
     private Long cpuSpeed;
 
-    @SerializedName("cpuallocated") @Param(description="the amount of the host's CPU currently allocated")
+    @SerializedName("cpuallocated")
+    @Param(description = "the amount of the host's CPU currently allocated")
     private String cpuAllocated;
 
-    @SerializedName("cpuused") @Param(description="the amount of the host's CPU currently used")
+    @SerializedName("cpuused")
+    @Param(description = "the amount of the host's CPU currently used")
     private String cpuUsed;
 
-    @SerializedName("cpuwithoverprovisioning") @Param(description="the amount of the host's CPU after applying the cpu.overprovisioning.factor ")
+    @SerializedName("cpuwithoverprovisioning")
+    @Param(description = "the amount of the host's CPU after applying the cpu.overprovisioning.factor ")
     private String cpuWithOverprovisioning;
 
-    @SerializedName("averageload") @Param(description="the cpu average load on the host")
+    @SerializedName("averageload")
+    @Param(description = "the cpu average load on the host")
     private Long averageLoad;
 
-    @SerializedName("networkkbsread") @Param(description="the incoming network traffic on the host")
+    @SerializedName("networkkbsread")
+    @Param(description = "the incoming network traffic on the host")
     private Long networkKbsRead;
 
-    @SerializedName("networkkbswrite") @Param(description="the outgoing network traffic on the host")
+    @SerializedName("networkkbswrite")
+    @Param(description = "the outgoing network traffic on the host")
     private Long networkKbsWrite;
 
-    @SerializedName("memorytotal") @Param(description="the memory total of the host")
+    @SerializedName("memorytotal")
+    @Param(description = "the memory total of the host")
     private Long memoryTotal;
 
-    @SerializedName("memoryallocated") @Param(description="the amount of the host's memory currently allocated")
+    @SerializedName("memoryallocated")
+    @Param(description = "the amount of the host's memory currently allocated")
     private Long memoryAllocated;
 
-    @SerializedName("memoryused") @Param(description="the amount of the host's memory currently used")
+    @SerializedName("memoryused")
+    @Param(description = "the amount of the host's memory currently used")
     private Long memoryUsed;
 
-    @SerializedName("disksizetotal") @Param(description="the total disk size of the host")
+    @SerializedName("disksizetotal")
+    @Param(description = "the total disk size of the host")
     private Long diskSizeTotal;
 
-    @SerializedName("disksizeallocated") @Param(description="the host's currently allocated disk size")
+    @SerializedName("disksizeallocated")
+    @Param(description = "the host's currently allocated disk size")
     private Long diskSizeAllocated;
 
-    @SerializedName("capabilities") @Param(description="capabilities of the host")
+    @SerializedName("capabilities")
+    @Param(description = "capabilities of the host")
     private String capabilities;
 
-    @SerializedName("lastpinged") @Param(description="the date and time the host was last pinged")
+    @SerializedName("lastpinged")
+    @Param(description = "the date and time the host was last pinged")
     private Date lastPinged;
 
-    @SerializedName("managementserverid") @Param(description="the management server ID of the host")
+    @SerializedName("managementserverid")
+    @Param(description = "the management server ID of the host")
     private Long managementServerId;
 
-    @SerializedName("clusterid") @Param(description="the cluster ID of the host")
+    @SerializedName("clusterid")
+    @Param(description = "the cluster ID of the host")
     private String clusterId;
 
-    @SerializedName("clustername") @Param(description="the cluster name of the host")
+    @SerializedName("clustername")
+    @Param(description = "the cluster name of the host")
     private String clusterName;
 
-    @SerializedName("clustertype") @Param(description="the cluster type of the cluster that host belongs to")
+    @SerializedName("clustertype")
+    @Param(description = "the cluster type of the cluster that host belongs to")
     private String clusterType;
 
-    @SerializedName("islocalstorageactive") @Param(description="true if local storage is active, false otherwise")
+    @SerializedName("islocalstorageactive")
+    @Param(description = "true if local storage is active, false otherwise")
     private Boolean localStorageActive;
 
-    @SerializedName(ApiConstants.CREATED) @Param(description="the date and time the host was created")
+    @SerializedName(ApiConstants.CREATED)
+    @Param(description = "the date and time the host was created")
     private Date created;
 
-    @SerializedName("removed") @Param(description="the date and time the host was removed")
+    @SerializedName("removed")
+    @Param(description = "the date and time the host was removed")
     private Date removed;
 
-    @SerializedName("events") @Param(description="events available for the host")
+    @SerializedName("events")
+    @Param(description = "events available for the host")
     private String events;
 
-    @SerializedName("hosttags") @Param(description="comma-separated list of tags for the host")
+    @SerializedName("hosttags")
+    @Param(description = "comma-separated list of tags for the host")
     private String hostTags;
 
-    @SerializedName("hasenoughcapacity") @Param(description="true if this host has enough CPU and RAM capacity to migrate a VM to it, false otherwise")
+    @SerializedName("hasenoughcapacity")
+    @Param(description = "true if this host has enough CPU and RAM capacity to migrate a VM to it, false otherwise")
     private Boolean hasEnoughCapacity;
 
-    @SerializedName("suitableformigration") @Param(description="true if this host is suitable(has enough capacity and satisfies all conditions like hosttags, max guests vm limit etc) to migrate a VM to it , false otherwise")
+    @SerializedName("suitableformigration")
+    @Param(description = "true if this host is suitable(has enough capacity and satisfies all conditions like hosttags, max guests vm limit etc) to migrate a VM to it , false otherwise")
     private Boolean suitableForMigration;
 
-    @SerializedName("resourcestate") @Param(description="the resource state of the host")
+    @SerializedName("resourcestate")
+    @Param(description = "the resource state of the host")
     private String resourceState;
 
-    @SerializedName(ApiConstants.HYPERVISOR_VERSION) @Param(description="the hypervisor version")
+    @SerializedName(ApiConstants.HYPERVISOR_VERSION)
+    @Param(description = "the hypervisor version")
     private String hypervisorVersion;
 
-    @SerializedName(ApiConstants.HA_HOST) @Param(description="true if the host is Ha host (dedicated to vms started by HA process; false otherwise")
+    @SerializedName(ApiConstants.HA_HOST)
+    @Param(description = "true if the host is Ha host (dedicated to vms started by HA process; false otherwise")
     private Boolean haHost;
 
-
     @Override
     public String getObjectId() {
         return this.getId();
@@ -324,7 +367,6 @@ public class HostResponse extends BaseResponse {
         this.events = events;
     }
 
-
     public String getHostTags() {
         return hostTags;
     }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/HypervisorCapabilitiesResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/HypervisorCapabilitiesResponse.java b/api/src/org/apache/cloudstack/api/response/HypervisorCapabilitiesResponse.java
index 2d37add..75e54be 100644
--- a/api/src/org/apache/cloudstack/api/response/HypervisorCapabilitiesResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/HypervisorCapabilitiesResponse.java
@@ -25,30 +25,38 @@ import com.cloud.hypervisor.HypervisorCapabilities;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=HypervisorCapabilities.class)
+@EntityReference(value = HypervisorCapabilities.class)
 public class HypervisorCapabilitiesResponse extends BaseResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="the ID of the hypervisor capabilities row")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the ID of the hypervisor capabilities row")
     private String id;
 
-    @SerializedName(ApiConstants.HYPERVISOR_VERSION) @Param(description="the hypervisor version")
+    @SerializedName(ApiConstants.HYPERVISOR_VERSION)
+    @Param(description = "the hypervisor version")
     private String hypervisorVersion;
 
-    @SerializedName(ApiConstants.HYPERVISOR) @Param(description="the hypervisor type")
+    @SerializedName(ApiConstants.HYPERVISOR)
+    @Param(description = "the hypervisor type")
     private HypervisorType hypervisor;
 
-    @SerializedName(ApiConstants.MAX_GUESTS_LIMIT) @Param(description="the maximum number of guest vms recommended for this hypervisor")
+    @SerializedName(ApiConstants.MAX_GUESTS_LIMIT)
+    @Param(description = "the maximum number of guest vms recommended for this hypervisor")
     private Long maxGuestsLimit;
 
-    @SerializedName(ApiConstants.SECURITY_GROUP_EANBLED) @Param(description="true if security group is supported")
+    @SerializedName(ApiConstants.SECURITY_GROUP_EANBLED)
+    @Param(description = "true if security group is supported")
     private boolean isSecurityGroupEnabled;
 
-    @SerializedName(ApiConstants.MAX_DATA_VOLUMES_LIMIT) @Param(description="the maximum number of Data Volumes that can be attached for this hypervisor")
+    @SerializedName(ApiConstants.MAX_DATA_VOLUMES_LIMIT)
+    @Param(description = "the maximum number of Data Volumes that can be attached for this hypervisor")
     private Integer maxDataVolumesLimit;
 
-    @SerializedName(ApiConstants.MAX_HOSTS_PER_CLUSTER) @Param(description="the maximum number of Hosts per cluster for this hypervisor")
+    @SerializedName(ApiConstants.MAX_HOSTS_PER_CLUSTER)
+    @Param(description = "the maximum number of Hosts per cluster for this hypervisor")
     private Integer maxHostsPerCluster;
 
-    @SerializedName(ApiConstants.STORAGE_MOTION_ENABLED) @Param(description="true if storage motion is supported")
+    @SerializedName(ApiConstants.STORAGE_MOTION_ENABLED)
+    @Param(description = "true if storage motion is supported")
     private boolean isStorageMotionSupported;
 
     public String getId() {
@@ -59,7 +67,6 @@ public class HypervisorCapabilitiesResponse extends BaseResponse {
         this.id = id;
     }
 
-
     public String getHypervisorVersion() {
         return hypervisorVersion;
     }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/HypervisorResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/HypervisorResponse.java b/api/src/org/apache/cloudstack/api/response/HypervisorResponse.java
index 8bfb15e..072a6b1 100644
--- a/api/src/org/apache/cloudstack/api/response/HypervisorResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/HypervisorResponse.java
@@ -23,7 +23,8 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
 public class HypervisorResponse extends BaseResponse {
-    @SerializedName(ApiConstants.NAME) @Param(description="Hypervisor name")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "Hypervisor name")
     private String name;
 
     public String getName() {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/IPAddressResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/IPAddressResponse.java b/api/src/org/apache/cloudstack/api/response/IPAddressResponse.java
index e3d5cc6..79831ca 100644
--- a/api/src/org/apache/cloudstack/api/response/IPAddressResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/IPAddressResponse.java
@@ -27,102 +27,128 @@ import com.cloud.network.IpAddress;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=IpAddress.class)
+@EntityReference(value = IpAddress.class)
 @SuppressWarnings("unused")
 public class IPAddressResponse extends BaseResponse implements ControlledEntityResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="public IP address id")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "public IP address id")
     private String id;
 
-    @SerializedName(ApiConstants.IP_ADDRESS) @Param(description="public IP address")
+    @SerializedName(ApiConstants.IP_ADDRESS)
+    @Param(description = "public IP address")
     private String ipAddress;
 
-    @SerializedName("allocated") @Param(description="date the public IP address was acquired")
+    @SerializedName("allocated")
+    @Param(description = "date the public IP address was acquired")
     private Date allocated;
 
-    @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.ZONE_NAME) @Param(description="the name of the zone the public IP address belongs to")
+    @SerializedName(ApiConstants.ZONE_NAME)
+    @Param(description = "the name of the zone the public IP address belongs to")
     private String zoneName;
 
-    @SerializedName("issourcenat") @Param(description="true if the IP address is a source nat address, false otherwise")
+    @SerializedName("issourcenat")
+    @Param(description = "true if the IP address is a source nat address, false otherwise")
     private Boolean sourceNat;
 
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="the account the public IP address is associated with")
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "the account the public IP address is associated with")
     private String accountName;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id of the ipaddress")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id of the ipaddress")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name of the address")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name of the address")
     private String projectName;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain ID the public IP address is associated with")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain ID the public IP address is associated with")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="the domain the public IP address is associated with")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "the domain the public IP address is associated with")
     private String domainName;
 
-    @SerializedName(ApiConstants.FOR_VIRTUAL_NETWORK) @Param(description="the virtual network for the IP address")
+    @SerializedName(ApiConstants.FOR_VIRTUAL_NETWORK)
+    @Param(description = "the virtual network for the IP address")
     private Boolean forVirtualNetwork;
 
-    @SerializedName(ApiConstants.VLAN_ID) @Param(description="the ID of the VLAN associated with the IP address." +
-            " This parameter is visible to ROOT admins only")
+    @SerializedName(ApiConstants.VLAN_ID)
+    @Param(description = "the ID of the VLAN associated with the IP address." + " This parameter is visible to ROOT admins only")
     private String vlanId;
 
-    @SerializedName("vlanname") @Param(description="the VLAN associated with the IP address")
+    @SerializedName("vlanname")
+    @Param(description = "the VLAN associated with the IP address")
     private String vlanName;
 
-    @SerializedName("isstaticnat") @Param(description="true if this ip is for static nat, false otherwise")
+    @SerializedName("isstaticnat")
+    @Param(description = "true if this ip is for static nat, false otherwise")
     private Boolean staticNat;
 
-    @SerializedName(ApiConstants.IS_SYSTEM) @Param(description="true if this ip is system ip (was allocated as a part of deployVm or createLbRule)")
+    @SerializedName(ApiConstants.IS_SYSTEM)
+    @Param(description = "true if this ip is system ip (was allocated as a part of deployVm or createLbRule)")
     private Boolean isSystem;
 
-    @SerializedName(ApiConstants.VIRTUAL_MACHINE_ID) @Param(description="virutal machine id the ip address is assigned to (not null only for static nat Ip)")
+    @SerializedName(ApiConstants.VIRTUAL_MACHINE_ID)
+    @Param(description = "virutal machine id the ip address is assigned to (not null only for static nat Ip)")
     private String virtualMachineId;
 
-    @SerializedName("vmipaddress") @Param(description="virutal machine (dnat) ip address (not null only for static nat Ip)")
+    @SerializedName("vmipaddress")
+    @Param(description = "virutal machine (dnat) ip address (not null only for static nat Ip)")
     private String virtualMachineIp;
 
-
-    @SerializedName("virtualmachinename") @Param(description="virutal machine name the ip address is assigned to (not null only for static nat Ip)")
+    @SerializedName("virtualmachinename")
+    @Param(description = "virutal machine name the ip address is assigned to (not null only for static nat Ip)")
     private String virtualMachineName;
 
-    @SerializedName("virtualmachinedisplayname") @Param(description="virutal machine display name the ip address is assigned to (not null only for static nat Ip)")
+    @SerializedName("virtualmachinedisplayname")
+    @Param(description = "virutal machine display name the ip address is assigned to (not null only for static nat Ip)")
     private String virtualMachineDisplayName;
 
-    @SerializedName(ApiConstants.ASSOCIATED_NETWORK_ID) @Param(description="the ID of the Network associated with the IP address")
+    @SerializedName(ApiConstants.ASSOCIATED_NETWORK_ID)
+    @Param(description = "the ID of the Network associated with the IP address")
     private String associatedNetworkId;
 
-    @SerializedName(ApiConstants.ASSOCIATED_NETWORK_NAME) @Param(description="the name of the Network associated with the IP address")
+    @SerializedName(ApiConstants.ASSOCIATED_NETWORK_NAME)
+    @Param(description = "the name of the Network associated with the IP address")
     private String associatedNetworkName;
 
-    @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.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;
 
-    @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.PURPOSE) @Param(description="purpose of the IP address. In Acton this value is not null for Ips with isSystem=true, and can have either StaticNat or LB value")
+    @SerializedName(ApiConstants.PURPOSE)
+    @Param(description = "purpose of the IP address. In Acton this value is not null for Ips with isSystem=true, and can have either StaticNat or LB value")
     private String purpose;
 
-    @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.TAGS)  @Param(description="the list of resource tags associated with ip address", responseObject = ResourceTagResponse.class)
+    @SerializedName(ApiConstants.TAGS)
+    @Param(description = "the list of resource tags associated with ip address", responseObject = ResourceTagResponse.class)
     private List<ResourceTagResponse> tags;
 
-    @SerializedName(ApiConstants.IS_PORTABLE) @Param(description = "is public IP portable across the zones")
+    @SerializedName(ApiConstants.IS_PORTABLE)
+    @Param(description = "is public IP portable across the zones")
     private Boolean isPortable;
 
-/*
-    @SerializedName(ApiConstants.JOB_ID) @Param(description="shows the current pending asynchronous job ID. This tag is not returned if no current pending jobs are acting on the volume")
-    private IdentityProxy jobId = new IdentityProxy("async_job");
-*/
-
+    /*
+        @SerializedName(ApiConstants.JOB_ID) @Param(description="shows the current pending asynchronous job ID. This tag is not returned if no current pending jobs are acting on the volume")
+        private IdentityProxy jobId = new IdentityProxy("async_job");
+    */
 
     public void setIpAddress(String ipAddress) {
         this.ipAddress = ipAddress;
@@ -216,7 +242,6 @@ public class IPAddressResponse extends BaseResponse implements ControlledEntityR
         this.state = state;
     }
 
-
     @Override
     public void setProjectId(String projectId) {
         this.projectId = projectId;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ImageStoreDetailResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ImageStoreDetailResponse.java b/api/src/org/apache/cloudstack/api/response/ImageStoreDetailResponse.java
index 6f90f0f..244539c 100644
--- a/api/src/org/apache/cloudstack/api/response/ImageStoreDetailResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ImageStoreDetailResponse.java
@@ -22,17 +22,19 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
 public class ImageStoreDetailResponse extends BaseResponse {
-    @SerializedName("name") @Param(description="detail property name of the image store")
+    @SerializedName("name")
+    @Param(description = "detail property name of the image store")
     private String name;
 
-    @SerializedName("value") @Param(description="detail property value of the image store")
+    @SerializedName("value")
+    @Param(description = "detail property value of the image store")
     private String value;
 
-    public ImageStoreDetailResponse(){
+    public ImageStoreDetailResponse() {
         super();
     }
 
-    public ImageStoreDetailResponse(String name, String val){
+    public ImageStoreDetailResponse(String name, String val) {
         super();
         this.name = name;
         this.value = val;
@@ -59,7 +61,7 @@ public class ImageStoreDetailResponse extends BaseResponse {
         final int prime = 31;
         int result = 1;
         String oid = this.getName();
-        result = prime * result + ((oid== null) ? 0 : oid.hashCode());
+        result = prime * result + ((oid == null) ? 0 : oid.hashCode());
         return result;
     }
 
@@ -71,14 +73,14 @@ public class ImageStoreDetailResponse extends BaseResponse {
             return false;
         if (getClass() != obj.getClass())
             return false;
-        ImageStoreDetailResponse other = (ImageStoreDetailResponse) obj;
+        ImageStoreDetailResponse other = (ImageStoreDetailResponse)obj;
         String oid = this.getName();
         if (oid == null) {
             if (other.getName() != null)
                 return false;
         } else if (!oid.equals(other.getName()))
             return false;
-        else if ( this.getValue().equals(other.getValue()))
+        else if (this.getValue().equals(other.getValue()))
             return false;
         return true;
     }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ImageStoreResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ImageStoreResponse.java b/api/src/org/apache/cloudstack/api/response/ImageStoreResponse.java
index 04a375f..ead9035 100644
--- a/api/src/org/apache/cloudstack/api/response/ImageStoreResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ImageStoreResponse.java
@@ -28,37 +28,45 @@ import com.cloud.storage.ImageStore;
 import com.cloud.storage.ScopeType;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=ImageStore.class)
+@EntityReference(value = ImageStore.class)
 public class ImageStoreResponse extends BaseResponse {
-    @SerializedName("id") @Param(description="the ID of the image store")
+    @SerializedName("id")
+    @Param(description = "the ID of the image store")
     private String id;
 
-    @SerializedName("zoneid") @Param(description="the Zone ID of the image store")
+    @SerializedName("zoneid")
+    @Param(description = "the Zone ID of the image store")
     private String zoneId;
 
-    @SerializedName(ApiConstants.ZONE_NAME) @Param(description="the Zone name of the image store")
+    @SerializedName(ApiConstants.ZONE_NAME)
+    @Param(description = "the Zone name of the image store")
     private String zoneName;
 
-    @SerializedName("name") @Param(description="the name of the image store")
+    @SerializedName("name")
+    @Param(description = "the name of the image store")
     private String name;
 
-    @SerializedName("url") @Param(description="the url of the image store")
+    @SerializedName("url")
+    @Param(description = "the url of the image store")
     private String url;
 
-    @SerializedName("protocol") @Param(description="the protocol of the image store")
+    @SerializedName("protocol")
+    @Param(description = "the protocol of the image store")
     private String protocol;
 
-    @SerializedName("providername") @Param(description="the provider name of the image store")
+    @SerializedName("providername")
+    @Param(description = "the provider name of the image store")
     private String providerName;
 
-    @SerializedName("scope") @Param(description="the scope of the image store")
+    @SerializedName("scope")
+    @Param(description = "the scope of the image store")
     private ScopeType scope;
 
-    @SerializedName("details") @Param(description="the details of the image store")
+    @SerializedName("details")
+    @Param(description = "the details of the image store")
     private Set<ImageStoreDetailResponse> details;
 
-
-    public ImageStoreResponse(){
+    public ImageStoreResponse() {
         this.details = new LinkedHashSet<ImageStoreDetailResponse>();
     }
 
@@ -123,7 +131,6 @@ public class ImageStoreResponse extends BaseResponse {
         this.scope = type;
     }
 
-
     public String getProtocol() {
         return protocol;
     }
@@ -140,10 +147,8 @@ public class ImageStoreResponse extends BaseResponse {
         this.details = details;
     }
 
-    public void addDetail(ImageStoreDetailResponse detail){
+    public void addDetail(ImageStoreDetailResponse detail) {
         this.details.add(detail);
     }
 
-
-
 }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/InstanceGroupResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/InstanceGroupResponse.java b/api/src/org/apache/cloudstack/api/response/InstanceGroupResponse.java
index b04f2b8..c105aec 100644
--- a/api/src/org/apache/cloudstack/api/response/InstanceGroupResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/InstanceGroupResponse.java
@@ -28,29 +28,37 @@ import com.google.gson.annotations.SerializedName;
 
 @SuppressWarnings("unused")
 @EntityReference(value = InstanceGroup.class)
-public class InstanceGroupResponse extends BaseResponse implements ControlledViewEntityResponse{
-    @SerializedName(ApiConstants.ID) @Param(description="the id of the instance group")
+public class InstanceGroupResponse extends BaseResponse implements ControlledViewEntityResponse {
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the id of the instance group")
     private String id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the name of the instance group")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the name of the instance group")
     private String name;
 
-    @SerializedName(ApiConstants.CREATED) @Param(description="time and date the instance group was created")
+    @SerializedName(ApiConstants.CREATED)
+    @Param(description = "time and date the instance group was created")
     private Date created;
 
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="the account owning the instance group")
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "the account owning the instance 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 instance group")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain ID of the instance group")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="the domain name of the instance group")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "the domain name of the instance group")
     private String domainName;
 
     public void setId(String id) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/InternalLoadBalancerElementResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/InternalLoadBalancerElementResponse.java b/api/src/org/apache/cloudstack/api/response/InternalLoadBalancerElementResponse.java
index b7e8634..f1cd90a 100644
--- a/api/src/org/apache/cloudstack/api/response/InternalLoadBalancerElementResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/InternalLoadBalancerElementResponse.java
@@ -24,19 +24,21 @@ import com.cloud.network.VirtualRouterProvider;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=VirtualRouterProvider.class)
+@EntityReference(value = VirtualRouterProvider.class)
 @SuppressWarnings("unused")
 public class InternalLoadBalancerElementResponse extends BaseResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="the id of the internal load balancer element")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the id of the internal load balancer element")
     private String id;
 
-    @SerializedName(ApiConstants.NSP_ID) @Param(description="the physical network service provider id of the element")
+    @SerializedName(ApiConstants.NSP_ID)
+    @Param(description = "the physical network service provider id of the element")
     private String nspId;
 
-    @SerializedName(ApiConstants.ENABLED) @Param(description="Enabled/Disabled the element")
+    @SerializedName(ApiConstants.ENABLED)
+    @Param(description = "Enabled/Disabled the element")
     private Boolean enabled;
 
-
     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/IpForwardingRuleResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/IpForwardingRuleResponse.java b/api/src/org/apache/cloudstack/api/response/IpForwardingRuleResponse.java
index d6a42f7..a1b107d 100644
--- a/api/src/org/apache/cloudstack/api/response/IpForwardingRuleResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/IpForwardingRuleResponse.java
@@ -23,34 +23,44 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
 public class IpForwardingRuleResponse extends BaseResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="the ID of the port forwarding rule")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the ID of the port forwarding rule")
     private String id;
 
-    @SerializedName(ApiConstants.PROTOCOL) @Param(description="the protocol of the port forwarding rule")
+    @SerializedName(ApiConstants.PROTOCOL)
+    @Param(description = "the protocol of the port forwarding rule")
     private String protocol;
 
-    @SerializedName(ApiConstants.VIRTUAL_MACHINE_ID) @Param(description="the VM ID for the port forwarding rule")
+    @SerializedName(ApiConstants.VIRTUAL_MACHINE_ID)
+    @Param(description = "the VM ID for the port forwarding rule")
     private String virtualMachineId;
 
-    @SerializedName("virtualmachinename") @Param(description="the VM name for the port forwarding rule")
+    @SerializedName("virtualmachinename")
+    @Param(description = "the VM name for the port forwarding rule")
     private String virtualMachineName;
 
-    @SerializedName("virtualmachinedisplayname") @Param(description="the VM display name for the port forwarding rule")
+    @SerializedName("virtualmachinedisplayname")
+    @Param(description = "the VM display name for the port forwarding rule")
     private String virtualMachineDisplayName;
 
-    @SerializedName(ApiConstants.IP_ADDRESS_ID) @Param(description="the public ip address id for the port forwarding rule")
+    @SerializedName(ApiConstants.IP_ADDRESS_ID)
+    @Param(description = "the public ip address id for the port forwarding rule")
     private Long publicIpAddressId;
 
-    @SerializedName(ApiConstants.IP_ADDRESS) @Param(description="the public ip address for the port forwarding rule")
+    @SerializedName(ApiConstants.IP_ADDRESS)
+    @Param(description = "the public ip address for the port forwarding rule")
     private String publicIpAddress;
 
-    @SerializedName(ApiConstants.START_PORT) @Param(description="the start port of the rule")
+    @SerializedName(ApiConstants.START_PORT)
+    @Param(description = "the start port of the rule")
     private Integer startPort;
 
-    @SerializedName(ApiConstants.END_PORT) @Param(description="the end port of the rule")
+    @SerializedName(ApiConstants.END_PORT)
+    @Param(description = "the end port of the rule")
     private Integer endPort;
 
-    @SerializedName(ApiConstants.STATE) @Param(description="state of the ip forwarding rule")
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "state of the ip forwarding rule")
     private String state;
 
     public String getId() {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/IsoVmResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/IsoVmResponse.java b/api/src/org/apache/cloudstack/api/response/IsoVmResponse.java
index 14803d5..58e25ab 100644
--- a/api/src/org/apache/cloudstack/api/response/IsoVmResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/IsoVmResponse.java
@@ -22,40 +22,50 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
 public class IsoVmResponse extends BaseResponse {
-    @SerializedName("id") @Param(description="the ISO ID")
+    @SerializedName("id")
+    @Param(description = "the ISO ID")
     private String id;
 
-    @SerializedName("name") @Param(description="the ISO name")
+    @SerializedName("name")
+    @Param(description = "the ISO name")
     private String name;
 
-    @SerializedName("displaytext") @Param(description="the ISO display text")
+    @SerializedName("displaytext")
+    @Param(description = "the ISO display text")
     private String displayText;
 
-    @SerializedName("bootable") @Param(description="true if the ISO is bootable, false otherwise")
+    @SerializedName("bootable")
+    @Param(description = "true if the ISO is bootable, false otherwise")
     private Boolean bootable;
 
-    @SerializedName("isfeatured") @Param(description="true if this template is a featured template, false otherwise")
+    @SerializedName("isfeatured")
+    @Param(description = "true if this template is a featured template, false otherwise")
     private Boolean featured;
 
-    @SerializedName("ostypeid") @Param(description="the ID of the OS type for this template.")
+    @SerializedName("ostypeid")
+    @Param(description = "the ID of the OS type for this template.")
     private String osTypeId;
 
-    @SerializedName("ostypename") @Param(description="the name of the OS type for this template.")
+    @SerializedName("ostypename")
+    @Param(description = "the name of the OS type for this template.")
     private String osTypeName;
 
-    @SerializedName("virtualmachineid") @Param(description="id of the virtual machine")
+    @SerializedName("virtualmachineid")
+    @Param(description = "id of the virtual machine")
     private String virtualMachineId;
 
-    @SerializedName("vmname") @Param(description="name of the virtual machine")
+    @SerializedName("vmname")
+    @Param(description = "name of the virtual machine")
     private String virtualMachineName;
 
-    @SerializedName("vmdisplayname") @Param(description="display name of the virtual machine")
+    @SerializedName("vmdisplayname")
+    @Param(description = "display name of the virtual machine")
     private String virtualMachineDisplayName;
 
-    @SerializedName("vmstate") @Param(description="state of the virtual machine")
+    @SerializedName("vmstate")
+    @Param(description = "state of the virtual machine")
     private String virtualMachineState;
 
-
     @Override
     public String getObjectId() {
         return this.getId();

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/IsolationMethodResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/IsolationMethodResponse.java b/api/src/org/apache/cloudstack/api/response/IsolationMethodResponse.java
index 3aaa7a4..6a7da98 100644
--- a/api/src/org/apache/cloudstack/api/response/IsolationMethodResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/IsolationMethodResponse.java
@@ -23,8 +23,9 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
 @SuppressWarnings("unused")
-public class IsolationMethodResponse extends BaseResponse{
-    @SerializedName(ApiConstants.NAME) @Param(description="Network isolation method name")
+public class IsolationMethodResponse extends BaseResponse {
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "Network isolation method name")
     private String name;
 
     public void setIsolationMethodName(String isolationMethodName) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/LBHealthCheckResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/LBHealthCheckResponse.java b/api/src/org/apache/cloudstack/api/response/LBHealthCheckResponse.java
index 182013f..ddb601a 100644
--- a/api/src/org/apache/cloudstack/api/response/LBHealthCheckResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/LBHealthCheckResponse.java
@@ -26,13 +26,12 @@ import org.apache.cloudstack.api.EntityReference;
 import java.util.List;
 import java.util.UUID;
 
-@EntityReference(value=HealthCheckPolicy.class)
+@EntityReference(value = HealthCheckPolicy.class)
 public class LBHealthCheckResponse extends BaseResponse {
-@SerializedName("lbruleid")
+    @SerializedName("lbruleid")
     @Param(description = "the LB rule ID")
     private String lbRuleId;
 
-
     @SerializedName("account")
     @Param(description = "the account of the HealthCheck policy")
     private String accountName;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/LBStickinessPolicyResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/LBStickinessPolicyResponse.java b/api/src/org/apache/cloudstack/api/response/LBStickinessPolicyResponse.java
index 626d0ea..d18c18b 100644
--- a/api/src/org/apache/cloudstack/api/response/LBStickinessPolicyResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/LBStickinessPolicyResponse.java
@@ -100,7 +100,7 @@ public class LBStickinessPolicyResponse extends BaseResponse {
         if (stickinesspolicy.isRevoke()) {
             this.setState("Revoked");
         }
-        if (stickinesspolicy.getUuid() != null )
+        if (stickinesspolicy.getUuid() != null)
             setId(stickinesspolicy.getUuid());
 
         /* Get the param and values from the database and fill the response object
@@ -109,18 +109,17 @@ public class LBStickinessPolicyResponse extends BaseResponse {
          *    2)  combine all params with name with ":" , currently we have one param called "domain" that can appear multiple times.
          * */
 
-        Map<String, String> tempParamList =  new HashMap<String, String>();
-        for(Pair<String,String> paramKV :paramsList){
+        Map<String, String> tempParamList = new HashMap<String, String>();
+        for (Pair<String, String> paramKV : paramsList) {
             String key = paramKV.first();
             String value = paramKV.second();
             StringBuilder sb = new StringBuilder();
             sb.append(value);
-            if (tempParamList.get(key) != null)
-            {
+            if (tempParamList.get(key) != null) {
                 sb.append(":").append(tempParamList.get(key));
             }
 
-            tempParamList.put(key,sb.toString());
+            tempParamList.put(key, sb.toString());
         }
 
         this.params = tempParamList;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/LBStickinessResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/LBStickinessResponse.java b/api/src/org/apache/cloudstack/api/response/LBStickinessResponse.java
index cd44aa7..7cbd70f 100644
--- a/api/src/org/apache/cloudstack/api/response/LBStickinessResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/LBStickinessResponse.java
@@ -26,7 +26,7 @@ import com.cloud.network.rules.StickinessPolicy;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=StickinessPolicy.class)
+@EntityReference(value = StickinessPolicy.class)
 public class LBStickinessResponse extends BaseResponse {
     @SerializedName("lbruleid")
     @Param(description = "the LB rule ID")

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ListResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ListResponse.java b/api/src/org/apache/cloudstack/api/response/ListResponse.java
index 3f28887..52abe24 100644
--- a/api/src/org/apache/cloudstack/api/response/ListResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ListResponse.java
@@ -38,7 +38,6 @@ public class ListResponse<T extends ResponseObject> extends BaseResponse {
         this.count = count;
     }
 
-
     public Integer getCount() {
         if (count != null) {
             return count;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/LoadBalancerResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/LoadBalancerResponse.java b/api/src/org/apache/cloudstack/api/response/LoadBalancerResponse.java
index 39650d3..57fb5ec 100644
--- a/api/src/org/apache/cloudstack/api/response/LoadBalancerResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/LoadBalancerResponse.java
@@ -57,22 +57,25 @@ public class LoadBalancerResponse extends BaseResponse implements ControlledEnti
     @SerializedName(ApiConstants.ALGORITHM)
     @Param(description = "the load balancer algorithm (source, roundrobin, leastconn)")
     private String algorithm;
-    
+
     @SerializedName(ApiConstants.NETWORK_ID)
     @Param(description = "the id of the guest network the lb rule belongs to")
     private String networkId;
 
-    @SerializedName(ApiConstants.CIDR_LIST) @Param(description="the cidr list to forward traffic from")
+    @SerializedName(ApiConstants.CIDR_LIST)
+    @Param(description = "the cidr list to forward traffic from")
     private String cidrList;
-    
+
     @SerializedName(ApiConstants.ACCOUNT)
     @Param(description = "the account of the load balancer rule")
     private String accountName;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id of the load balancer")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id of the load balancer")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name of the load balancer")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name of the load balancer")
     private String projectName;
 
     @SerializedName(ApiConstants.DOMAIN_ID)
@@ -95,10 +98,9 @@ public class LoadBalancerResponse extends BaseResponse implements ControlledEnti
     @Param(description = "the protocol of the loadbalanacer rule")
     private String lbProtocol;
 
-
-    @SerializedName(ApiConstants.TAGS)  @Param(description="the list of resource tags associated with load balancer", responseObject = ResourceTagResponse.class)
+    @SerializedName(ApiConstants.TAGS)
+    @Param(description = "the list of resource tags associated with load balancer", responseObject = ResourceTagResponse.class)
     private List<ResourceTagResponse> tags;
-    
 
     public void setId(String id) {
         this.id = id;
@@ -170,7 +172,7 @@ public class LoadBalancerResponse extends BaseResponse implements ControlledEnti
     public void setTags(List<ResourceTagResponse> tags) {
         this.tags = tags;
     }
-    
+
     public void setNetworkId(String networkId) {
         this.networkId = networkId;
     }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/NetworkACLItemResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/NetworkACLItemResponse.java b/api/src/org/apache/cloudstack/api/response/NetworkACLItemResponse.java
index 400a4db..50b7494 100644
--- a/api/src/org/apache/cloudstack/api/response/NetworkACLItemResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/NetworkACLItemResponse.java
@@ -28,44 +28,56 @@ import org.apache.cloudstack.api.EntityReference;
 
 @EntityReference(value = NetworkACLItem.class)
 public class NetworkACLItemResponse extends BaseResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="the ID of the ACL Item")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the ID of the ACL Item")
     private String id;
 
-    @SerializedName(ApiConstants.PROTOCOL) @Param(description="the protocol of the ACL")
+    @SerializedName(ApiConstants.PROTOCOL)
+    @Param(description = "the protocol of the ACL")
     private String protocol;
 
-    @SerializedName(ApiConstants.START_PORT) @Param(description="the starting port of ACL's port range")
+    @SerializedName(ApiConstants.START_PORT)
+    @Param(description = "the starting port of ACL's port range")
     private String startPort;
 
-    @SerializedName(ApiConstants.END_PORT)  @Param(description = "the ending port of ACL's port range")
+    @SerializedName(ApiConstants.END_PORT)
+    @Param(description = "the ending port of ACL's port range")
     private String endPort;
 
-    @SerializedName(ApiConstants.TRAFFIC_TYPE) @Param(description="the traffic type for the ACL")
+    @SerializedName(ApiConstants.TRAFFIC_TYPE)
+    @Param(description = "the traffic type for the ACL")
     private String trafficType;
 
-    @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.CIDR_LIST) @Param(description="the cidr list to forward traffic from")
+    @SerializedName(ApiConstants.CIDR_LIST)
+    @Param(description = "the cidr list to forward traffic from")
     private String cidrList;
 
-    @SerializedName(ApiConstants.ICMP_TYPE) @Param(description= "type of the icmp message being sent")
+    @SerializedName(ApiConstants.ICMP_TYPE)
+    @Param(description = "type of the icmp message being sent")
     private Integer icmpType;
 
-    @SerializedName(ApiConstants.ICMP_CODE) @Param(description = "error code for this icmp message")
+    @SerializedName(ApiConstants.ICMP_CODE)
+    @Param(description = "error code for this icmp message")
     private Integer icmpCode;
 
-    @SerializedName(ApiConstants.TAGS)  @Param(description="the list of resource tags associated with the network ACLs",
-            responseObject = ResourceTagResponse.class)
+    @SerializedName(ApiConstants.TAGS)
+    @Param(description = "the list of resource tags associated with the network ACLs", responseObject = ResourceTagResponse.class)
     private List<ResourceTagResponse> tags;
 
-    @SerializedName(ApiConstants.ACL_ID) @Param(description="the ID of the ACL this item belongs to")
+    @SerializedName(ApiConstants.ACL_ID)
+    @Param(description = "the ID of the ACL this item belongs to")
     private String aclId;
 
-    @SerializedName(ApiConstants.NUMBER) @Param(description= "Number of the ACL Item")
+    @SerializedName(ApiConstants.NUMBER)
+    @Param(description = "Number of the ACL Item")
     private Integer number;
 
-    @SerializedName(ApiConstants.ACTION) @Param(description="Action of ACL Item. Allow/Deny")
+    @SerializedName(ApiConstants.ACTION)
+    @Param(description = "Action of ACL Item. Allow/Deny")
     private String action;
 
     public void setId(String id) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/NetworkACLResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/NetworkACLResponse.java b/api/src/org/apache/cloudstack/api/response/NetworkACLResponse.java
index 12ca38b..57e71d5 100644
--- a/api/src/org/apache/cloudstack/api/response/NetworkACLResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/NetworkACLResponse.java
@@ -27,16 +27,20 @@ import java.util.List;
 
 @EntityReference(value = NetworkACL.class)
 public class NetworkACLResponse extends BaseResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="the ID of the ACL")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the ID of the ACL")
     private String id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the Name of the ACL")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the Name of the ACL")
     private String name;
 
-    @SerializedName(ApiConstants.DESCRIPTION) @Param(description="Description of the ACL")
+    @SerializedName(ApiConstants.DESCRIPTION)
+    @Param(description = "Description of the ACL")
     private String description;
 
-    @SerializedName(ApiConstants.VPC_ID) @Param(description="Id of the VPC this ACL is associated with")
+    @SerializedName(ApiConstants.VPC_ID)
+    @Param(description = "Id of the VPC this ACL is associated with")
     private String vpcId;
 
     public void setId(String id) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/NetworkOfferingResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/NetworkOfferingResponse.java b/api/src/org/apache/cloudstack/api/response/NetworkOfferingResponse.java
index a593ae6..f92307e 100644
--- a/api/src/org/apache/cloudstack/api/response/NetworkOfferingResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/NetworkOfferingResponse.java
@@ -28,70 +28,91 @@ import com.cloud.offering.NetworkOffering;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=NetworkOffering.class)
+@EntityReference(value = NetworkOffering.class)
 @SuppressWarnings("unused")
 public class NetworkOfferingResponse extends BaseResponse {
-    @SerializedName("id") @Param(description="the id of the network offering")
+    @SerializedName("id")
+    @Param(description = "the id of the network offering")
     private String id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the name of the network offering")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the name of the network offering")
     private String name;
 
-    @SerializedName(ApiConstants.DISPLAY_TEXT) @Param(description="an alternate display text of the network offering.")
+    @SerializedName(ApiConstants.DISPLAY_TEXT)
+    @Param(description = "an alternate display text of the network offering.")
     private String displayText;
 
-    @SerializedName(ApiConstants.TAGS) @Param(description="the tags for the network offering")
+    @SerializedName(ApiConstants.TAGS)
+    @Param(description = "the tags for the network offering")
     private String tags;
 
-    @SerializedName(ApiConstants.CREATED) @Param(description="the date this network offering was created")
+    @SerializedName(ApiConstants.CREATED)
+    @Param(description = "the date this network offering was created")
     private Date created;
 
-    @SerializedName(ApiConstants.TRAFFIC_TYPE) @Param(description="the traffic type for the network offering, supported types are Public, Management, Control, Guest, Vlan or Storage.")
+    @SerializedName(ApiConstants.TRAFFIC_TYPE)
+    @Param(description = "the traffic type for the network offering, supported types are Public, Management, Control, Guest, Vlan or Storage.")
     private String trafficType;
 
-    @SerializedName(ApiConstants.IS_DEFAULT) @Param(description="true if network offering is default, false otherwise")
+    @SerializedName(ApiConstants.IS_DEFAULT)
+    @Param(description = "true if network offering is default, false otherwise")
     private Boolean isDefault;
 
-    @SerializedName(ApiConstants.SPECIFY_VLAN) @Param(description="true if network offering supports vlans, false otherwise")
+    @SerializedName(ApiConstants.SPECIFY_VLAN)
+    @Param(description = "true if network offering supports vlans, false otherwise")
     private Boolean specifyVlan;
 
-    @SerializedName(ApiConstants.CONSERVE_MODE) @Param(description="true if network offering is ip conserve mode enabled")
+    @SerializedName(ApiConstants.CONSERVE_MODE)
+    @Param(description = "true if network offering is ip conserve mode enabled")
     private Boolean conserveMode;
 
-    @SerializedName(ApiConstants.SPECIFY_IP_RANGES) @Param(description="true if network offering supports specifying ip ranges, false otherwise")
+    @SerializedName(ApiConstants.SPECIFY_IP_RANGES)
+    @Param(description = "true if network offering supports specifying ip ranges, false otherwise")
     private Boolean specifyIpRanges;
 
-    @SerializedName(ApiConstants.AVAILABILITY) @Param(description="availability of the network offering")
+    @SerializedName(ApiConstants.AVAILABILITY)
+    @Param(description = "availability of the network offering")
     private String availability;
 
-    @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(ApiConstants.STATE) @Param(description="state of the network offering. Can be Disabled/Enabled/Inactive")
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "state of the network offering. Can be Disabled/Enabled/Inactive")
     private String state;
 
-    @SerializedName(ApiConstants.GUEST_IP_TYPE) @Param(description="guest type of the network offering, can be Shared or Isolated")
+    @SerializedName(ApiConstants.GUEST_IP_TYPE)
+    @Param(description = "guest type of the network offering, can be Shared or Isolated")
     private String guestIpType;
 
-    @SerializedName(ApiConstants.SERVICE_OFFERING_ID) @Param(description="the ID of the service offering used by virtual router provider")
+    @SerializedName(ApiConstants.SERVICE_OFFERING_ID)
+    @Param(description = "the ID of the service offering used by virtual router provider")
     private String serviceOfferingId;
 
-    @SerializedName(ApiConstants.SERVICE) @Param(description="the list of supported services", responseObject = ServiceResponse.class)
+    @SerializedName(ApiConstants.SERVICE)
+    @Param(description = "the list of supported services", responseObject = ServiceResponse.class)
     private List<ServiceResponse> services;
 
-    @SerializedName(ApiConstants.FOR_VPC) @Param(description="true if network offering can be used by VPC networks only")
+    @SerializedName(ApiConstants.FOR_VPC)
+    @Param(description = "true if network offering can be used by VPC networks only")
     private Boolean forVpc;
 
-    @SerializedName(ApiConstants.IS_PERSISTENT) @Param(description="true if network offering supports persistent networks, false otherwise")
+    @SerializedName(ApiConstants.IS_PERSISTENT)
+    @Param(description = "true if network offering supports persistent networks, false otherwise")
     private Boolean isPersistent;
-    
-    @SerializedName(ApiConstants.DETAILS) @Param(description="additional key/value details tied with network offering", since="4.2.0")
+
+    @SerializedName(ApiConstants.DETAILS)
+    @Param(description = "additional key/value details tied with network offering", since = "4.2.0")
     private Map details;
 
-    @SerializedName(ApiConstants.EGRESS_DEFAULT_POLICY) @Param(description="true if network offering supports persistent networks, false otherwise")
+    @SerializedName(ApiConstants.EGRESS_DEFAULT_POLICY)
+    @Param(description = "true if network offering supports persistent networks, false otherwise")
     private Boolean egressDefaultPolicy;
 
-    @SerializedName(ApiConstants.MAX_CONNECTIONS) @Param(description = "maximum number of concurrents connections to be handled by lb")
+    @SerializedName(ApiConstants.MAX_CONNECTIONS)
+    @Param(description = "maximum number of concurrents connections to be handled by lb")
     private Integer concurrentConnections;
 
     public void setId(String id) {
@@ -150,7 +171,6 @@ public class NetworkOfferingResponse extends BaseResponse {
         this.guestIpType = type;
     }
 
-
     public void setServiceOfferingId(String serviceOfferingId) {
         this.serviceOfferingId = serviceOfferingId;
     }
@@ -166,7 +186,7 @@ public class NetworkOfferingResponse extends BaseResponse {
     public void setIsPersistent(Boolean isPersistent) {
         this.isPersistent = isPersistent;
     }
-    
+
     public void setDetails(Map details) {
         this.details = details;
     }
@@ -175,8 +195,8 @@ public class NetworkOfferingResponse extends BaseResponse {
         this.egressDefaultPolicy = egressDefaultPolicy;
     }
 
-    public  void setConcurrentConnections(Integer concurrentConnections) {
-       this.concurrentConnections = concurrentConnections;
+    public void setConcurrentConnections(Integer concurrentConnections) {
+        this.concurrentConnections = concurrentConnections;
     }
 
 }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/NetworkResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/NetworkResponse.java b/api/src/org/apache/cloudstack/api/response/NetworkResponse.java
index e38daf2..0f0ce9f 100644
--- a/api/src/org/apache/cloudstack/api/response/NetworkResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/NetworkResponse.java
@@ -29,147 +29,192 @@ import com.google.gson.annotations.SerializedName;
 
 @SuppressWarnings("unused")
 @EntityReference(value = {Network.class, ProjectAccount.class})
-public class NetworkResponse extends BaseResponse implements ControlledEntityResponse{
+public class NetworkResponse extends BaseResponse implements ControlledEntityResponse {
 
-    @SerializedName(ApiConstants.ID) @Param(description="the id of the network")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the id of the network")
     private String id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the name of the network")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the name of the network")
     private String name;
 
-    @SerializedName(ApiConstants.DISPLAY_TEXT) @Param(description="the displaytext of the network")
+    @SerializedName(ApiConstants.DISPLAY_TEXT)
+    @Param(description = "the displaytext of the network")
     private String displaytext;
 
-    @SerializedName("broadcastdomaintype") @Param(description="Broadcast domain type of the network")
+    @SerializedName("broadcastdomaintype")
+    @Param(description = "Broadcast domain type of the network")
     private String broadcastDomainType;
 
-    @SerializedName(ApiConstants.TRAFFIC_TYPE) @Param(description="the traffic type of the network")
+    @SerializedName(ApiConstants.TRAFFIC_TYPE)
+    @Param(description = "the traffic type of the network")
     private String trafficType;
 
-    @SerializedName(ApiConstants.GATEWAY) @Param(description="the network's gateway")
+    @SerializedName(ApiConstants.GATEWAY)
+    @Param(description = "the network's gateway")
     private String gateway;
 
-    @SerializedName(ApiConstants.NETMASK) @Param(description="the network's netmask")
+    @SerializedName(ApiConstants.NETMASK)
+    @Param(description = "the network's netmask")
     private String netmask;
 
-    @SerializedName(ApiConstants.CIDR) @Param(description="Cloudstack managed address space, all CloudStack managed VMs get IP address from CIDR")
+    @SerializedName(ApiConstants.CIDR)
+    @Param(description = "Cloudstack managed address space, all CloudStack managed VMs get IP address from CIDR")
     private String cidr;
 
-    @SerializedName(ApiConstants.NETWORK_CIDR) @Param(description="the network CIDR of the guest network configured with IP reservation. It is the summation of CIDR and RESERVED_IP_RANGE")
+    @SerializedName(ApiConstants.NETWORK_CIDR)
+    @Param(description = "the network CIDR of the guest network configured with IP reservation. It is the summation of CIDR and RESERVED_IP_RANGE")
     private String networkCidr;
 
-    @SerializedName(ApiConstants.RESERVED_IP_RANGE) @Param(description="the network's IP range not to be used by CloudStack guest VMs and can be used for non CloudStack purposes")
+    @SerializedName(ApiConstants.RESERVED_IP_RANGE)
+    @Param(description = "the network's IP range not to be used by CloudStack guest VMs and can be used for non CloudStack purposes")
     private String reservedIpRange;
 
-    @SerializedName(ApiConstants.ZONE_ID) @Param(description="zone id of the network")
+    @SerializedName(ApiConstants.ZONE_ID)
+    @Param(description = "zone id of the network")
     private String zoneId;
 
-    @SerializedName(ApiConstants.ZONE_NAME) @Param(description="the name of the zone the network belongs to")
+    @SerializedName(ApiConstants.ZONE_NAME)
+    @Param(description = "the name of the zone the network belongs to")
     private String zoneName;
 
-    @SerializedName("networkofferingid") @Param(description="network offering id the network is created from")
+    @SerializedName("networkofferingid")
+    @Param(description = "network offering id the network is created from")
     private String networkOfferingId;
 
-    @SerializedName("networkofferingname") @Param(description="name of the network offering the network is created from")
+    @SerializedName("networkofferingname")
+    @Param(description = "name of the network offering the network is created from")
     private String networkOfferingName;
 
-    @SerializedName("networkofferingdisplaytext") @Param(description="display text of the network offering the network is created from")
+    @SerializedName("networkofferingdisplaytext")
+    @Param(description = "display text of the network offering the network is created from")
     private String networkOfferingDisplayText;
 
-    @SerializedName("networkofferingconservemode") @Param(description="true if network offering is ip conserve mode enabled")
+    @SerializedName("networkofferingconservemode")
+    @Param(description = "true if network offering is ip conserve mode enabled")
     private Boolean networkOfferingConserveMode;
-    
-    @SerializedName("networkofferingavailability") @Param(description="availability of the network offering the network is created from")
+
+    @SerializedName("networkofferingavailability")
+    @Param(description = "availability of the network offering the network is created from")
     private String networkOfferingAvailability;
 
-    @SerializedName(ApiConstants.IS_SYSTEM) @Param(description="true if network is system, false otherwise")
+    @SerializedName(ApiConstants.IS_SYSTEM)
+    @Param(description = "true if network is system, false otherwise")
     private Boolean isSystem;
 
-    @SerializedName(ApiConstants.STATE) @Param(description="state of the network")
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "state of the network")
     private String state;
 
-    @SerializedName("related") @Param(description="related to what other network configuration")
+    @SerializedName("related")
+    @Param(description = "related to what other network configuration")
     private String related;
 
-    @SerializedName("broadcasturi") @Param(description="broadcast uri of the network. This parameter is visible to ROOT admins only")
+    @SerializedName("broadcasturi")
+    @Param(description = "broadcast uri of the network. This parameter is visible to ROOT admins only")
     private String broadcastUri;
 
-    @SerializedName(ApiConstants.DNS1) @Param(description="the first DNS for the network")
+    @SerializedName(ApiConstants.DNS1)
+    @Param(description = "the first DNS for the network")
     private String dns1;
 
-    @SerializedName(ApiConstants.DNS2) @Param(description="the second DNS for the network")
+    @SerializedName(ApiConstants.DNS2)
+    @Param(description = "the second DNS for the network")
     private String dns2;
 
-    @SerializedName(ApiConstants.TYPE) @Param(description="the type of the network")
+    @SerializedName(ApiConstants.TYPE)
+    @Param(description = "the type of the network")
     private String type;
 
-    @SerializedName(ApiConstants.VLAN) @Param(description="The vlan of the network. This parameter is visible to ROOT admins only")
+    @SerializedName(ApiConstants.VLAN)
+    @Param(description = "The vlan of the network. This parameter is visible to ROOT admins only")
     private String vlan;
 
-    @SerializedName(ApiConstants.ACL_TYPE) @Param(description="acl type - access type to the network")
+    @SerializedName(ApiConstants.ACL_TYPE)
+    @Param(description = "acl type - access type to the network")
     private String aclType;
 
-    @SerializedName(ApiConstants.SUBDOMAIN_ACCESS) @Param(description="true if users from subdomains can access the domain level network")
+    @SerializedName(ApiConstants.SUBDOMAIN_ACCESS)
+    @Param(description = "true if users from subdomains can access the domain level network")
     private Boolean subdomainAccess;
 
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="the owner of the network")
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "the owner of the network")
     private String accountName;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id of the ipaddress")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id of the ipaddress")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name of the address")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name of the address")
     private String projectName;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain id of the network owner")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain id of the network owner")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="the domain name of the network owner")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "the domain name of the network owner")
     private String domain;
 
-    @SerializedName("isdefault") @Param(description="true if network is default, false otherwise")
+    @SerializedName("isdefault")
+    @Param(description = "true if network is default, false otherwise")
     private Boolean isDefault;
 
-    @SerializedName("service") @Param(description="the list of services", responseObject = ServiceResponse.class)
+    @SerializedName("service")
+    @Param(description = "the list of services", responseObject = ServiceResponse.class)
     private List<ServiceResponse> services;
 
-    @SerializedName(ApiConstants.NETWORK_DOMAIN) @Param(description="the network domain")
+    @SerializedName(ApiConstants.NETWORK_DOMAIN)
+    @Param(description = "the network domain")
     private String networkDomain;
 
-    @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.RESTART_REQUIRED) @Param(description="true network requires restart")
+    @SerializedName(ApiConstants.RESTART_REQUIRED)
+    @Param(description = "true network requires restart")
     private Boolean restartRequired;
 
-    @SerializedName(ApiConstants.SPECIFY_IP_RANGES) @Param(description="true if network supports specifying ip ranges, false otherwise")
+    @SerializedName(ApiConstants.SPECIFY_IP_RANGES)
+    @Param(description = "true if network supports specifying ip ranges, false otherwise")
     private Boolean specifyIpRanges;
 
-    @SerializedName(ApiConstants.VPC_ID) @Param(description="VPC the network belongs to")
+    @SerializedName(ApiConstants.VPC_ID)
+    @Param(description = "VPC the network belongs to")
     private String vpcId;
 
-    @SerializedName(ApiConstants.CAN_USE_FOR_DEPLOY) @Param(description="list networks available for vm deployment")
+    @SerializedName(ApiConstants.CAN_USE_FOR_DEPLOY)
+    @Param(description = "list networks available for vm deployment")
     private Boolean canUseForDeploy;
 
-    @SerializedName(ApiConstants.IS_PERSISTENT) @Param(description="list networks that are persistent")
+    @SerializedName(ApiConstants.IS_PERSISTENT)
+    @Param(description = "list networks that are persistent")
     private Boolean isPersistent;
 
-    @SerializedName(ApiConstants.TAGS)  @Param(description="the list of resource tags associated with network", responseObject = ResourceTagResponse.class)
+    @SerializedName(ApiConstants.TAGS)
+    @Param(description = "the list of resource tags associated with network", responseObject = ResourceTagResponse.class)
     private List<ResourceTagResponse> tags;
 
-    @SerializedName(ApiConstants.IP6_GATEWAY) @Param(description="the gateway of IPv6 network")
+    @SerializedName(ApiConstants.IP6_GATEWAY)
+    @Param(description = "the gateway of IPv6 network")
     private String ip6Gateway;
-    
-    @SerializedName(ApiConstants.IP6_CIDR) @Param(description="the cidr of IPv6 network")
+
+    @SerializedName(ApiConstants.IP6_CIDR)
+    @Param(description = "the cidr of IPv6 network")
     private String ip6Cidr;
 
-    @SerializedName(ApiConstants.DISPLAY_NETWORK) @Param(description="an optional field, whether to the display the network to the end user or not.")
+    @SerializedName(ApiConstants.DISPLAY_NETWORK)
+    @Param(description = "an optional field, whether to the display the network to the end user or not.")
     private Boolean displayNetwork;
 
-    @SerializedName(ApiConstants.ACL_ID) @Param(description="ACL Id associated with the VPC network")
+    @SerializedName(ApiConstants.ACL_ID)
+    @Param(description = "ACL Id associated with the VPC network")
     private String aclId;
 
-
     public Boolean getDisplayNetwork() {
         return displayNetwork;
     }
@@ -250,11 +295,11 @@ public class NetworkResponse extends BaseResponse implements ControlledEntityRes
     public void setNetworkOfferingDisplayText(String networkOfferingDisplayText) {
         this.networkOfferingDisplayText = networkOfferingDisplayText;
     }
-    
+
     public void setNetworkOfferingConserveMode(Boolean networkOfferingConserveMode) {
         this.networkOfferingConserveMode = networkOfferingConserveMode;
     }
-        
+
     public void setDisplaytext(String displaytext) {
         this.displaytext = displaytext;
     }
@@ -349,13 +394,13 @@ public class NetworkResponse extends BaseResponse implements ControlledEntityRes
         this.tags = tags;
     }
 
-	public void setIp6Gateway(String ip6Gateway) {
-		this.ip6Gateway = ip6Gateway;
-	}
+    public void setIp6Gateway(String ip6Gateway) {
+        this.ip6Gateway = ip6Gateway;
+    }
 
-	public void setIp6Cidr(String ip6Cidr) {
-		this.ip6Cidr = ip6Cidr;
-	}
+    public void setIp6Cidr(String ip6Cidr) {
+        this.ip6Cidr = ip6Cidr;
+    }
 
     public String getAclId() {
         return aclId;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/NicDetailResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/NicDetailResponse.java b/api/src/org/apache/cloudstack/api/response/NicDetailResponse.java
index f8ddf1c..a48bc9c 100644
--- a/api/src/org/apache/cloudstack/api/response/NicDetailResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/NicDetailResponse.java
@@ -29,7 +29,7 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
 @SuppressWarnings("unused")
-public class NicDetailResponse extends BaseResponse{
+public class NicDetailResponse extends BaseResponse {
     @SerializedName(ApiConstants.ID)
     @Param(description = "ID of the nic")
     private String id;
@@ -38,12 +38,12 @@ public class NicDetailResponse extends BaseResponse{
     @Param(description = "name of the nic detail")
     private String name;
 
-
     @SerializedName(ApiConstants.VALUE)
     @Param(description = "value of the nic detail")
     private String value;
 
-    @SerializedName(ApiConstants.DISPLAY_NIC) @Param(description="an optional field whether to the display the nic to the end user or not.")
+    @SerializedName(ApiConstants.DISPLAY_NIC)
+    @Param(description = "an optional field whether to the display the nic to the end user or not.")
     private Boolean displayNic;
 
     public String getId() {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/NicResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/NicResponse.java b/api/src/org/apache/cloudstack/api/response/NicResponse.java
index a1ceaf6..25f313b 100644
--- a/api/src/org/apache/cloudstack/api/response/NicResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/NicResponse.java
@@ -30,55 +30,71 @@ import org.apache.cloudstack.api.BaseResponse;
 import org.apache.cloudstack.api.EntityReference;
 
 @SuppressWarnings("unused")
-@EntityReference(value=Nic.class)
+@EntityReference(value = Nic.class)
 public class NicResponse extends BaseResponse {
 
-    @SerializedName("id") @Param(description="the ID of the nic")
+    @SerializedName("id")
+    @Param(description = "the ID of the nic")
     private String id;
 
-    @SerializedName("networkid") @Param(description="the ID of the corresponding network")
+    @SerializedName("networkid")
+    @Param(description = "the ID of the corresponding network")
     private String networkId;
 
-    @SerializedName("networkname") @Param(description="the name of the corresponding network")
-    private String  networkName ;
+    @SerializedName("networkname")
+    @Param(description = "the name of the corresponding network")
+    private String networkName;
 
-    @SerializedName(ApiConstants.NETMASK) @Param(description="the netmask of the nic")
+    @SerializedName(ApiConstants.NETMASK)
+    @Param(description = "the netmask of the nic")
     private String netmask;
 
-    @SerializedName(ApiConstants.GATEWAY) @Param(description="the gateway of the nic")
+    @SerializedName(ApiConstants.GATEWAY)
+    @Param(description = "the gateway of the nic")
     private String gateway;
 
-    @SerializedName(ApiConstants.IP_ADDRESS) @Param(description="the ip address of the nic")
+    @SerializedName(ApiConstants.IP_ADDRESS)
+    @Param(description = "the ip address of the nic")
     private String ipaddress;
 
-    @SerializedName("isolationuri") @Param(description="the isolation uri of the nic")
+    @SerializedName("isolationuri")
+    @Param(description = "the isolation uri of the nic")
     private String isolationUri;
 
-    @SerializedName("broadcasturi") @Param(description="the broadcast uri of the nic")
+    @SerializedName("broadcasturi")
+    @Param(description = "the broadcast uri of the nic")
     private String broadcastUri;
 
-    @SerializedName(ApiConstants.TRAFFIC_TYPE) @Param(description="the traffic type of the nic")
+    @SerializedName(ApiConstants.TRAFFIC_TYPE)
+    @Param(description = "the traffic type of the nic")
     private String trafficType;
 
-    @SerializedName(ApiConstants.TYPE) @Param(description="the type of the nic")
+    @SerializedName(ApiConstants.TYPE)
+    @Param(description = "the type of the nic")
     private String type;
 
-    @SerializedName(ApiConstants.IS_DEFAULT) @Param(description="true if nic is default, false otherwise")
+    @SerializedName(ApiConstants.IS_DEFAULT)
+    @Param(description = "true if nic is default, false otherwise")
     private Boolean isDefault;
 
-    @SerializedName("macaddress") @Param(description="true if nic is default, false otherwise")
+    @SerializedName("macaddress")
+    @Param(description = "true if nic is default, false otherwise")
     private String macAddress;
 
-    @SerializedName(ApiConstants.IP6_GATEWAY) @Param(description="the gateway of IPv6 network")
+    @SerializedName(ApiConstants.IP6_GATEWAY)
+    @Param(description = "the gateway of IPv6 network")
     private String ip6Gateway;
-    
-    @SerializedName(ApiConstants.IP6_CIDR) @Param(description="the cidr of IPv6 network")
+
+    @SerializedName(ApiConstants.IP6_CIDR)
+    @Param(description = "the cidr of IPv6 network")
     private String ip6Cidr;
-    
-    @SerializedName(ApiConstants.IP6_ADDRESS) @Param(description="the IPv6 address of network")
+
+    @SerializedName(ApiConstants.IP6_ADDRESS)
+    @Param(description = "the IPv6 address of network")
     private String ip6Address;
 
-    @SerializedName("secondaryip") @Param(description="the Secondary ipv4 addr of nic")
+    @SerializedName("secondaryip")
+    @Param(description = "the Secondary ipv4 addr of nic")
     private List<NicSecondaryIpResponse> secondaryIps;
 
     public String getId() {
@@ -89,13 +105,12 @@ public class NicResponse extends BaseResponse {
         this.id = id;
     }
 
-
     public void setNetworkid(String networkid) {
         this.networkId = networkid;
     }
 
     public void setNetworkName(String networkname) {
-       this.networkName = networkname;
+        this.networkName = networkname;
     }
 
     public void setNetmask(String netmask) {
@@ -134,24 +149,24 @@ public class NicResponse extends BaseResponse {
         this.macAddress = macAddress;
     }
 
-	public void setIp6Gateway(String ip6Gateway) {
-		this.ip6Gateway = ip6Gateway;
-	}
+    public void setIp6Gateway(String ip6Gateway) {
+        this.ip6Gateway = ip6Gateway;
+    }
 
-	public void setIp6Cidr(String ip6Cidr) {
-		this.ip6Cidr = ip6Cidr;
-	}
+    public void setIp6Cidr(String ip6Cidr) {
+        this.ip6Cidr = ip6Cidr;
+    }
 
-	public void setIp6Address(String ip6Address) {
-		this.ip6Address = ip6Address;
-	}
+    public void setIp6Address(String ip6Address) {
+        this.ip6Address = ip6Address;
+    }
 
     @Override
     public int hashCode() {
         final int prime = 31;
         int result = 1;
         String oid = this.getId();
-        result = prime * result + ((oid== null) ? 0 : oid.hashCode());
+        result = prime * result + ((oid == null) ? 0 : oid.hashCode());
         return result;
     }
 
@@ -163,7 +178,7 @@ public class NicResponse extends BaseResponse {
             return false;
         if (getClass() != obj.getClass())
             return false;
-        NicResponse other = (NicResponse) obj;
+        NicResponse other = (NicResponse)obj;
         String oid = this.getId();
         if (oid == null) {
             if (other.getId() != null)

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/NicSecondaryIpResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/NicSecondaryIpResponse.java b/api/src/org/apache/cloudstack/api/response/NicSecondaryIpResponse.java
index 695468f..39edfac 100644
--- a/api/src/org/apache/cloudstack/api/response/NicSecondaryIpResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/NicSecondaryIpResponse.java
@@ -15,6 +15,7 @@
 // specific language governing permissions and limitations
 // under the License.
 package org.apache.cloudstack.api.response;
+
 import java.util.Date;
 import java.util.List;
 
@@ -27,23 +28,28 @@ import com.cloud.serializer.Param;
 import com.cloud.vm.NicSecondaryIp;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=NicSecondaryIp.class)
+@EntityReference(value = NicSecondaryIp.class)
 @SuppressWarnings("unused")
 public class NicSecondaryIpResponse extends BaseResponse {
 
-    @SerializedName(ApiConstants.ID) @Param(description="the ID of the secondary private IP addr")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the ID of the secondary private IP addr")
     private String id;
 
-    @SerializedName(ApiConstants.IP_ADDRESS) @Param(description="Secondary IP address")
+    @SerializedName(ApiConstants.IP_ADDRESS)
+    @Param(description = "Secondary IP address")
     private String ipAddr;
 
-    @SerializedName(ApiConstants.NIC_ID) @Param(description="the ID of the nic")
+    @SerializedName(ApiConstants.NIC_ID)
+    @Param(description = "the ID of the nic")
     private String nicId;
 
-    @SerializedName(ApiConstants.NETWORK_ID) @Param(description="the ID of the network")
-    private  String nwId;
+    @SerializedName(ApiConstants.NETWORK_ID)
+    @Param(description = "the ID of the network")
+    private String nwId;
 
-    @SerializedName(ApiConstants.VIRTUAL_MACHINE_ID) @Param(description="the ID of the vm")
+    @SerializedName(ApiConstants.VIRTUAL_MACHINE_ID)
+    @Param(description = "the ID of the vm")
     private String vmId;
 
     @Override
@@ -91,5 +97,4 @@ public class NicSecondaryIpResponse extends BaseResponse {
         this.id = id;
     }
 
-
 }


Mime
View raw message