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