summaryrefslogtreecommitdiffstats
path: root/nova-model/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'nova-model/src/main/java')
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Server.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Server.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Server.java
index 0226218..90b2fe2 100644
--- a/nova-model/src/main/java/com/woorea/openstack/nova/model/Server.java
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Server.java
@@ -35,7 +35,7 @@ public class Server implements Serializable {
@JsonProperty("OS-EXT-IPS-MAC:mac_addr")
private String macAddr;
- private String version;
+ private int version;
private String addr;
@@ -52,7 +52,7 @@ public class Server implements Serializable {
/**
* @return the version
*/
- public String getVersion() {
+ public int getVersion() {
return version;
}
@@ -74,7 +74,7 @@ public class Server implements Serializable {
/**
* @param version the version to set
*/
- public void setVersion(String version) {
+ public void setVersion(int version) {
this.version = version;
}