package com.systemincloud.sdk.java.msg;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class MachineInfo {

    @XmlElement private String machineId;
    @XmlElement private String provider;
    @XmlElement private String region;
    @XmlElement private String machineType;
    @XmlElement private String publicDns;
    @XmlElement private String status;
    @XmlElement private int    averageCpu;
    @XmlElement private int    maxCpu;
    @XmlElement private int    averageRam;
    @XmlElement private int    maxRam;
    
    public MachineInfo() { }
    
    public String getMachineId()                     { return machineId; }
    public void   setMachineId(String machineId)     { this.machineId = machineId; }
    public String getProvider()                      { return provider; }
    public void   setProvider(String provider)       { this.provider = provider; }
    public String getRegion()                        { return region; }
    public void   setRegion(String region)           {   this.region = region; }
    public String getMachineType()                   { return machineType; }
    public void   setMachineType(String machineType) {   this.machineType = machineType; }
    public String getPublicDns()                     { return publicDns; }  
    public void   setPublicDns(String publicDns)     {  this.publicDns = publicDns; }
    public String getStatus()                        { return status; } 
    public void   setStatus(String status)           {   this.status = status; }
    public int    getAverageCpu()                    { return averageCpu; } 
    public void   setAverageCpu(int averageCpu)      {   this.averageCpu = averageCpu; }
    public int    getMaxCpu()                        { return maxCpu; } 
    public void   setMaxCpu(int maxCpu)              {   this.maxCpu = maxCpu; }
    public int    getAverageRam()                    { return averageRam; } 
    public void   setAverageRam(int averageRam)      {   this.averageRam = averageRam; }
    public int    getMaxRam()                        { return maxRam; } 
    public void   setMaxRam(int maxRam)              {   this.maxRam = maxRam; }
}

@@ -420,16 +420,63 @@
 status;%0A
+    @XmlElement private String modelerVersion;%0A
     @Xml
@@ -506,24 +506,24 @@
 averageCpu;%0A
-
     @XmlElem
@@ -715,32 +715,38 @@
                 
+      
 %7B return machine
@@ -800,24 +800,30 @@
 hineId)     
+    
+  
 %7B this.machi
@@ -873,16 +873,22 @@
 ovider()
+      
         
@@ -971,24 +971,30 @@
 ider)       
+  
+    
 %7B this.provi
@@ -1040,16 +1040,22 @@
 Region()
+      
         
@@ -1134,32 +1134,38 @@
 gion)           
+      
 %7B   this.region 
@@ -1221,32 +1221,38 @@
                 
+   
+   
 %7B return machine
@@ -1311,16 +1311,22 @@
 ineType)
+      
  %7B   thi
@@ -1401,32 +1401,38 @@
                 
+ 
+     
 %7B return publicD
@@ -1487,16 +1487,22 @@
 blicDns)
+      
      %7B  
@@ -1560,16 +1560,22 @@
 Status()
+      
         
@@ -1655,32 +1655,38 @@
 atus)           
+   
+   
 %7B   this.status 
@@ -1693,24 +1693,214 @@
 = status; %7D%0A
+    public String getModelerVersion()                      %7B return modelerVersion; %7D %0A    public void   setModelerVersion(String modelerVersion) %7B   this.modelerVersion = modelerVersion; %7D%0A
     public i
@@ -1916,24 +1916,30 @@
 AverageCpu()
+      
             
@@ -2019,24 +2019,30 @@
 geCpu)      
+    
+  
 %7B   this.ave
@@ -2110,32 +2110,38 @@
                 
+      
 %7B return maxCpu;
@@ -2189,32 +2189,38 @@
 u)              
+  
+    
 %7B   this.maxCpu 
@@ -2276,32 +2276,38 @@
                 
+     
+ 
 %7B return average
@@ -2357,24 +2357,30 @@
  averageRam)
+      
       %7B   th
@@ -2454,32 +2454,38 @@
                 
+   
+   
 %7B return maxRam;
@@ -2523,24 +2523,30 @@
 (int maxRam)
+      
             

add ModelerVersion to MachineInfo