diff options
Diffstat (limited to 'common/src/main/java/org/openecomp/mso/serviceinstancebeans/Request.java')
-rw-r--r-- | common/src/main/java/org/openecomp/mso/serviceinstancebeans/Request.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/src/main/java/org/openecomp/mso/serviceinstancebeans/Request.java b/common/src/main/java/org/openecomp/mso/serviceinstancebeans/Request.java index ef9020d889..0671089d99 100644 --- a/common/src/main/java/org/openecomp/mso/serviceinstancebeans/Request.java +++ b/common/src/main/java/org/openecomp/mso/serviceinstancebeans/Request.java @@ -22,6 +22,7 @@ package org.openecomp.mso.serviceinstancebeans; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; +import org.apache.commons.lang3.builder.ToStringBuilder; //@JsonRootName(value = "request") @JsonInclude(Include.NON_DEFAULT) @@ -79,5 +80,12 @@ public class Request { public void setRequestDetails(RequestDetails requestDetails) { this.requestDetails = requestDetails; } + @Override + public String toString() { + return new ToStringBuilder(this).append("requestId", requestId).append("startTime", startTime) + .append("requestScope", requestScope).append("requestType", requestType) + .append("requestDetails", requestDetails).append("instanceReferences", instanceReferences) + .append("requestStatus", requestStatus).toString(); + } } |