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 machine;
    @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 getMachine()                   { return machine; }
    public void   setMachine(String machine)     {   this.machine = machine; }
    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; }
}

@@ -333,18 +333,22 @@
  machine
+Type
 ;%0A
-
     @Xml
@@ -664,32 +664,36 @@
                 
+    
 %7B return machine
@@ -746,16 +746,20 @@
 chineId)
+    
  %7B this.
@@ -814,16 +814,20 @@
 ovider()
+    
         
@@ -903,16 +903,20 @@
 rovider)
+    
    %7B thi
@@ -981,32 +981,36 @@
                 
+   
+ 
 %7B return region;
@@ -1053,32 +1053,36 @@
 g region)       
+    
 %7B   this.region 
@@ -1121,16 +1121,20 @@
 tMachine
+Type
 ()      
@@ -1154,32 +1154,36 @@
 %7B return machine
+Type
 ; %7D%0A    public v
@@ -1198,16 +1198,20 @@
 tMachine
+Type
 (String 
@@ -1217,21 +1217,21 @@
  machine
-)    
+Type)
  %7B   thi
@@ -1239,16 +1239,20 @@
 .machine
+Type
  = machi
@@ -1253,16 +1253,20 @@
  machine
+Type
 ; %7D%0A    
@@ -1293,16 +1293,20 @@
 licDns()
+    
         
@@ -1386,16 +1386,20 @@
 blicDns)
+    
  %7B  this
@@ -1465,32 +1465,36 @@
                 
+   
+ 
 %7B return status;
@@ -1542,24 +1542,28 @@
 atus)       
+    
 %7B   this.sta
@@ -1619,32 +1619,36 @@
                 
+ 
+   
 %7B return average
@@ -1702,16 +1702,20 @@
 rageCpu)
+    
   %7B   th
@@ -1785,32 +1785,36 @@
                 
+    
 %7B return maxCpu;
@@ -1858,32 +1858,36 @@
 axCpu)          
+  
+  
 %7B   this.maxCpu 
@@ -1927,24 +1927,28 @@
 AverageRam()
+    
             
@@ -2022,16 +2022,20 @@
 rageRam)
+    
   %7B   th
@@ -2105,32 +2105,36 @@
                 
+    
 %7B return maxRam;
@@ -2172,24 +2172,28 @@
 (int maxRam)
+    
           %7B 

change to machineType