Realize query thirdparty sdnc list API.
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / entity / aai / EsrThirdpartySdnc.java
index ecb8f10..89e1ffd 100644 (file)
  */
 package org.onap.aai.esr.entity.aai;
 
-public class EsrThirdpartySdnc {
+import java.io.Serializable;
 
+import com.google.gson.annotations.SerializedName;
+
+public class EsrThirdpartySdnc implements Serializable {
+public static final long serialVersionUID = 1L;
+  
+  @SerializedName("thirdparty-sdnc-id")
   private String thirdpartySdncId;
   
+  @SerializedName("location")
   private String location;
-  
+
+  @SerializedName("product-name")
   private String productName;
   
-  private String resouceVersion;
-  
-  private EsrSystemInfoList esrSystemInfoList;
+  @SerializedName("resource-version")
+  private String resourceVersion;
 
   public String getThirdpartySdncId() {
     return thirdpartySdncId;
@@ -51,19 +58,11 @@ public class EsrThirdpartySdnc {
     this.productName = productName;
   }
 
-  public EsrSystemInfoList getEsrSystemInfoList() {
-    return esrSystemInfoList;
-  }
-
-  public void setEsrSystemInfoList(EsrSystemInfoList esrSystemInfoList) {
-    this.esrSystemInfoList = esrSystemInfoList;
-  }
-
-  public String getResouceVersion() {
-    return resouceVersion;
+  public String getResourceVersion() {
+    return resourceVersion;
   }
 
-  public void setResouceVersion(String resouceVersion) {
-    this.resouceVersion = resouceVersion;
+  public void setResourceVersion(String resourceVersion) {
+    this.resourceVersion = resourceVersion;
   }
 }