X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fesr-server.git;a=blobdiff_plain;f=esr-mgr%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Faai%2Fesr%2Fentity%2Faai%2FEsrEms.java;h=1a347e233a264a4cd9c7f828b585b84f78993983;hp=3bff6a0eb243c8c9fdf165681f7cb64b0b43b98b;hb=ed26992f976741031237ead3a5dc0565d4318b05;hpb=0f4c91c98e9fe5e403c110a85375778b7fad04fb diff --git a/esr-mgr/src/main/java/org/onap/aai/esr/entity/aai/EsrEms.java b/esr-mgr/src/main/java/org/onap/aai/esr/entity/aai/EsrEms.java index 3bff6a0..1a347e2 100644 --- a/esr-mgr/src/main/java/org/onap/aai/esr/entity/aai/EsrEms.java +++ b/esr-mgr/src/main/java/org/onap/aai/esr/entity/aai/EsrEms.java @@ -1,5 +1,5 @@ /** - * Copyright 2016-2017 ZTE Corporation. + * Copyright 2017 ZTE Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,56 +15,32 @@ */ package org.onap.aai.esr.entity.aai; +import java.io.Serializable; +import com.google.gson.annotations.SerializedName; -public class EsrEms { +public class EsrEms implements Serializable { - private String emsId; - - private Boolean passive; - - private String remotePath; - - private String resouceVersion; - - private EsrSystemInfoList esrSystemInfoList; + public static final long serialVersionUID = 1L; - public String getEmsId() { - return emsId; - } + @SerializedName("ems-id") + private String emsId; - public void setEmsId(String emsId) { - this.emsId = emsId; - } + @SerializedName("resource-version") + private String resourceVersion; - public Boolean getPassive() { - return passive; - } + public String getEmsId() { + return emsId; + } - public void setPassive(Boolean passive) { - this.passive = passive; - } + public void setEmsId(String emsId) { + this.emsId = emsId; + } - public String getRemotePath() { - return remotePath; - } + public String getResourceVersion() { + return resourceVersion; + } - public void setRemotePath(String remotePath) { - this.remotePath = remotePath; - } - - public EsrSystemInfoList getEsrSystemInfoList() { - return esrSystemInfoList; - } - - public void setEsrSystemInfoList(EsrSystemInfoList esrSystemInfoList) { - this.esrSystemInfoList = esrSystemInfoList; - } - - public String getResouceVersion() { - return resouceVersion; - } - - public void setResouceVersion(String resouceVersion) { - this.resouceVersion = resouceVersion; - } + public void setResourceVersion(String resourceVersion) { + this.resourceVersion = resourceVersion; + } }