Realize the query EMS list API.
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / entity / aai / EsrVnfm.java
index d6b85e6..73fbc8c 100644 (file)
  */
 package org.onap.aai.esr.entity.aai;
 
-public class EsrVnfm {
+import java.io.Serializable;
+
+import com.google.gson.annotations.SerializedName;
+
+public class EsrVnfm implements Serializable {
+
+  public static final long serialVersionUID = 1L;
   
+  @SerializedName("vnfm-id")
   private String vnfmId;
   
+  @SerializedName("vim-id")
   private String vimId;
   
+  @SerializedName("certificate-id")
   private String certificateUrl;
   
-  private EsrSystemInfoList esrSystemInfoList;
+  @SerializedName("resource-version")
+  private String resourceVersion;
 
   public String getVnfmId() {
     return vnfmId;
@@ -49,12 +59,15 @@ public class EsrVnfm {
     this.certificateUrl = certificateUrl;
   }
 
-  public EsrSystemInfoList getEsrSystemInfoList() {
-    return esrSystemInfoList;
+  public String getResourceVersion() {
+    return resourceVersion;
   }
 
-  public void setEsrSystemInfoList(EsrSystemInfoList esrSystemInfoList) {
-    this.esrSystemInfoList = esrSystemInfoList;
+  public void setResourceVersion(String resourceVersion) {
+    this.resourceVersion = resourceVersion;
   }
 
+  public static long getSerialversionuid() {
+    return serialVersionUID;
+  }
 }