--- /dev/null
+/*\r
+ * ============LICENSE_START========================================================================\r
+ * ONAP : tr-069-adapter\r
+ * =================================================================================================\r
+ * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
+ * =================================================================================================\r
+ * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,\r
+ * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You\r
+ * may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\r
+ * either express or implied. See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ===============LICENSE_END=======================================================================\r
+ */\r
+\r
+package org.commscope.tr069adapter.acs.cpe.rpc;\r
+\r
+import javax.xml.soap.SOAPBodyElement;\r
+import javax.xml.soap.SOAPException;\r
+import javax.xml.soap.SOAPFactory;\r
+\r
+import org.commscope.tr069adapter.acs.cpe.TR069RPC;\r
+\r
+public class UploadResponse extends TR069RPC {\r
+\r
+ private static final long serialVersionUID = -4885490848398687980L;\r
+\r
+ /** Creates a new instance of GetParameterValues */\r
+ public UploadResponse() {\r
+ name = "UploadResponse";\r
+ }\r
+\r
+ protected void createBody(SOAPBodyElement body, SOAPFactory spf) throws SOAPException {\r
+ logger.isDebugEnabled();\r
+ }\r
+\r
+ protected void parseBody(SOAPBodyElement body, SOAPFactory spf) throws SOAPException {\r
+ startTime = getRequestElement(spf, body, "StartTime");\r
+ completeTime = getRequestElement(spf, body, "CompleteTime");\r
+ status = Integer.parseInt(getRequestElement(spf, body, "Status"));\r
+ }\r
+\r
+ @Override\r
+ public String toString() {\r
+ return name + ": StartTime=" + startTime + " CompleteTIme=" + completeTime + " Status="\r
+ + status;\r
+ }\r
+\r
+ private String startTime;\r
+ private String completeTime;\r
+ private int status;\r
+}\r