aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/OperationStatus.java
diff options
context:
space:
mode:
authorPrabhu Balan <prabhu.balan1@vodafone.com>2018-09-04 16:08:41 +0530
committerPrabhu201713 <prabhu.balan1@vodafone.com>2018-09-04 18:30:42 +0530
commit2414f56728cc61dd29807f2df2dc9d08af523973 (patch)
tree3646a45ba6f666e6349a1c7da16c6590332b9ee8 /src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/OperationStatus.java
parent6041103fc59c2d2c7461d2844582aee23086758f (diff)
Fix bug reported by SONAR.
Issue-ID: EXTAPI-132 Change-Id: I57ea6dbcb618079a77cdb2c327bba795edd5f358 Signed-off-by: Prabhu Balan <prabhu.balan1@vodafone.com>
Diffstat (limited to 'src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/OperationStatus.java')
-rw-r--r--src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/OperationStatus.java19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/OperationStatus.java b/src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/OperationStatus.java
index 2cd7393..4d00e41 100644
--- a/src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/OperationStatus.java
+++ b/src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/OperationStatus.java
@@ -209,5 +209,20 @@ public class OperationStatus implements Serializable {
return true;
}
-
-}
+ @Override
+ public String toString() {
+ return "OperationStatus{" +
+ "serviceId='" + serviceId + '\'' +
+ ", operationId='" + operationId + '\'' +
+ ", serviceName='" + serviceName + '\'' +
+ ", operation='" + operation + '\'' +
+ ", userId='" + userId + '\'' +
+ ", result='" + result + '\'' +
+ ", operationContent='" + operationContent + '\'' +
+ ", progress='" + progress + '\'' +
+ ", reason='" + reason + '\'' +
+ ", operateAt=" + operateAt +
+ ", finishedAt=" + finishedAt +
+ '}';
+ }
+} \ No newline at end of file