summaryrefslogtreecommitdiffstats
path: root/quantum-model/src/main/java
diff options
context:
space:
mode:
authorSindhuri.A <arcot.sindhuri@huawei.com>2019-04-17 19:59:18 +0530
committerSindhuri.A <arcot.sindhuri@huawei.com>2019-04-17 19:59:18 +0530
commitbcfd43c790e9251a7717ab51636c158aac729c12 (patch)
treeec8c9ab0555752cbda302a9cdcc074f746f9c3df /quantum-model/src/main/java
parent9cf72ced6cba4ba7326ceaf34887c212a301b0df (diff)
changed getter and setter for RouterForCreate
changed constructor order, getter and setter for RouterForCreate class Issue-ID: SO-1490 Change-Id: I388da872dbf56dbc06fd90cf9867e19b01a78b3b Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
Diffstat (limited to 'quantum-model/src/main/java')
-rw-r--r--quantum-model/src/main/java/com/woorea/openstack/quantum/model/RouterForCreate.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/RouterForCreate.java b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/RouterForCreate.java
index c524ef5..6f5ddae 100644
--- a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/RouterForCreate.java
+++ b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/RouterForCreate.java
@@ -32,7 +32,7 @@ public class RouterForCreate implements Serializable {
private List<HostRoute> routes;
@JsonProperty("admin_state_up")
- private String admin_state_up;
+ private String adminStateUp;
@JsonProperty("status")
private String status;
@@ -58,11 +58,12 @@ public class RouterForCreate 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;