Fix the java code style issue.
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / entity / aai / EsrSystemInfoList.java
index 5adef8e..452cf73 100644 (file)
  */
 package org.onap.aai.esr.entity.aai;
 
-public class EsrSystemInfoList {
+import java.io.Serializable;
+import java.util.List;
+import com.google.gson.annotations.SerializedName;
 
-  private EsrSystemInfo esrSystemInfo;
+public class EsrSystemInfoList implements Serializable {
 
-  public EsrSystemInfo getEsrSystemInfo() {
-    return esrSystemInfo;
-  }
+    public static final long serialVersionUID = 1L;
 
-  public void setEsrSystemInfo(EsrSystemInfo esrSystemInfo) {
-    this.esrSystemInfo = esrSystemInfo;
-  }
+    @SerializedName("esr-system-info")
+    private List<EsrSystemInfo> esrSystemInfo;
+
+    public List<EsrSystemInfo> getEsrSystemInfo() {
+        return esrSystemInfo;
+    }
+
+    public void setEsrSystemInfo(List<EsrSystemInfo> esrSystemInfo) {
+        this.esrSystemInfo = esrSystemInfo;
+    }
 }