Initial source code
[oam/tr069-adapter.git] / acs / common / src / main / java / org / commscope / tr069adapter / acs / common / DeviceRPCResponse.java
diff --git a/acs/common/src/main/java/org/commscope/tr069adapter/acs/common/DeviceRPCResponse.java b/acs/common/src/main/java/org/commscope/tr069adapter/acs/common/DeviceRPCResponse.java
new file mode 100644 (file)
index 0000000..33e5591
--- /dev/null
@@ -0,0 +1,84 @@
+/*\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.common;\r
+\r
+import java.io.Serializable;\r
+\r
+public class DeviceRPCResponse implements Serializable {\r
+\r
+  private static final long serialVersionUID = -6581290052228229775L;\r
+\r
+  private DeviceDetails deviceDetails;\r
+\r
+  private Long operationId;\r
+\r
+  private OperationResponse operationResponse;\r
+\r
+  private String faultKey;\r
+\r
+  private String faultString;\r
+\r
+  public DeviceDetails getDeviceDetails() {\r
+    return deviceDetails;\r
+  }\r
+\r
+  public void setDeviceDetails(DeviceDetails deviceDetails) {\r
+    this.deviceDetails = deviceDetails;\r
+  }\r
+\r
+  public Long getOperationId() {\r
+    return operationId;\r
+  }\r
+\r
+  public void setOperationId(Long operationId) {\r
+    this.operationId = operationId;\r
+  }\r
+\r
+  public OperationResponse getOperationResponse() {\r
+    return operationResponse;\r
+  }\r
+\r
+  public void setOperationResponse(OperationResponse operationResponse) {\r
+    this.operationResponse = operationResponse;\r
+  }\r
+\r
+  public String getFaultKey() {\r
+    return faultKey;\r
+  }\r
+\r
+  public void setFaultKey(String faultKey) {\r
+    this.faultKey = faultKey;\r
+  }\r
+\r
+  public String getFaultString() {\r
+    return faultString;\r
+  }\r
+\r
+  public void setFaultString(String faultString) {\r
+    this.faultString = faultString;\r
+  }\r
+\r
+  @Override\r
+  public String toString() {\r
+    return "NBIOperationResult [deviceDetails=" + deviceDetails + ", operationId=" + operationId\r
+        + ", operationResponse=" + operationResponse + ", faultKey=" + faultKey + ", faultString="\r
+        + faultString + "]";\r
+  }\r
+\r
+}\r