diff options
author | seshukm <seshu.kumar.m@huawei.com> | 2018-07-25 19:07:06 +0800 |
---|---|---|
committer | seshukm <seshu.kumar.m@huawei.com> | 2018-07-25 19:07:06 +0800 |
commit | 612e67046968c45e942fb5affcabd38d5dcb3ea5 (patch) | |
tree | 560a14dc4b98aab21fc3f0a61e38e9910afbdaca /nova-model/src/main/java/com/woorea/openstack/nova/model/FloatingIp.java | |
parent | 0d4bde1f33803d48c40345ae7b3dfe626752becb (diff) |
basic code issues of nova model
Issue-ID: SO-729
Change-Id: Id70f17ad47b78c968fee3b88feea8a1335880c8e
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'nova-model/src/main/java/com/woorea/openstack/nova/model/FloatingIp.java')
-rw-r--r-- | nova-model/src/main/java/com/woorea/openstack/nova/model/FloatingIp.java | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/FloatingIp.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/FloatingIp.java index f92ec2a..b38e78e 100644 --- a/nova-model/src/main/java/com/woorea/openstack/nova/model/FloatingIp.java +++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/FloatingIp.java @@ -24,60 +24,60 @@ import org.codehaus.jackson.map.annotate.JsonRootName; @JsonRootName("floating_ip") public class FloatingIp implements Serializable { - private String id; - - private String pool; - - private String ip; - - @JsonProperty("fixed_ip") - private String fixedIp; - - @JsonProperty("instance_id") - private String instanceId; + private String id; + + private String pool; + + private String ip; + + @JsonProperty("fixed_ip") + private String fixedIp; + + @JsonProperty("instance_id") + private String instanceId; - /** - * @return the id - */ - public String getId() { - return id; - } + /** + * @return the id + */ + public String getId() { + return id; + } - /** - * @return the pool - */ - public String getPool() { - return pool; - } + /** + * @return the pool + */ + public String getPool() { + return pool; + } - /** - * @return the ip - */ - public String getIp() { - return ip; - } + /** + * @return the ip + */ + public String getIp() { + return ip; + } - /** - * @return the fixedIp - */ - public String getFixedIp() { - return fixedIp; - } + /** + * @return the fixedIp + */ + public String getFixedIp() { + return fixedIp; + } - /** - * @return the instanceId - */ - public String getInstanceId() { - return instanceId; - } + /** + * @return the instanceId + */ + public String getInstanceId() { + return instanceId; + } - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "FloatingIp [id=" + id + ", pool=" + pool + ", ip=" + ip - + ", fixedIp=" + fixedIp + ", instanceId=" + instanceId + "]"; - } - + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return "FloatingIp [id=" + id + ", pool=" + pool + ", ip=" + ip + + ", fixedIp=" + fixedIp + ", instanceId=" + instanceId + "]"; + } + } |