Code Review
/
aai
/
esr-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Realize the VNFM register API
[aai/esr-server.git]
/
esr-mgr
/
src
/
main
/
java
/
org
/
onap
/
aai
/
esr
/
entity
/
aai
/
EsrEmsDetail.java
diff --git
a/esr-mgr/src/main/java/org/onap/aai/esr/entity/aai/EsrEmsDetail.java
b/esr-mgr/src/main/java/org/onap/aai/esr/entity/aai/EsrEmsDetail.java
index
c43572a
..
139c0e2
100644
(file)
--- a/
esr-mgr/src/main/java/org/onap/aai/esr/entity/aai/EsrEmsDetail.java
+++ b/
esr-mgr/src/main/java/org/onap/aai/esr/entity/aai/EsrEmsDetail.java
@@
-15,13
+15,21
@@
*/
package org.onap.aai.esr.entity.aai;
*/
package org.onap.aai.esr.entity.aai;
+import java.io.Serializable;
-public class EsrEmsDetail {
+import com.google.gson.annotations.SerializedName;
+public class EsrEmsDetail implements Serializable {
+
+ public static final long serialVersionUID = 1L;
+
+ @SerializedName("ems-id")
private String emsId;
private String emsId;
- private String resouceVersion;
+ @SerializedName("resource-version")
+ private String resourceVersion;
+ @SerializedName("esr-system-info-list")
private EsrSystemInfoList esrSystemInfoList;
public String getEmsId() {
private EsrSystemInfoList esrSystemInfoList;
public String getEmsId() {
@@
-40,11
+48,11
@@
public class EsrEmsDetail {
this.esrSystemInfoList = esrSystemInfoList;
}
this.esrSystemInfoList = esrSystemInfoList;
}
- public String getResouceVersion() {
- return resouceVersion;
+ public String getResou
r
ceVersion() {
+ return resou
r
ceVersion;
}
}
- public void setResou
ceVersion(String resou
ceVersion) {
- this.resou
ceVersion = resou
ceVersion;
+ public void setResou
rceVersion(String resour
ceVersion) {
+ this.resou
rceVersion = resour
ceVersion;
}
}
}
}