summaryrefslogtreecommitdiffstats
path: root/quantum-model/src/main
diff options
context:
space:
mode:
authorSindhuri.A <arcot.sindhuri@huawei.com>2019-04-17 19:42:53 +0530
committerSindhuri.A <arcot.sindhuri@huawei.com>2019-04-17 19:42:53 +0530
commit77c0aa09fa2742d59b51c774037cb9399c760545 (patch)
treebf29936583fd3c78024c0f39cf2ae1cb1dbf9896 /quantum-model/src/main
parent9cf72ced6cba4ba7326ceaf34887c212a301b0df (diff)
changed constructor order, getter and setter
changed constructor order, getter and setter for ResourcesResource and Router classes Issue-ID: SO-1490 Change-Id: I287bb602e817dbb8b01a446ff5a678c6268b4263 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
Diffstat (limited to 'quantum-model/src/main')
-rw-r--r--quantum-model/src/main/java/com/woorea/openstack/quantum/model/Router.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Router.java b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Router.java
index 722bb0d..d180a12 100644
--- a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Router.java
+++ b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Router.java
@@ -36,7 +36,7 @@ public class Router implements Serializable {
private String name;
@JsonProperty("admin_state_up")
- private String admin_state_up;
+ private String adminStateUp;
@JsonProperty("tenant_id")
private String tenantId;
@@ -59,11 +59,11 @@ public class Router implements Serializable {
public void setRoutes(List<HostRoute> routes) {
this.routes = routes;
}
- public String getAdmin_state_up() {
- return admin_state_up;
+ public String getAdminStateUp() {
+ return adminStateUp;
}
- public void setAdmin_state_up(String admin_state_up) {
- this.admin_state_up = admin_state_up;
+ public void setAdminStateUp(String adminStateUp) {
+ this.adminStateUp = adminStateUp;
}
public String getStatus() {
return status;